You are here

MDB.ini for the FilmWeb.pl portal

22 posts / 0 new
Last post
azman
Offline
Donator
Joined: 3 years
Last seen: 4 weeks
MDB.ini for the FilmWeb.pl portal

Hi guys,

Could I ask you to create a mdb.ini file for the Filmweb.pl portal.
https://www.filmweb.pl/

It contains a large database of movies and series.
It would be really nice to be able to download data from it to the EPG.

@mat8861, maybe you can find some spare time to see if it's even doable.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 15 hours

had a quick look and its doable i think.
started on the series mdb ini as its the more complicated one.
will post when i have something that works.

azman
Offline
Donator
Joined: 3 years
Last seen: 4 weeks

Thank you for your interest in the topic.

I'm waiting for the first beta version.

Regards

azman
Offline
Donator
Joined: 3 years
Last seen: 4 weeks

del - duplicate

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 15 hours

give this a try for series shows
i tested it on axn white and got good results.

[ Debug ] -------------------------------
[ Debug ] MDB Postprocessor result
[ Debug ] -------------------------------
[ Debug ] Mdb data found for 0 out of 0 Movies-candidates
[ Debug ] Mdb data found for 22 out of 22 Series-candidates
[ Debug ] In 292.87 seconds = 13.31 seconds/matched-show

will get started on the movie file now.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 15 hours

movies

azman
Offline
Donator
Joined: 3 years
Last seen: 4 weeks

Thank you very much @Blackbear199

I'll test both tonight and post the results.

azman
Offline
Donator
Joined: 3 years
Last seen: 4 weeks

Hi @Blackbear199

Everything works fine.

I only have a problem with matching series if the guide shows the episode number in the form of "E365"
I struggled a few evenings with "episodenum_pattern" matching but somehow I didn't get anything off.
It also doesn't match some series for me, even though they are in the FilmWeb database.

Could you take a look at my mdb_config and tell me what I'm doing wrong there.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 15 hours

just a episode number is not enough to find a match.
you need the season also.

azman
Offline
Donator
Joined: 3 years
Last seen: 4 weeks

In that case, the Bones series should be matched, and unfortunately it is not.
After downloading the data from the tv.wp.pl website, I have the season and episode number.
S10E5
And unfortunately, I do not want to match what is on the FW website
https://www.filmweb.pl/serial/Ko%C5%9Bci-2005-233995/season/10

I have the same situation with The Mentalist series and a few others.

I'm creating an EPG for over 200 channels for Enigma2 receivers and I have a lot of inquiries why some data are missing for these series and for others they are.

I will be grateful for clear hints regarding MDB configuration.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 15 hours

mdb is buggy on any given day.
your using a revision 8 in from 2019 when there a revision 10 one from 2021
i dont know why there's 2 in the first place.

data with 2 titles,title and titleoriginal is causing havic with mdb
mdb is ignoring the polish title and using the english titleoriginal=no match..
i have my own files and disabled the titleoriginal..

[ Info ] Serie: 1/54 .. Kosci
[ Info ] Episode Name : Zwłoki na konferencji
[ Info ] Episode Number: S10 E5
[ Info ] "Kości" + "Zwłoki na konferencji" + (2014) + "Chad Lowe" .. found Show_id , Ko%C5%9Bci-2005-233995, Worek+ko%C5%9Bci-2011-184950, Lincoln+Rhyme+i+kolekcjoner+ko%C5%9Bci-2020-830998, Z+krwi+i+ko%C5%9Bci-2020-832733, Z+krwi+i+ko%C5%9Bci-2002-148487?
[ Debug ] Irregular showid "Ko%C5%9Bci-2005-233995" skipped
[ Debug ] Irregular showid "Worek+ko%C5%9Bci-2011-184950" skipped
[ Debug ] Irregular showid "Lincoln+Rhyme+i+kolekcjoner+ko%C5%9Bci-2020-830998" skipped
[ Debug ] Irregular showid "Z+krwi+i+ko%C5%9Bci-2020-832733" skipped
[ Debug ] Irregular showid "Z+krwi+i+ko%C5%9Bci-2002-148487" skipped
[ Info ] Matching in filmweb.pl, showid = Ko%C5%9Bci-2005-233995

i really dont even know why your ruuning mdb,thge data already has pretty much everthing.
only thing i see your going to gain is reviews,ect from what i see.

