Code Monkey home page Code Monkey logo

xml_tv's People

Contributors

avapug avatar markallen4123 avatar markcs avatar misullivan avatar tomw1605 avatar voltagex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xml_tv's Issues

Missing channels since recent changes

Some channels have disappeared since the recent changes to the channel id's, etc.

Remote_Central.xml
Missing 7 Central South (was previously 7yourtv.com.au)

NT_Regional.xml
Missing all commercial channels

XML parser issue with Plex+XMLTV

I am using the http://xmltv.net/xml_files/Adelaide.xml in Plex, Synology version 1.19.1.2645.
Tried removing DVR config from Plex and starting from scratch, still seeing same error.

These are in Plex logs when refresh guide is requested.

Apr 15, 2020 11:53:58.725 [0x7f12f3735700] ERROR - XML: Entity: line 3323:
Apr 15, 2020 11:53:58.725 [0x7f12f3735700] ERROR - XML: parser
Apr 15, 2020 11:53:58.725 [0x7f12f3735700] ERROR - XML: error :
Apr 15, 2020 11:53:58.725 [0x7f12f3735700] ERROR - XML: Premature end of data in tag programme line 3319
Apr 15, 2020 11:53:58.725 [0x7f12f3735700] ERROR - XML:
Apr 15, 2020 11:53:58.725 [0x7f12f3735700] ERROR - XML: ^
Apr 15, 2020 11:53:58.725 [0x7f12f3735700] ERROR - XML: Entity: line 3323:
Apr 15, 2020 11:53:58.725 [0x7f12f3735700] ERROR - XML: parser
Apr 15, 2020 11:53:58.725 [0x7f12f3735700] ERROR - XML: error :
Apr 15, 2020 11:53:58.725 [0x7f12f3735700] ERROR - XML: Premature end of data in tag tv line 4
Apr 15, 2020 11:53:58.725 [0x7f12f3735700] ERROR - XML:
Apr 15, 2020 11:53:58.725 [0x7f12f3735700] ERROR - XML: ^
Apr 15, 2020 11:53:58.731 [0x7f12f3735700] ERROR - Error parsing content.
Apr 15, 2020 11:53:58.731 [0x7f12f3735700] ERROR - Error parsing XML: Error parsing file.

Thanks.

Home and Away - Australia, Canberra

Firstly - Thanks for this program guide.
Australia (Canberra) - The TV series Home and Away, the programme guide thinks it's a movie so it can't be recorded with plex.

Image URLS in xmltv file are not properly encoded

For example:

<icon src="https://s3-ap-southeast-2.amazonaws.com/nine-tvmg-images-prod/39/57/16/395716_366216_Million DOllar Minute_L_T2_t1_.jpg" />

should be:

<icon src="https://s3-ap-southeast-2.amazonaws.com/nine-tvmg-images-prod/39/57/16/395716_366216_Million%20DOllar%20Minute_L_T2_t1_.jpg" />

Icons Missing

First up, I'd love to send all my love and appreciation for this project. I've been using it from the beginning after Plex switched data providers and it's been perfect!

I've noticed some issues lately with occasional icons not showing up in the guide (usually the HD channels). Currently I have channel 15, 30 and 74 missing. In addition channel 12 is also showing as 10HD but should be 10Bold.

Am I the only one having this issue? If so, is there something I can do to fix it?
Otherwise is this an XML issue that can be resolved or a yourtv problem that is out of our control?

Help Installing For Plex on Synology NAS

Hey markcs, firstly I've seen great reports of this working so I am very excited to get this working on my synology nas, however I am a bit confused on how to do so, as I am not super fluent in coding languages. I have a ds718+ running plex on a docker (all latest versions). I have enough knowledge to create a bash shell inside the plex docker and I cloned you git repository and tried configuring for free_epg.pl. It says I'm missing a at least the JSON module. Just wondering if you have a set of instructions for installation through the plex bash window, or perhaps even if you have created your own docker to house this code. Thanks in advance :)

xml files missing guide data

This is a generic issue to cover the problem we are facing at the moment. There are issues with scraping data from yourtv due to rate limiting and possibly IP blocking, so we are looking for another solution. We had one from TelstraTV, but they announced that this will not continue and if you look online, you'll see that the epg is not being updated (ie ).

I've got another solution that I'm working on. If you want to test out some early xml, please let me know.

Bad image URLs

