Hey guys,
I am looking for someone who can help me with updating the starhubgo.com.ini file so that when I use it in plex it recognises season numbers as well as episode numbers.
Currently plex just flags everything as a "Movie" I assume this is because it is not detecting season numbers correctly.
I took a look at the starhubgo.com site and it appears that they append the season number to the end of the series name if they have it...
https://www.starhubgo.com/singleChannelLiveListing?channelId=9520542&sel...
i.e.
Paw Patrol 2
Thomas & Friends 19
Hairy Legs 4
However I am unable to work out the syntax I should use to scrape this info.
Thanks for the help.
I will take a look tomorrow as I am in APAC timezone (obviously) and evenings are family time for me.
In plex no progtams show as "series" everything shows as "movie". I imported a good feed for BBC1 UK TV (and just overlayed it on a channel it wasnt for) and that displayed correctly as a series.
Other channels I am interested in (and also display incorrectly) are Mediacorp Channel 5, Channel News Asia and Okto.
Thanks again for the suggestions. I will reply tomorrow.
So I attempted the changes that you suggested above to no avail.
Everything is still identified as a "Movie" in Plex.
An example snip from my guide.xml is...
With a bit of trial and error I have worked out that if I use episode-num system="xmltv_ns"
Then the series is correctly identified as a show however, as I dont have series numbers the shows are not correctly identified...
There is no such show as...
America's Got Talent 12 (HD)
It should be America's Got Talent
Series 12
I managed to build a URL that will give a JSON response...
https://www.starhubgo.com/live/getLiveChannelPrograms?pCode=V4bmQyOqnbswtz9daXLyKFGCO8Zp&channelIds=["8735373","8413941","9528553"]&startTime=2017-08-18T04:00:00.000Z&endTime=2017-08-19T04:00:00.000Z&pageSize=8000&localDate=2017-08-18&requestQuery=multiasset
As predicted they dont include the series number in the JSON however they do generally include it on the end of the program name, in various formats depending on the channel...
Series Numbers (on end of titles) examples
name: "America's Got Talent 12 (HD)",
name: "Arts 21 (HD)",
name: "Body And Soul 5 (HD)",
name: "Doc McStuffins 3 (HD)",
name: "Horrid Henry 4 (HD)",
name: "Just For Laughs Gags 16 (HD)",
name: "League Of Super Evil 1 & 2 (HD)",
name: "Lion Mums 2 (HD)",
name: "Mat Yoyo 3 (HD)",
name: "Mata Mata 3 (HD)",
name: "Paw Patrol 2 (HD)",
name: "Power List Asia 6 (HD)",
name: "Sesame Street 44 (HD)",
name: "The Big Bang Theory 10 (HD)",
name: "The Dr Oz Show 8 (HD)",
name: "The Flash 2 (HD)",
name: "Tobot 4 (HD)",
name: "World's Scariest 3 (HD)",
name: "Undercover Asia 2(HD)",
name: "Growing Up 4",
name: "LEGO Ninjago 6",
name: "Moon Face 2",
name: "Planet Earth 2",
name: "Steam Punks Season 2",
name: "True Files 2",
name: "Yo Gabba Gabba Sr 3",
Not Series numbers (on end of titles)
name: "News 5 (HD)",
name: "Daniel Tiger's Neighborhood Season 1 #1-40",
name: "Super 100 (HD)",
name: "National Day Rally 2017",
name: "FINA\/airweave Swimming World Cup 2017",
Using Roman Numerals to indicate Season number (for no apparent reason)
name: "The Flash II (HD)",
name: "The X Factor UK XIII (HD)",
name: "The Ellen DeGeneres Show XIV (HD)",
name: "Wheel Of Fortune XXXIV (HD)",
Awesome sauce.
I will trst tomorrow and let you know how it goes.
Thanks again for all of the help
So, looking in my guide it looks like the " (HD)" is being stripped correctly however it doesnt look like anything is being moved into the "Season Number" field, examples are below.
Extract from guide.xml...
Extract from JSON stream for the above show...
Extract from Guide.xml
Extract from JSON stream for the above show...
Yup, deleted guide each time I change the .ini
Boom, everything is looking good to me now.
Thanks a lot for all of the help with this.
Would you like me to submit a pull request for the changes that you have made to this file or will you submit them for others (or not)?
For anyone that finds this later...
Pull request created.
https://github.com/SilentButeo2/webgrabplus-siteinipack/pull/268