You are here

I need a custom site.ini that will scan m3u

4 posts / 0 new
Last post
Rick7C2
Offline
Joined: 6 years
Last seen: 5 years
I need a custom site.ini that will scan m3u

I have an iptv subscription that also has VOD movies and tv shows that I would like to add to my EPG with show and movie info.

My goal is to to have it scan my m3u file (By m3u URL preferably) for movies and tv shows and add epg for each result.

Example movie listing in m3u

https://pastebin.com/raw/F2SySvMU

Example tvshow listing in m3u

https://pastebin.com/raw/THzgyJgL

My IPTV provider is constantly adding new movies and tvshows to the m3u, So I would like it to automaticly add all results from m3u to epg without manually adding <channel> to config. If that is possible.

Once that Is done I think MDB can grab the movie and tv info to the epg. Unfortunately the movies in m3u only show the movie name and not year or any other details so I'm ok with MDB grabbing the first result for movie based on name only. Hopefully it will get the right result most of the time.

Is this even possible?

Rick7C2
Offline
Joined: 6 years
Last seen: 5 years

Here is a bash script I wrote to do what I needed. 

https://pastebin.com/sWeeceJ9

Rick7C2
Offline
Joined: 6 years
Last seen: 5 years

I'm having trouble with series <channel> string

For movie I have...

<channel update="f" site="fixed" site_id="00:00-23:59##title:Bridge of Spies##description:Movie.##category:Movie##actor:Tom Hanks" xmltv_id="Bridge of Spies">Bridge of Spies</channel>

Lets say I want to use the fixed.site.ini for tv show Game of Thrones S01E01. What would my <channel> string in wgrab config file?

Currently my script is pushing ##title:Game of Thrones (S01e01)

Do I need to seperate sxxexx from the show title? If so where do I put sxxexx?

 

Thanks

Rick7C2
Offline
Joined: 6 years
Last seen: 5 years

I'm away from my PC so can't try it yet.

Everything makes sense to me except the [SUBTITLE] bit.

Does my tag need to have literally [SUBTITLE]? Or do I need to make a new variable in my bash script to put the subtitle from m3u if exists?

Example, should it be...
##Title:Game of Thrones (S06E10) The Winds of Winter [SUBTITLE]
With Literal [SUBTITLE]

Or

##Title:Game of Thrones (S06E10) The Winds of Winter
And Replace [SUBTITLE] with "The Winds of Winter" since it exits?

Thanks for your help.

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