Region: Melbourne
Channels:

  • 301 SBS Radio 1
  • 302 SBS Radio 2
  • 303 SBS Radio 3
  • 304 SBS Arabic24
  • 305 SBS PopDesi
  • 306 SBS Chill
  • 307 PopAsia
  • 36 SBS Arabic24
  • 37 SBS Radio 1
  • 38 SBS Radio 2
  • 39 SBS Chill

The icons for these stations result in a 404.

yourtv.pl error

When I start the script, I got following message:

perl yourtv.pl --region=168
Use of uninitialized value $state in hash element at yourtv.pl line 1150.
Use of uninitialized value $state in hash element at yourtv.pl line 1151.
Freeview cache file not present/readable, this run will be slower than normal...
Cache file not present/readable, this run will be slower than normal...
Use of uninitialized value $tz in string eq at /usr/local/lib/x86_64-linux-gnu/perl/5.28.1/DateTime.pm line 2236.
Validation failed for type named NonEmptyStr declared in package Specio::Library::String (/usr/local/share/perl/5.28.1/Specio/Library/String.pm) at line 46 in sub named (eval) with value undef

Trace begun at Specio::Exception->new line 57
Specio::Exception::throw('Specio::Exception', 'message', 'Validation failed for type named NonEmptyStr declared in package Specio::Library::String (/usr/local/share/perl/5.28.1/Specio/Library/String.pm) at line 46 in sub named (eval) with value undef', 'type', 'Specio::Constraint::Simple=HASH(0x7fffecab1120)', 'value', undef) called at (eval 289) line 82
DateTime::TimeZone::_check_new_params('name', undef) called at /usr/local/share/perl/5.28.1/DateTime/TimeZone.pm line 55
DateTime::TimeZone::new('DateTime::TimeZone', 'name', undef) called at /usr/local/lib/x86_64-linux-gnu/perl/5.28.1/DateTime.pm line 2242
DateTime::set_time_zone('DateTime=HASH(0x7f8e7eb51160)', undef) called at yourtv.pl line 849
main::toLocalTimeString('2020-02-18T23:05:00.000Z', undef) called at yourtv.pl line 617
main::getepg('Furl=REF(0x7fffed415888)', 168) called at yourtv.pl line 269

Is there something I can do about it?

Thanks in advance

yourTV halting on malformed JSON string

The yourTV script is erroring and halting today for Sydney due to malformed JSON.

Would be good if the script could skip the program entry and continue grabbing data instead of halting.

There is also a new message from in the latest update: "Use of uninitialized value in substitution (s///) at /app/yourtv.pl line 400."

Using Furl for fetching http:// and https:// requests.
Options...
region=73, output=/data/guide.xml, days = 7, fvicons = 1, Verbose = 1, pretty = 1,

