primaeval / script.schedules.direct

GNU Lesser General Public License v3.0
0 stars 1 forks source link

Are you going to consider adding the program metadata? #1

Open edit4ever opened 7 years ago

edit4ever commented 7 years ago

Not sure where you are in this project...but I'm wondering if you're thinking of adding the program metadata (season/episode info, original air date, genre, etc)?

Seems like your script and Atsrilchuk's https://github.com/astrilchuk/sd2xmltv could be combined into a powerful all in one script!!

Thanks for your efforts.

primaeval commented 7 years ago

I've parked this project as I couldn't find a solution to get the program images. Most of them were missing from their server and there was no way to just simply find one that worked.

Did Atsrilchuk find a solution?

edit4ever commented 7 years ago

His setup pulls the following info:

<programme channel="I2.1.19567.schedulesdirect.org" start="20160707030000" stop="20160707040000">
 <title>Big Brother</title>
 <episode-num system="dd_progid">EP00378139.0266</episode-num>
 <episode-num system="xmltv_ns">17.6.</episode-num>
 <desc>Series; New; S18E7; TVPG • House guests vie for the power of veto.</desc>
 <icon src="https://json.schedulesdirect.org/20141201/image/assets/p188043_b_v3_aa.jpg" />
</programme>

So yes - it does have the program icon info.

In the current iteration he wasn't outputting all the metadata in the xmltv file - but it is downloaded. He is appending that metadata to the plot description for his purposes. My zap2xml script gives the option of appedning or not - which is a better choice as the end user can decide how they want the data to appear in their system.

primaeval commented 7 years ago

Does mine do anything his doesn't or do you just want his wrapped up in a standalone addon? I'm looking for the minimum amount of effort this needs.

edit4ever commented 7 years ago

Your kodi settings interface for configuring the lineup and channels is a feature he has not enabled. I'm thinking if we could combine your kodi "frontend" with his schedules direct backend - that would be the best. His script just runs in the background and has no interface in kodi. It then has it's own grabber to do the setup in tvh. In your case, you have a nice way to implement a new lineup and minimize the amount of channels being downloaded. His does not have a custom channel filter.

If you don't have the time to "combine" these two...I'll take a look when I get a chance in the next few weeks. I poked Astrilchuk to see if he could take a look at your code. Your kodi program to configure the lineup/channels is the function I hope he can implement in his version -- but he doesn't deal much with the kodi stuff. He just added the basic addon setup function to his code.

primaeval commented 7 years ago

I'd appreciate it if you could have a look at combining them. I got really frustrated with the images. I don't mind helping out if you get stuck or are too busy.

edit4ever commented 7 years ago

Will do - thanks for showing me another way to setup configurations!