You are here

Enrich program code in xml with content type

5 posts / 0 new
Last post
egrimisu
Offline
Donator
Joined: 6 years
Last seen: 1 year
Enrich program code in xml with content type

Hi,

I'm grabbing from cinemagia.ro the epg for Disney Junior channel. The information does not specify if the program is a tv show or a movie. Since all (almoust) all programs are thshows is there a way to enrich the progrmms with an aditionl information that can define the program as a tv show. Sample code below

Thanks

 <programme start="20180118105000 +0200" stop="20180118111500 +0200" channel="Disney Junior">
    <title lang="ro">Garda Felină</title>
    <desc lang="ro">Kion, fiul lui Simba, isi conduce prietenii care fac parte din Garda Leilor pentru a proteja Pride Lands(n)</desc>
  </programme>

egrimisu
Offline
Donator
Joined: 6 years
Last seen: 1 year

Thannks Blackbeard for you quick answer.

I'm still discovery this great app. I'm still not sure if by default this content type information (movie, series, thriller, horror, etc) it's grabbed from epg site like cinemagia.ro or it is something that the mdb process does. If it is the mdb process, which i don't understand yet as i have not checked what and how it does exacly but if i briefly understood this process will try to match the serie/movie on imdb and/or other sites in order to enrich the content. It is getting aditional information like actors and other stuff. Is it possible to get the contet type aswell? I mean that every series, at least on imdb has specifie a "season 1" information. Am I on the good road or got lost allready by the enthusiasm ? :)

Anyway the show names on cinemagia are written in romanian and it seems that imdb does not recognize one of the shows (The Lion Guard = Garda Felină, in romanian)

The channel is Disney Junior and it is grabbed from cinemagia.ro.

egrimisu
Offline
Donator
Joined: 6 years
Last seen: 1 year

Thanks,

Can I add multiple languages, i have channels that are in hungarian, in fact my WebGrab++.config.xml file contains 2 sources from cinemagia.ro and from port.hu, on the first source shows are vritten in romanian or english sometime (we, romanians,  like to keep the original movie names) and the second source si from port.hu and the shows are vritten mostly in hungarian. So I would like to add the 2 langauges with english fallback.

It's really to bad that the series matching is broke and that there's no ETA so modifying the ini is important for me since I would like to record some shows with an app that needs this information. Do you have some advice or an example on how shall I edit the ini to force a channel to add this extra information as series?

egrimisu
Offline
Donator
Joined: 6 years
Last seen: 1 year

Well in this case it's preety useless :( it seems that cinemagia doesn't have the information on subs nor season/ep number. So detecting this as a series won't really work. The last solution for me would be to force in cinemagia.ro.ini that the channel disney junior provides only series. How to do this? I have checked the ini file and it's a little bit complicated for me to reverse engeneer it.

egrimisu
Offline
Donator
Joined: 6 years
Last seen: 1 year

Works as expected, thanks for the help.

I have noticed that before every line end there is a (n) , is that ment to be there?

 

<desc lang="ro">Kion, fiul lui Simba, isi conduce prietenii care fac parte din Garda Leilor pentru a proteja Pride Lands(n)</desc>

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