Initializing queues...
Initializing 7 worker threads...
My current directory for cachefiles is: /data/cache
Opening Freeview cache files...
Opening Cache files...
Getting Channel list...
Getting channel list from YourTV ...
Got channel 9.yourtv.com.au - Channel Nine Sydney ...
Got channel 90.yourtv.com.au - 9HD Sydney ...
Got channel 92.yourtv.com.au - 9Gem Sydney ...
Got channel 93.yourtv.com.au - 9Go! Sydney ...
Got channel 94.yourtv.com.au - 9Life Sydney ...
Got channel 95.yourtv.com.au - 9Gem HD Sydney ...
Got channel 2.yourtv.com.au - ABC NSW ...
Got channel 20.yourtv.com.au - ABC HD NSW ...
Got channel 22.yourtv.com.au - ABC COMEDY/ABC KIDS NSW ...
Got channel 23.yourtv.com.au - ABC ME NSW ...
Got channel 24.yourtv.com.au - ABC NEWS NSW ...
Use of uninitialized value in substitution (s///) at /app/yourtv.pl line 400.
Got channel 3.yourtv.com.au - SBS Sydney ...
Use of uninitialized value in substitution (s///) at /app/yourtv.pl line 400.
Got channel 30.yourtv.com.au - SBS HD Sydney ...
Got channel 31.yourtv.com.au - SBS VICELAND HD NSW ...
Use of uninitialized value in substitution (s///) at /app/yourtv.pl line 400.
Got channel 32.yourtv.com.au - SBS World Movies NSW ...
Use of uninitialized value in substitution (s///) at /app/yourtv.pl line 400.
Got channel 33.yourtv.com.au - SBS Food NSW ...
Got channel 7.yourtv.com.au - Channel Seven Sydney ...
Got channel 70.yourtv.com.au - 7HD Sydney ...
Got channel 72.yourtv.com.au - 7TWO Sydney ...
Got channel 73.yourtv.com.au - 7mate Sydney ...
Got channel 74.yourtv.com.au - 7food network Sydney ...
Got channel 76.yourtv.com.au - 7flix NSW ...
Got channel 1.yourtv.com.au - 10 Bold Sydney ...
Got channel 10.yourtv.com.au - 10 Sydney ...
Got channel 11.yourtv.com.au - 10 Peach Sydney ...
Got channel 13.yourtv.com.au - 10 HD Sydney ...
Got channel 14.yourtv.com.au - TVSN NSW ...
Got channel 15.yourtv.com.au - SpreeTV NSW ...
Got channel 34.yourtv.com.au - NITV NSW ...
Use of uninitialized value in substitution (s///) at /app/yourtv.pl line 400.
Got channel 75.yourtv.com.au - Openshop ...
Got channel 78.yourtv.com.au - RACING.COM NSW ...
Getting EPG data...

Getting channel program listing for Sydney (73) for today (https://www.yourtv.com.au/api/guide/?day=today&timezone=Australia%2FSydney&format=json&region=73)...
................... ................... ........................ ............................. .................................. ........................ ..................... ..................... ...................................................................................... malformed JSON string, neither array, object, number, string or atom, at character offset 1 (before "assets/tv/220679_CH1...") at /app/yourtv.pl line 929.

Shepherd Integration with Plex

I've used a Perl script with MythTV previously https://github.com/ShephedProject/shepherd and it has a lot of features that I like. It would be good if this project could leverage on the good work done with shepherd.

The guide data that Shepherd collects and reconciles is very good quality but the output format is missing some of the essential features that Plex requires (series and episode data). Adding a Plex output option to Shepherd might be a better way.

I'll have a look at it myself but I am limited for time.

Good work by the way, its a pity that Plex dropped the ball with EPG, your good work is proving invaluable for me.

504 gateway timeout - increase information on errors and add a way to retry

$ perl xml_tv/free_epg.pl --region=region_nsw_canberra --output=xmltv.xml --verbose
Got channel 23.freeview.com.au - ABC ME ...
Got channel 90.freeview.com.au - 9HD ...
Got channel 34.freeview.com.au - NITV ...
Got channel 31.freeview.com.au - SBS VICELAND HD ...
Got channel 24.freeview.com.au - ABC NEWS ...
Got channel 99.freeview.com.au - 9Go! ...
Got channel 3.freeview.com.au - SBS ...
Got channel 33.freeview.com.au - SBS Food ...
Got channel 32.freeview.com.au - SBS World Movies Sydney ...
Got channel 78.freeview.com.au - RACING.COM ...
Getting epg for 22.freeview.com.au - ABC COMEDY/ABC KIDS NSW ...
        Getting programs between 2019-10-07T20:24:15Z and 2019-10-08T20:24:15Z ...
        Getting programs between 2019-10-08T20:24:15Z and 2019-10-09T20:24:15Z ...
        Getting programs between 2019-10-09T20:24:15Z and 2019-10-10T20:24:15Z ...
        Getting programs between 2019-10-10T20:24:15Z and 2019-10-11T20:24:15Z ...
        Getting programs between 2019-10-11T20:24:15Z and 2019-10-12T20:24:15Z ...
        Getting programs between 2019-10-12T20:24:15Z and 2019-10-13T20:24:15Z ...
        Getting programs between 2019-10-13T20:24:15Z and 2019-10-14T20:24:15Z ...
Unable to connect to FreeView. [504 Gateway Time-out]

Would it be possible to add more information to the error or have a way to retry? I want to add the script to crontab.

Changes in Melbourne for 10HD

Firstly thank you to all who make this free EPG option available. Hoping that someone might be able to take a look at an update for channel 1 (now 10 HD) for the Melbourne EPG.

Channel 1 is now 10 HD (as is channel 15), where the EPG is wanting to match to 10 Bold
Channel 10 is ok as 10
Channel 11 is ok as 10 PEACH
Channel 12 is ok as 10 BOLD
Channel 13 is ok as 10 SHAKE
Channel 15 is ok as 10 HD

I’m not quite sure why we need the same broadcast of channel 10 HD on channels 1 and 15, but I’m sure a good reason exists. This wiki also confirms - https://en.wikipedia.org/wiki/List_of_digital_television_channels_in_Australia

Screen shots follow to help confirm above:

4026484D-D873-4A32-B066-E03C41F9F50C
FD820C1F-F81D-4B53-B59B-4F969157E9AC
3699F5B5-876B-4A99-8BB4-416467AE3C08
F33634E1-3A90-47EB-BCE5-196B2178F8FD

Adding instructions for Ubuntu

I couldn't find a way to create a pull request for the wiki, so to get free_epg.pl to work I needed to apt install libdatetime-perl libxml-writer-perl on Ubuntu.

Sorry for the noise, and thanks for these scripts

guide data is missing the next 16 hours

eg.
http://xmltv.net/xml_files/Sydney.xml
10auepg.com.au

earliest program is

<title>Studio 10: Saturday</title>

as of writing, its 6pm in NSW on Friday (03/03/23)
Above program is starting at 11pm utc 03/03/23 = 10am 04/03/23 NSW
So, thats 16 hours away

It was the same yesterday as well.

Maybe the scraper just needs a -1 to start from a day earlier :)
Or, the API's being used are UTC time and the script using AU time

PS:
Great respect for your scrapers :)
i moved my generated epgs to use yours for AU channels some time back.
I do have
Let me know if you want some other sort of credit or the above renamed :)

Channel ID's

Hi,

I know you are making changes and updating the xml files, but you also keep changing the Channel ID's which does not help when I have mapped the EPG Channel ID to the Channel Number. Hence I keep loosing my EPG in TvH and have to remap.

Channel 85 missing

Hi,

I've noticed GEMHD Channel 85 is missing from the Central Coast listing. Any chance of having this added?

TIA

YourTV: New vs Repeat Airings

All shows on Plex DVR guide are showing as NEW.

Not sure why as according to BigWheel of Plex "New airing are ones that have a “premiere” or “new” flag on them in the EPG data." See https://forums.plex.tv/t/plex-dvr-new-airings-only/296347
I couldn't see these tags in the xmltv file myself and not sure what they look like anyway.

The YourTV web page for a previously shown episode has the word REPEAT displayed. If this is available during the scan it hopefully can be used. I attach example of YourTV vs Plex:
Opera Snapshot_2019-07-12_182202_www yourtv com au
Opera Snapshot_2019-07-12_182411_127 0 0 1
This is the xmltv section:

    <programme start="20190713151500 +0800" stop="20190713170000 +0800" channel="9.yourtv.com.au">
            <title>Australian Ninja Warrior</title>
            <desc>New ninjas, new obstacles and a new location, this season is bigger than ever before. Heat one features six brand-new obstacles including The Double Warped Wall.</desc>
            <category>Game Show</category>
            <icon src="https://s3-ap-southeast-2.amazonaws.com/nine-tvmg-images-prod/59/92/77/599277_1410008_NIWA2016_b_t2_t1_.jpg" />
            <episode-num system="SxxExx">S3E1</episode-num>
            <episode-num system="xmltv_ns">2.0.</episode-num>
            <rating>
                    <value>PG</value>
            </rating>
    </programme>

Issue with Sydney times and details

Hi,

Here is what Sydney.xml looks like for a particular title:

<programme start="20230319093000 +0000" stop="20230319120505 +0000" channel="432004auepg.com.au">
    <title>John Wick: Chapter 2</title>
    <category>Action and Adventure</category>
    <icon src="https://www.fetchtv.com.au/v2/epg/program/356779/image" />
</programme>

Here is what every other [region].xml looks like for the same title:

<programme start="20220915203000 +0930" stop="20220915230000 +0930" channel="63.yourtv.com.au">
      <title>John Wick: Chapter 2</title>
      <desc>After returning to the criminal underworld to repay a debt, John Wick discovers that a large bounty... </desc>
      <category>Action</category>
      <category>Cinema movie</category>
      <previously-shown />
      <video>
              <quality>SDTV</quality>
      </video>
      <rating>
              <value>MA</value>
      </rating>
</programme>

In the Sydney.xml file the start time is 9:30am and in the other it's 8:30pm so its wrong by 12 hours - 1 hour (day lights savings?), also it lacks much of the detail of the other regions. Is this a sourcing issue or something else?

Any clarifications welcome.

Thanks.

Error on Gold Coast XML

Gold Coast – http://xmltv.net/xml_files/Goldcoast.xml

Just a heads up, I’ve just noticed tonight on my Plex server my guide isn’t updating.

When checking the URL in a browser it’s showing displaying this error

This page contains the following errors:

error on line 2 at column 17: Extra content at the end of the document
Below is a rendering of the page up to the first error.

Sydney and others look to be working.

Very much appreciate the service guys 👍

Wollongong.xml not showing new 7mate HD

7mate has moved channel and is now called 7mate HD.

But the Wollongong.xml still only includes the old 7 mate and all EPG entries are "Please turn to Channel 74 to continue watching 7mate."

(The Sydney.xml does contain the new 7mate HD)

xmltv.net Hobart no data beyond 5/3

It seems yourtv.com.au has dropped Tasmania as a region?

If I run yourtv.pl with region 88 I get a 502 error. (region 94, Melbourne works okay).
Running free_epg.pl only retrieves SBS and ABC guide data.

How can I get the commercial channels for Tas from freeview with free_epg.pl?

Option to skip certain EPG downloads

Hi. Could we get a feature (even one we have to hard code) that allows us to skip certain channels? Either by number or by name. Say I don't want any SBS channels, so might as well not parse them, so somewhere I either write "SBS" or Channels_skip=31,61,9 And it won't parse those channels?

yourtv.pl crashing

script crashing with
Getting epg for SBS Radio Stations ...
SBS Radio 1 ...
Error. Script died
File does not exist: at .\yourtv.pl line 1569.

Also file from xmltv.net not being updated last day is next Wednesday.

yourtv.log

Is data currently not working for Gold Coast?

I’m not getting any data when doing a guide update.

Jan 12, 2021 10:39:05.269 [0x1487875fa640] Debug — Activity: updated activity 05297893-1e57-47e0-82fd-281b59de4434 - completed 0.0% - Refreshing guide data Jan 12, 2021 10:39:05.269 [0x1487d43e1640] Debug — EPG[xmltv]: starting full refresh for lineup(s) lineup://tv.plex.providers.epg.xmltv/http%3A%2F%2Fxmltv.net%2Fxml_files%2FGoldcoast.xml#My%20Guide Jan 12, 2021 10:39:05.270 [0x1488018e6640] Debug — Completed: [192.168.0.36:56668] 200 POST /livetv/dvrs/5/reloadGuide (10 live) TLS GZIP 0ms 377 bytes (pipelined: 6) Jan 12, 2021 10:39:05.956 [0x1487d43e1640] Debug — Activity: updated activity 05297893-1e57-47e0-82fd-281b59de4434 - completed 100.0% - Refreshing guide data Jan 12, 2021 10:39:05.956 [0x1487d43e1640] Debug — Activity: updated activity 05297893-1e57-47e0-82fd-281b59de4434 - completed 100.0% - Refreshing guide data

HASH: Out of overflow pages. Increase page size

Running 29 July version of YourTV and getting the above error pop up quite a few times in the log. Not sure if it's something I need to change, or if it's the script - know nothing about Perl. Running on MacOS 10.14.6.

Using Furl for fetching http:// and https:// requests.
Options...
region=73, output=/xml_tv/guide.xml, days = 7, fvicons = 1, Verbose = 1, pretty = 1,

Initializing queues...
Initializing 7 worker threads...
My current directory for cachefiles is: /xml_tv
Opening Freeview cache files...
Opening Cache files...
Getting Channel list...
Getting channel list from YourTV ...
Got channel 9.yourtv.com.au - Channel Nine Sydney ...
Got channel 90.yourtv.com.au - 9HD Sydney ...
Got channel 92.yourtv.com.au - 9Gem Sydney ...
Got channel 93.yourtv.com.au - 9Go! Sydney ...
Got channel 94.yourtv.com.au - 9Life Sydney ...
Got channel 95.yourtv.com.au - 9Gem HD Sydney ...
Got channel 2.yourtv.com.au - ABC NSW ...
Got channel 20.yourtv.com.au - ABC HD NSW ...
Got channel 22.yourtv.com.au - ABC COMEDY/ABC KIDS NSW ...
Got channel 23.yourtv.com.au - ABC ME NSW ...
Got channel 24.yourtv.com.au - ABC NEWS NSW ...
Got channel 3.yourtv.com.au - SBS Sydney ...
Got channel 30.yourtv.com.au - SBS HD Sydney ...
Got channel 31.yourtv.com.au - SBS VICELAND HD NSW ...
Got channel 32.yourtv.com.au - SBS World Movies NSW ...
Got channel 33.yourtv.com.au - SBS Food NSW ...
Got channel 7.yourtv.com.au - Channel Seven Sydney ...
Got channel 70.yourtv.com.au - 7HD Sydney ...
Got channel 72.yourtv.com.au - 7TWO Sydney ...
Got channel 73.yourtv.com.au - 7mate Sydney ...
Got channel 74.yourtv.com.au - 7food network Sydney ...
Got channel 76.yourtv.com.au - 7flix NSW ...
Got channel 1.yourtv.com.au - 10 Bold Sydney ...
Got channel 10.yourtv.com.au - 10 Sydney ...
Got channel 11.yourtv.com.au - 10 Peach Sydney ...
Got channel 13.yourtv.com.au - 10 HD Sydney ...
Got channel 14.yourtv.com.au - TVSN NSW ...
Got channel 15.yourtv.com.au - SpreeTV NSW ...
Got channel 34.yourtv.com.au - NITV NSW ...
Got channel 78.yourtv.com.au - RACING.COM NSW ...
Getting EPG data...

Getting channel program listing for Sydney (73) for today (https://www.yourtv.com.au/api/guide/?day=today&timezone=Australia%2FSydney&format=json&region=73)...
...........
............ ........
............... .............
....................
................................
..........
..
...............................
.................................
...........................
........................... ........................
...............................................................
..
..........................................................
..........................
........................
..........
..
................................ ........................................
.
............ .......................................

..
......................
.
....................... ..............................
......................
.............
..
...................................
HASH: Out of overflow pages. Increase page size
.
..................................
............................
... ............................
..............................................
.
........................... ......................... .................................
..............................................................................................................
. ............................................

.
.....................................

Getting channel program listing for Sydney (73) for tomorrow (https://www.yourtv.com.au/api/guide/?day=tomorrow&timezone=Australia%2FSydney&format=json&region=73)...
..............
........ .......
...............
................................

........................................

..
...................................
.
............................... ..............................
.............................. ...........................................................
...........................
HASH: Out of overflow pages. Increase page size
.
.......................................................
..
.........................
...................................
..
................................. .....................................

............. .......
................................
..
...................
..
................... .................................
..................................
HASH: Out of overflow pages. Increase page size
..
....................................
.
..................................
.
................................ ..............................
..............................................
.............................. ......................... ........................................
........................................................................................................
...........................................
..
.................................

Getting channel program listing for Sydney (73) for thu (https://www.yourtv.com.au/api/guide/?day=thu&timezone=Australia%2FSydney&format=json&region=73)...
HASH: Out of overflow pages. Increase page size
Getting channel program listing for Sydney (73) for fri (https://www.yourtv.com.au/api/guide/?day=fri&timezone=Australia%2FSydney&format=json&region=73)...
HASH: Out of overflow pages. Increase page size
HASH: Out of overflow pages. Increase page size
Getting channel program listing for Sydney (73) for sat (https://www.yourtv.com.au/api/guide/?day=sat&timezone=Australia%2FSydney&format=json&region=73)...
HASH: Out of overflow pages. Increase page size
HASH: Out of overflow pages. Increase page size
Getting channel program listing for Sydney (73) for sun (https://www.yourtv.com.au/api/guide/?day=sun&timezone=Australia%2FSydney&format=json&region=73)...
HASH: Out of overflow pages. Increase page size
HASH: Out of overflow pages. Increase page size
Getting channel program listing for Sydney (73) for mon (https://www.yourtv.com.au/api/guide/?day=mon&timezone=Australia%2FSydney&format=json&region=73)...
Processed a total of 7557 shows ...
Closing Queues...
Shutting down all threads...
Closing Cache files.
Replacing old Cache file with the new one...
Starting to build the XML...
Building the channel list...
Building the EPG list...
Finishing the XML...
Writing xmltv guide to /xml_tv/guide.xml...
Done!

Ignore function doesn't exist

You closed the issue before I responded. There is no ignore option in the free_epg script.... I tried --ignore=3,32,33
and it says:
Unknown option: ignore

July 1 changes..

FYI, channel 50+ and 80+ just swapped again in the regions.., channel 10, is now 50 (instead of 80) 50 (9HD) is 80, gem and go are 81 and 82 respectively iirc etc...

New errors since Jan 20

There are new errors with yourtv.pl:

Use of uninitialized value in pattern match (m//) at ./yourtv.pl line 996.
malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end of string)") at ./yourtv.pl line 985.

Using HDHomeRun Quatro in Sydney.

yourtv.pl - Plex handling of tag episode-num system="original-air-date" causes incorrect episode numbering

So I've found that using yourtv.pl to generate XML data for Plex results in incorrect detection of episode numbers, and possibly misclassification of movies as TV shows.

Here's an image of tonight's guide in plex - you can see some shows have episode numbers like "E1011" (today's date), and those after midnight switch to "E1012". Others have no issue:
image

A quick spot check in the XML output shows affected shows have metadata like this:

<programme start="20191012020500 +1100" stop="20191012023300 +1100" channel="22.yourtv.com.au">
<title>Red Dwarf</title>
<sub-title>Demons And Angels</sub-title>
<desc>An out-of-control triplicator creates two more Red Dwarfs. They are complete with replica crews - one divine, the other evil as can be.</desc>
<category>Comedy</category>
<icon src="https://s3-ap-southeast-2.amazonaws.com/nine-tvmg-images-prod/27/35/20/273520_red_dwarf.jpg" />
<episode-num system="SxxExx">S2019E1012</episode-num>
<episode-num system="xmltv_ns">2018.1011.</episode-num>
<episode-num system="imdb.com">series/0094535</episode-num>
<episode-num system="original-air-date">2019-10-12 02:05:00</episode-num>
<previously-shown start="2019-10-12" />
<rating><value>PG</value></rating>
</programme>

While unaffected have this:

<programme start="20191011235000 +1100" stop="20191012001500 +1100" channel="31.yourtv.com.au">
<title>The Last Man on Earth</title>
<sub-title>Skidmark</sub-title>
<desc>Tandy tries to host a party for the group, and Todd's luck takes a turn for the better.</desc>
<category>Comedy</category>
<icon src="https://s3-ap-southeast-2.amazonaws.com/nine-tvmg-images-prod/42/90/22/429022_591632_SERIES_55917_i_T2_t1_.jpg" />
<episode-num system="SxxExx">S02E14</episode-num>
<episode-num system="xmltv_ns">1.13.</episode-num>
<episode-num system="imdb.com">series/3230454</episode-num>
<rating><value>M</value></rating>
</programme>

Similarly the same tag in movies seems to result in Plex considering them to be TV shows (as it gives them an episode number), not movies. This means they don't display under "Upcoming Movies" in the "Live TV & DVR" view, and default to the TV Show library. Example:
Displays as TV Show:

<programme start="20191010210000 +1100" stop="20191011000000 +1100" channel="7.yourtv.com.au">
<title>Kingsman: The Golden Circle</title>
<desc>When the Kingsman headquarters are destroyed and the world is held hostage, their journey leads them to the discovery of an allied spy organisation in the US called Statesman.</desc>
<category>Action</category>
<category>Cinema movie</category>
<episode-num system="imdb.com">series/4649466</episode-num>
<episode-num system="original-air-date">2019-10-10 21:00:00</episode-num>
<previously-shown start="2019-10-10" />
<rating><value>MA</value></rating>
</programme>

Displays as Movie:

<programme start="20191012190000 +1100" stop="20191012220000 +1100" channel="9.yourtv.com.au">
<title>Star Wars: Episode II - Attack of the Clones</title>
<desc>Ten years after initially meeting, Anakin Skywalker shares a forbidden romance with Padme Amidala, while Obi-Wan Kenobi investigates an assassination attempt on the senator and discovers a secret clone army.</desc>
<category>Sci-Fi</category>
<category>Cinema movie</category>
<icon src="http://img-store-prod.switch.tv/images/d1c81e1d-586e-4796-bef0-8e98554bc2cc/611157_91.png" />
<episode-num system="imdb.com">series/0121765</episode-num>
<rating><value>PG</value></rating>
</programme>

It's possible this might be considered a Plex or YourTV issue, but I thought it worth mentioning if it could be correct in code. Cheers!

Empty Guide When HD Channels Only Selected

Thank you for providing a great service. I have been using ICE TV EPG on my Plex Server until I recently found your guide.

From the Plex Live TV & DVR Guide view, when I select HD Channels Only, the Guide is empty. While this is a minor issue, I tend to mostly watch HD channels and it would be great if I could get it to work.

Capture 2
Capture 1

I am in Perth and I use the Perth xml.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.