not sure what to suggest other than to ask to have the ini's edited and disable the titleoriginal,i cant do anything as files are encrypted.
at the very least try the newer revision 10

azman
Offline
Donator
Joined: 3 years
Last seen: 4 weeks

Hi @Blackbear199

Another evening of fighting with matches to the FW base.

Thanks for the advice earlier, you were right with the titles.
After removing the titleoriginal, there are many more matches.

Unfortunately, the bones continue to be thrown at my feet. :)
I've tried all sorts of different settings including episode number patterns and I can't get matches to Bones 10 and a few other shows but luckily they're becoming fewer and fewer. It's weird because Bones 8 matches.
I'm out of ideas and asking for some advice.

There is really no way to match the FW base of serials which as:
E684
E2/18
There are a lot of Polish series with this numbering of episodes and they are described in the same way in the FW database with the same numbering.

Why do I use tv.wp.pl Revision 8?
I downloaded this one from GitHub SilentButeo2, it is the only editable version for tv.wp.pl.
If you can share version 10, I would be grateful to you.

There is also tv.wp.pl.E but as we know, I won't change anything there and it has subtitleoriginal in addition to titleoriginal, so mdb doesn't work at all.

Some corrections in the tv.wp.pl ini regarding were made by my friend @doglover because your version posted on GitHub selectively did not fetch descriptions for random series, movies and other events.

Creating EPG for Enigma2 receivers is a bit of a hassle because enigma2 only reads title, sub-title, desc and skips all the rest of the data, just doesn't load it.
All the data I want to display must be written to desc
You can see it in the attached configuration file.
I also attach a screenshot of what it looks like on the E2 receiver.

I will be grateful for any suggestions and advice and for your free time.

Regards

janKO
Offline
Donator
Joined: 10 years
Last seen: 6 hours

@azman why you want IMDb rating for each episode...its much better to have rating for complete serie (all seasons and episodes)
Why? For me its much better value and relevance to have 30000 and more votes for complete serie and not only 300-1000 for each episode...

azman
Offline
Donator
Joined: 3 years
Last seen: 4 weeks

You're actually right, I hadn't thought of that.
This seems more meaningful.
It would be best to have a choice and disable the appropriate line in the ini file.

With my programming skills it might be hard to change this in the filmweb ini but I can always try.
As a last resort, I will ask one of the developers to make such changes.

In general, my plan is to get ratings for movies and series from FW and IMDB.
In one post-process, it probably can't be done, but if I start two, it can be something. One will add ratings from FW and another will add IMDB to it

Thanks for the suggestion.

It would also be useful to have @Blackbear199 say what he thinks about it and whether it is feasible.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 15 hours

FW and IMDB u mean the source.xml and mdb?
if so then yes u can have both.
in mdb config

<starrating system="xxxx">'starrating'</starrating>
<starrating system="IMDB">'mdb_starrating'</starrating>

replace xxx with whatever rating sysem you want to use for the source xml.

azman
Offline
Donator
Joined: 3 years
Last seen: 4 weeks

I came up with this while reading the documentation and it was easy to achieve as well
<star-rating system="mixed">WP 'starrating'\t\tFilmWeb 'mdb-starrating'</star-rating>

But I made my life difficult and download events without ratings because the ratings in the tv.wp.pl guide are not very reliable and differ from what is in the FW database.

So far I've come up with it this way:
1. I download events from the WP website and save them to guide.xml
2. I run the MDB process that matches my events to the IMDB database and saves with added ratings to guide_IMDB.xml

<!-- Result -->
<star-rating>'mdb-starrating'</star-rating>

3. The next step is to run another MDB process and match the events to the FW database and obtain ratings for them.

<!-- Result -->
<title>'title'{ - 'subtitle(, )'}</title>
<desc>{[ 'category(, )' ] }{('episode(, )') }{'country(, )' }{'productiondate(, )' }{('rating(, )')}{\nFilmWeb: 'mdb-starrating(, )'}{ IMDB: 'starrating(, )'}{\n\n'description'}{\n\nReżyseria: 'director(, )'}{\nWystępują: 'actor(, )[max_elements=5]'}</desc>
<sub-title />
<credits />
<date />
<category />
<country />
<episode-num />
<rating />
<icon />
<star-rating />
<star-rating system="imdb" />

In this step, I also rewrite the data I care about to <desc> and delete all the data that Enigma2 will not display anyway.
And finally I get a satisfactory result.

<programme start="20230214220000 +0100" stop="20230215005000 +0100" channel="Fox.pl">
<title lang="pl">Cast Away: Poza światem</title>
<desc lang="pl">[ Dramat Przygodowy ] USA 2000 (12+)
FilmWeb: 7.5/10 IMDB: 7.8/10

Pochłonięty robieniem kariery Chuck Noland ...

Reżyseria: Robert Zemeckis
Występują: Chuck Noland - Tom Hanks, Kelly Frears - Helen Hunt, Stan - Nick Searcy, Jerry Lovett - Chris Noth, Ramon - Paul Sanchez</desc>
</programme>

I've only been creating an EPG for a short time.
If there is another way to achieve this or you have any other thoughts, I'm open to suggestions.

I'm still struggling with these matches of series to the FW base.
It's getting better step by step :)

janKO
Offline
Donator
Joined: 10 years
Last seen: 6 hours

It be nice if we have all this ratings from movies and series from this site:
https://mdblist.com/tv/
https://mdblist.com/

And maybe with only one ini for movies and series (rating for complete all episodes and not for each episode)...

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 15 hours

try these.
u cannot combine movies and series into 1 because of how mdb works.
on the site {xx} line it specifies if the ini is for movie or series matching.
when you view a show on the site there is sometimes 2 ratings.
a bigger green one,this is a percentage of how much the show you searched for matches.
a smaller yellow one kinda under it,this is the actual average starrating for the show based on the list from different sites.
alot of times this isnt there even though there is a imdb,trak tv,ect rating listed.
so what i did is not use the average rating at all(even when its present),i get all the individual rating and calculate the average.
this should return many more starrating values for shows.

Attachments: 
azman
Offline
Donator
Joined: 3 years
Last seen: 4 weeks

Hi @Blackbear199

After updating WG+ to V5.1.5.0, I have a problem with filmweb.pl_.filmweb_series.ini

[ Info ] Serie: 1/70 .. CSI: Kryminalne zagadki Miami
[ Info ] Episode Name : Ciezkie zabawy
[ Info ] Episode Number: S1E18
[ Info ] "CSI: Kryminalne zagadki Miami" + "Ciężkie zabawy" + (2003) + "David Grossman" .. found Show_id , CSI%3A+Kryminalne+zagadki+Miami-2002-108964?
[ Debug ] Irregular showid "CSI%3A+Kryminalne+zagadki+Miami-2002-108964" skipped
[Critical]
The given key '3' was not present in the dictionary.
[Critical]
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at  .―. (Dictionary`2, String, Boolean)
at  .–. . ( , XmlNode, String)
at  .–. ()
at  .–..ctor(String[])
at  .—. (String[])
[Critical] Unhandled Exception
[Critical] Execution stopped

I know that in 5.1.5.0 there are a lot of changes in the MDB, but maybe this error can be fixed somehow while waiting for the next beta version.
In version V5.0.1.1 it works without any problems.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 15 hours

Update to v5.2
5.1.5 issue is fixed

azman
Offline
Donator
Joined: 3 years
Last seen: 4 weeks

Hi @Blackbear199

I updated WG+ to version 5.2.0.0

Unfortunately, MDB postprocess for filmweb.pl gives me an error at the very beginning.

Number of Shows inspected : 47760
[ Info ] Candidates found: 2757 movie / 5808 serie / 324 both
[ Info ]
[ Debug ] found: C:\Users\azman\EPG\WG++ BASIC\MDB_FW\siteini.user\MDB postprocessor\filmweb.pl_.filmweb_series.ini -- Revision 00
[ Info ] Serie: 1/5808 .. Chicago P.D 11
[ Info ] Episode Number: S11E10
[Critical]
Object reference not set to an instance of an object.
[Critical]
at  .–. . (XmlNode, Boolean, Boolean, Boolean)
at  .–. . (XmlNodeList)
at  .–. . (XmlDocument, String, String)
at  .–. ()
at  .–..ctor(String[])
at  .—. (String[])
[Critical] Unhandled Exception
[Critical] Execution stopped

In version V5.0.1.1, postprocess works without any problems on the same ini files.

Could you check and possibly fix it.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 15 hours

zip in a file..

mdb config
wg config
wg log
mdb ini's
source guide.xml

send it to jan via email(contact tab at top forums).
only he can debug it as he has the source code.

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl