Season/Episode info
Season/Episode info
Given that IceTV provides Season/Episode info in the format SnnEnn is it possible to get this added to Beyonwiz file names to assist with cataloguing TV Series?
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Season/Episode info
Not easily, though it may be possible in the future. That information is not currently stored in the Beyonwiz EPG, though it is in the IceTV EPG. Neither is it included in timers sent from IceTV to the Beyonwiz.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
Re: Season/Episode info
OK thanks for the info
Re: Season/Episode info
Ask IceTV to implement a feature to add the season and episode to the title. That would be a win on all devices for all customers.
Re: Season/Episode info
Hi Prl,
I'll do that. Any particular delimiter required between Title SnnEnn ? (I notice in general it appears to be full stop)
I'll do that. Any particular delimiter required between Title SnnEnn ? (I notice in general it appears to be full stop)
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Season/Episode info
IMO, if that change does get made on the IceTV server side, it should be in the program subtitle, not the title. However, the subtitle only appears in recording names if the "Composition of recording filenames" setting in MENU>Setup>TV>Recording settings is set to "Long filenames".
Adding it (no matter where it is added) should also be optional, as for adding the '[R]' tag on repeated program names.
The syntax of the episode tag could be something like SnEm, and should preferably not contain any characters not permitted in FAT extended filenames.
There is a better and more general way of dealing with currently unused IceTV metadata, but I haven't had time to look at it properly. IMO adding tags like this on the IceTV server side is a horrible hack.
Adding it (no matter where it is added) should also be optional, as for adding the '[R]' tag on repeated program names.
The syntax of the episode tag could be something like SnEm, and should preferably not contain any characters not permitted in FAT extended filenames.
There is a better and more general way of dealing with currently unused IceTV metadata, but I haven't had time to look at it properly. IMO adding tags like this on the IceTV server side is a horrible hack.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
Re: Season/Episode info
Hi Prl,
If you reckon doing it server side is just a hack then I'd rather leave it until it can be done properly, I can see that there's a lot more in the thread titled "Is it possible to get more info from Ice EPG on shows?".
Usually Season/Episode number is appended to the Title eg Doctor Who.S01E01 and then you can use something like tinyMediaManager which will grab Images, Cast, Synopsis etc from IMDB or TVDB which all gets picked up when using something like Plex or Emby.
I pull quite a few series off the V2 as I will be the only one to watch them and having the Season/Episode would make the post-processing really easy.
Thanks, Mike
If you reckon doing it server side is just a hack then I'd rather leave it until it can be done properly, I can see that there's a lot more in the thread titled "Is it possible to get more info from Ice EPG on shows?".
Usually Season/Episode number is appended to the Title eg Doctor Who.S01E01 and then you can use something like tinyMediaManager which will grab Images, Cast, Synopsis etc from IMDB or TVDB which all gets picked up when using something like Plex or Emby.
I pull quite a few series off the V2 as I will be the only one to watch them and having the Season/Episode would make the post-processing really easy.
Thanks, Mike
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Season/Episode info
What I hope to do should make most of the currently available metadata in the IceTV available in the Beyonwiz EPG, where developers can access it to do things like selectively add data like credits (actors/director), original language, season/episode number, country of origin, video quality (aspect ratio, colour / B/W, HD/SD), user rating (if IceTV ever gets around to publishing it), poster image and repeat flag (and when last shown).
The internal format of the EPG follows the broadcast standard, and there aren't specific places to put data like that in the Beyonwiz EPG. But there is a mechanism inside the data format for the extended description for a show that allows for general tagged text to be added, and that's where I intend to try putting the extra metadata.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
Re: Season/Episode info
Would any of that assist with getting the information into the filename though?
I imagine that Aardvark is interested in having that so that the episodes can be more easily scraped by other software or media players (Kodi, Plex etc..)
I imagine that Aardvark is interested in having that so that the episodes can be more easily scraped by other software or media players (Kodi, Plex etc..)
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Season/Episode info
Yes, once it's available in the EPG, it can be looked up when a timer creates the filename for the recording (the code already does a lookup of the recording in order to set the description in the timer). It won't be automatic as it would be if the (say) title had it appended at the server end, as in Aardvark's suggested format (though it would need to go in the timer title when a timer is sent and not (just?) in the EPG).
However, if it's done via my proposed mechanism, it could become an option to MENU>Setup>TV>Recording settings>Composition of recording filenames, and the season/episode information need not appear anywhere other than in the filenames.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
Re: Season/Episode info
Hi Mike
That change would cause problems for people using Autotimers, or require them to edit them all if they don't have the search set to begins with. And that is only one option in the search and match patterns in Autotimers.
Much better for it to be in the extended description as prl says.
Cheers
Gully
_____________
Beyonwiz U4
Logitech Harmony Elite
Google Pixel 6 Pro
Gully
_____________
Beyonwiz U4
Logitech Harmony Elite
Google Pixel 6 Pro
Re: Season/Episode info
I can add an option to IceTVDesc to put the season/episode numbers in the subtitle/short description: "Episode Title" -> "Episode Title (S01E02)". If you then use the long name recording format you'll have it with that. If you don't want the long name I could add another option to append it to the title (for the recording name), instead: "Show Title" -> "Show Title.S01E02" (extracted from the subtitle, so you'd still need that).
-
- Uber Wizard
- Posts: 6490
- Joined: Thu Mar 05, 2009 22:54
- Location: Perth
Re: Season/Episode info
Likely there won't be many IceTV users that are using AutoTimers to any great degree.
Search types of "title starts with", "description match", and "partial match" won't be affected.
Therefore I believe this change would have very little impact.
Re: Season/Episode info
All true but a solution that avoids that issue would help with anyone wanting switch between Autotimers and IceTV.Grumpy_Geoff wrote: ↑Tue Dec 15, 2020 20:14
Likely there won't be many IceTV users that are using AutoTimers to any great degree.
Search types of "title starts with", "description match", and "partial match" won't be affected.
Therefore I believe this change would have very little impact.
Cheers
Gully
_____________
Beyonwiz U4
Logitech Harmony Elite
Google Pixel 6 Pro
Gully
_____________
Beyonwiz U4
Logitech Harmony Elite
Google Pixel 6 Pro
-
- Uber Wizard
- Posts: 6490
- Joined: Thu Mar 05, 2009 22:54
- Location: Perth
Re: Season/Episode info
Gully wrote: ↑Tue Dec 15, 2020 20:21All true but a solution that avoids that issue would help with anyone wanting switch between Autotimers and IceTV.Grumpy_Geoff wrote: ↑Tue Dec 15, 2020 20:14
Likely there won't be many IceTV users that are using AutoTimers to any great degree.
Search types of "title starts with", "description match", and "partial match" won't be affected.
Therefore I believe this change would have very little impact.
I can't see how you would achieve that "switch" ability and not have any impact to AutoTimers at all, given the request is for the extra detail to be in the title.
"Let the IceTV AutoTimer users eat cake!".
adoxa's updated IceTVDesc idea sounds good to me.
Re: Season/Episode info
I would be happy to give Adoxa's proposed changes a try to see how it goes
Re: Season/Episode info
Here you go (takes effect immediately, no need to restart; it will only effect new EPG entries). I've tested it runs, but whether it works is another matter (don't have IceTV).
- Attachments
-
- enigma2-plugin-extensions-IceTVDesc_1.0.6_all.ipk
- (3.58 KiB) Downloaded 91 times
-
- Uber Wizard
- Posts: 6490
- Joined: Thu Mar 05, 2009 22:54
- Location: Perth
Re: Season/Episode info
I nuked the EPG and fetched it.
The log showed the timers with updated descriptions, so it was easy to identify the events
The log showed the timers with updated descriptions, so it was easy to identify the events
-
- Uber Wizard
- Posts: 6490
- Joined: Thu Mar 05, 2009 22:54
- Location: Perth
Re: Season/Episode info
Uh oh, chongo. Trouble when it hits the timer prepare time -
Code: Select all
{671}< 45289.799> [RecordTimer] Found enough free space to record
{671}< 45289.807> Traceback (most recent call last):
{671}< 45289.807> File "/usr/lib/enigma2/python/timer.py", line 264, in calcNextActivation
{671}< 45289.824> File "/usr/lib/enigma2/python/timer.py", line 335, in processActivation
{671}< 45289.825> File "/usr/lib/enigma2/python/RecordTimer.py", line 1047, in doActivate
{671}< 45289.828> File "/usr/lib/enigma2/python/RecordTimer.py", line 521, in activate
{671}< 45289.829> File "/usr/lib/enigma2/python/RecordTimer.py", line 390, in tryPrepare
{671}< 45289.829> File "/usr/lib/enigma2/python/Plugins/Extensions/IceTVDesc/hook.py", line 25, in run
{671}< 45289.834> File "/usr/lib/enigma2/python/Plugins/Extensions/IceTVDesc/hook.py", line 72, in calculateFilename
{671}< 45289.835> TypeError: unsupported operand type(s) for +=: 'instancemethod' and 'str'
{671}< 45289.835> [ePyObject] (CallObject(<bound method RecordTimer.calcNextActivation of <RecordTimer.RecordTimer instance at 0x720289e0>>,()) failed)
Re: Season/Episode info
I think I've fixed it, but I'm not sure. If not, I've kept the crash, so you'll know...
- Attachments
-
- enigma2-plugin-extensions-IceTVDesc_1.0.6.1_all.ipk
- (3.59 KiB) Downloaded 52 times
Re: Season/Episode info
Hi Adoxa,
I've tried the newer version this morning. Crashed again on timer startup unfortunately.
I've tried the newer version this morning. Crashed again on timer startup unfortunately.
Robert
U4 2TB (Jan 2018) 19.3.20211010 , HDMI
T3 1TB (Dec 2014) 19.3.20211010 , Front Panel 20057, HDMI, Warkus'd 2018 & still going
IceTV, Series2Folder, OverlayHD 1.70
Samsung 55"OLED TV, Apple TV, ReadyNAS 214, Sonos Arc, Harmony Ultimate One
Windows 10
U4 2TB (Jan 2018) 19.3.20211010 , HDMI
T3 1TB (Dec 2014) 19.3.20211010 , Front Panel 20057, HDMI, Warkus'd 2018 & still going
IceTV, Series2Folder, OverlayHD 1.70
Samsung 55"OLED TV, Apple TV, ReadyNAS 214, Sonos Arc, Harmony Ultimate One
Windows 10
Re: Season/Episode info
Oh, silly me. This should fix it. Thanks to you both for being the guinea pigs.
- Attachments
-
- enigma2-plugin-extensions-IceTVDesc_1.0.6.2_all.ipk
- (3.58 KiB) Downloaded 45 times
Re: Season/Episode info
Seems fine now. No crash on timer start.
Just a small thing I've noticed in the EPG some Series Episode are separated by a comma and others by a colon. Is this just the way ICETV sends it.
Last edited by paullings on Thu Dec 17, 2020 11:18, edited 1 time in total.
Robert
U4 2TB (Jan 2018) 19.3.20211010 , HDMI
T3 1TB (Dec 2014) 19.3.20211010 , Front Panel 20057, HDMI, Warkus'd 2018 & still going
IceTV, Series2Folder, OverlayHD 1.70
Samsung 55"OLED TV, Apple TV, ReadyNAS 214, Sonos Arc, Harmony Ultimate One
Windows 10
U4 2TB (Jan 2018) 19.3.20211010 , HDMI
T3 1TB (Dec 2014) 19.3.20211010 , Front Panel 20057, HDMI, Warkus'd 2018 & still going
IceTV, Series2Folder, OverlayHD 1.70
Samsung 55"OLED TV, Apple TV, ReadyNAS 214, Sonos Arc, Harmony Ultimate One
Windows 10
-
- Uber Wizard
- Posts: 6490
- Joined: Thu Mar 05, 2009 22:54
- Location: Perth
Re: Season/Episode info
Yep, it did -
Code: Select all
{661}< 7987.955> [eDVBServiceRecord] Recording to /media/hdd/movie/20201217 0855 - 9Rush Perth - Tanked_S08E01.ts...
-
- Uber Wizard
- Posts: 6490
- Joined: Thu Mar 05, 2009 22:54
- Location: Perth
Re: Season/Episode info
That is IceTV's subtitle field contents
e.g.
From the IceTV guide -
Africa On A Plate
'Morocco Fusion'
SBS Food, 9:00am, Thu, 17 Dec 2020, 30 minutes
Morocco has so much to offer among it's cuisine, and in this episode Chef Zama Memela is introduced to a marinated salmon and finally, the famed pigeon pie.
Series, 2014, South Africa, English, Documentary, Arts & Culture, Cooking, Food/Wine, Season 1 Episode 23
Struggle Meals
'Street Food Faves At Home'
SBS Food, 9:30am, Thu, 17 Dec 2020, 30 minutes
Frankie makes street food at home, and it's fresher, healthier, and cheaper! Then get ready, because you've never seen rice like this before.
Series, United States, English, Cooking, Season 1 Episode 8
The Cook's Pantry With Matt Sinclair
'Series 2: Episode 48'
SBS Food, 10:00am, Thu, 17 Dec 2020, 30 minutes
Matt kicks things off with a wholesome barley and pancetta soup, and Courtney continues with the soup theme with her broccoli soup and cheesy recipe.
Series, Australia, English, Documentary, Lifestyle, Entertainment, Cooking, Food/Wine
Rachel Khoo: My Swedish Kitchen
'Fishing On The Westcoast'
SBS Food, 10:30am, Thu, 17 Dec 2020, 30 minutes
Rachel serves a grilled lobster with a cabbage and caraway salad, and her own gravlax poke bowl. For dessert, she prepares white chocolate and berry coconut mountains.
Rachel Khoo
Series, 2019, United Kingdom, English, Lifestyle, Cooking, Food/Wine, Season 1 Episode 6
Italian Food Safari
'Series 1, Episode 1'
SBS Food, 11:00am, Thu, 17 Dec 2020, 30 minutes
Join food explorer Maeve O'Meara and legendary Melbourne chef Guy Grossi in an Australian-wide celebration of traditional Italian food and culture. Tonight, Maeve takes a look at the tradition of the wood-fired oven, which many Italians constructed in their backyards when they arrived in Australia.
Series, Australia, English, Food/Wine, Season 1 Episode 1
Re: Season/Episode info
Shouldn't be a problem to normalise it, if you prefer one over the other (another option? Or two: enable normalise, choose character). I should also be able to detect it and avoid adding the bracketed version.Grumpy_Geoff wrote: ↑Thu Dec 17, 2020 11:40'Series 2: Episode 48'
'Series 1, Episode 1'
Season 1 Episode 1
-
- Uber Wizard
- Posts: 6490
- Joined: Thu Mar 05, 2009 22:54
- Location: Perth
Re: Season/Episode info
Personally, I don't need the "normalising" option, but detecting the existence of "series" and "episode" in the subtitle/episode title and then not appending (SnnEnn) is something of value.
But if (SnnEnn) is not in the short description, does that mean it won't be appended to the file name?
Re: Season/Episode info
I would prefer Option 2 which gives people a choice. My preferred option is SnnEnn (without brackets) for either long or short filename.
By the way what is the difference between standard filename and long filename if any.
By the way what is the difference between standard filename and long filename if any.
Robert
U4 2TB (Jan 2018) 19.3.20211010 , HDMI
T3 1TB (Dec 2014) 19.3.20211010 , Front Panel 20057, HDMI, Warkus'd 2018 & still going
IceTV, Series2Folder, OverlayHD 1.70
Samsung 55"OLED TV, Apple TV, ReadyNAS 214, Sonos Arc, Harmony Ultimate One
Windows 10
U4 2TB (Jan 2018) 19.3.20211010 , HDMI
T3 1TB (Dec 2014) 19.3.20211010 , Front Panel 20057, HDMI, Warkus'd 2018 & still going
IceTV, Series2Folder, OverlayHD 1.70
Samsung 55"OLED TV, Apple TV, ReadyNAS 214, Sonos Arc, Harmony Ultimate One
Windows 10
Re: Season/Episode info
I've just loaded this up and it's looking good so far. When appending to the filename it needs to be in the format .SnnEnn as this seems to be the convention that most information scrapers expect
-
- Uber Wizard
- Posts: 6490
- Joined: Thu Mar 05, 2009 22:54
- Location: Perth
Re: Season/Episode info
The "Long filenames" value for the "Composition of recording filenames" setting adds the short/extended event description -
YYYYMMDD HHMM - service name - recording name - description.ts
Re: Season/Episode info
I can detect if it's the words and append the shortened form.Grumpy_Geoff wrote: ↑Thu Dec 17, 2020 13:37But if (SnnEnn) is not in the short description, does that mean it won't be appended to the file name?
The file name would always be SnnEnn, the new option is intended to convert subtitles of the form "Season S, Episode E" to "Season S: Episode E" or vice versa.
I did use dot, but it got replaced with underscore later. There's no need for dot to be replaced (file names already use multiple dots), so I might remove it from the list of invalid characters.
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Season/Episode info
adoxa wrote: ↑Thu Dec 17, 2020 12:03Shouldn't be a problem to normalise it, if you prefer one over the other (another option? Or two: enable normalise, choose character). I should also be able to detect it and avoid adding the bracketed version.Grumpy_Geoff wrote: ↑Thu Dec 17, 2020 11:40'Series 2: Episode 48'
'Series 1, Episode 1'
Season 1 Episode 1
The season/episode numbers shouldn't normally need to be scraped out of the long description: there are distinct show fields "season" and "episode-num".
Note that the season isn't always in the range 0..99: it is sometimes the year, for example:
S2019E04 Just For Laughs
S2020E16 Basketball: WNBL - Woman's National Basketball League
S2020E228 The Drum
S2020E01 One Plus One
S2020E04 Landline Summer
and sometimes there are just more that 100 seasons:
S130E12 House Hunters
S125E06 House Hunters International
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
Re: Season/Episode info
That's what I use. There's no need to add the short form when the subtitle is already using the words.
I prepend a zero if it's one character, otherwise use it as is.Note that the season isn't always in the range 0..99...
From what I gather tinyMediaManager should be able to parse the underscore fine, but looks to recommend a dash. What else are you using?
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Season/Episode info
I see in Grumpy_Geoff's examples, there's one show that has no explicit season/episode number data, but has the information in the subtitle: The Cook's Pantry with Matt Sinclair.
It's not alone. Here are some other shows that are in the same state:
Mister Maker
Outback Truckers
Horrible Histories
The Cook's Pantry With Matt Sinclair
Poh & Co. Bitesize
They have a bit of a variety of Season/Series formats to scrape:
Series 3: Episode 15
Series 3 , Episode 16 [yes, there's random space in there!]
Series 3, Episode 18
Season 2, Episode 11
And some are just a mess:
The Amazing Race 2020 - Episode 12 - Now It's About Winning
Destination Flavour - China Bitesize: Episode 14
LPL Pro Rocket League 2020 - CS:GO Season 3 - Week 4 - Round 2
Lawn Bowls:The Bowls Show 2020 - Episode 20
It's not alone. Here are some other shows that are in the same state:
Mister Maker
Outback Truckers
Horrible Histories
The Cook's Pantry With Matt Sinclair
Poh & Co. Bitesize
They have a bit of a variety of Season/Series formats to scrape:
Series 3: Episode 15
Series 3 , Episode 16 [yes, there's random space in there!]
Series 3, Episode 18
Season 2, Episode 11
And some are just a mess:
The Amazing Race 2020 - Episode 12 - Now It's About Winning
Destination Flavour - China Bitesize: Episode 14
LPL Pro Rocket League 2020 - CS:GO Season 3 - Week 4 - Round 2
Lawn Bowls:The Bowls Show 2020 - Episode 20
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
-
- Uber Wizard
- Posts: 6490
- Joined: Thu Mar 05, 2009 22:54
- Location: Perth
Re: Season/Episode info
And just to be difficult; "Series" and "Season" -
Ready Steady Cook UK
'Series 18/19: Episode 34'
Series, United Kingdom, English, Entertainment, Game Show, Cooking, Season 1 Episode 34
Ready Steady Cook UK
'Series 18/19: Episode 34'
Series, United Kingdom, English, Entertainment, Game Show, Cooking, Season 1 Episode 34
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Season/Episode info
Grumpy_Geoff wrote: ↑Thu Dec 17, 2020 16:58And just to be difficult; "Series" and "Season" -
Ready Steady Cook UK
'Series 18/19: Episode 34'
Series, United Kingdom, English, Entertainment, Game Show, Cooking, Season 1 Episode 34
Yes, that's in my list of forms, but not the combined season numbers:
I missed the Ready Steady Cook example, because it's not one that needs screenscraping, because it has explicit season/episode-num metadata, though that doesn't agree with what's in the subtitle:Series 3, Episode 18
Season 2, Episode 11
Code: Select all
"season":"1","episode-num":"33",
"title":"Ready Steady Cook UK",
"subtitle":"Series 18/19: Episode 33"
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Season/Episode info
I've emailed Daniel Hall@IceTV about the inconsistencies in the season/episode data.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
Re: Season/Episode info
Those should now be recognised (the first will have a filename with S18_19E34).'Series 18/19: Episode 34'
Series 3: Episode 15
Series 3 , Episode 16 [yes, there's random space in there!]
Series 3, Episode 18
Season 2, Episode 11
Didn't bother with those.The Amazing Race 2020 - Episode 12 - Now It's About Winning
Destination Flavour - China Bitesize: Episode 14
LPL Pro Rocket League 2020 - CS:GO Season 3 - Week 4 - Round 2
Lawn Bowls:The Bowls Show 2020 - Episode 20
- Attachments
-
- enigma2-plugin-extensions-IceTVDesc_1.0.6.3_all.ipk
- (3.75 KiB) Downloaded 50 times
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Season/Episode info
It has conflicting season/episode-num data, which would make the filename string S01E33.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
Re: Season/Episode info
The subtitle contains season/episode info, so the short form is not appended, so the numbers are extracted directly from the subtitle, so that's S18/19E34, which is converted to S18_19E34.
Re: Season/Episode info
I've used both Plex and Emby.
Both of them have info on formatting https://support.plex.tv/articles/naming ... how-files/, https://support.emby.media/support/solu ... -tv-naming
Just taking a quick look it appears that they are fairly flexible on delimiters
Both of them have info on formatting https://support.plex.tv/articles/naming ... how-files/, https://support.emby.media/support/solu ... -tv-naming
Just taking a quick look it appears that they are fairly flexible on delimiters
-
- Uber Wizard
- Posts: 6490
- Joined: Thu Mar 05, 2009 22:54
- Location: Perth
Re: Season/Episode info
Bang with 1.0.6.3 -
It was chomping on -
Ready Steady Cook UK
'Series 18/19: Episode 34'
SBS Food, 6:00pm, Thu, 17 Dec 2020, 50 minutes
Comedians Les Dennis and Bobby Davro are the star guests on another classic 20-minute cooking challenge with Ainsley Harriott.
Ainsley Harriott
Series, United Kingdom, English, Entertainment, Game Show, Cooking, Season 1 Episode 34
Code: Select all
{661}< 40367.913> [RecordTimer] Found enough free space to record
{661}< 40367.915> Traceback (most recent call last):
{661}< 40367.916> File "/usr/lib/enigma2/python/timer.py", line 264, in calcNextActivation
{661}< 40367.936> File "/usr/lib/enigma2/python/timer.py", line 335, in processActivation
{661}< 40367.937> File "/usr/lib/enigma2/python/RecordTimer.py", line 1047, in doActivate
{661}< 40367.941> File "/usr/lib/enigma2/python/RecordTimer.py", line 521, in activate
{661}< 40367.941> File "/usr/lib/enigma2/python/RecordTimer.py", line 390, in tryPrepare
{661}< 40367.943> File "/usr/lib/enigma2/python/Plugins/Extensions/IceTVDesc/hook.py", line 25, in run
{661}< 40367.949> File "/usr/lib/enigma2/python/Plugins/Extensions/IceTVDesc/hook.py", line 78, in calculateFilename
{661}< 40367.949> NameError: global name 'show' is not defined
{661}< 40367.950> [ePyObject] (CallObject(<bound method RecordTimer.calcNextActivation of <RecordTimer.RecordTimer instance at 0x718d3b20>>,()) failed)
Ready Steady Cook UK
'Series 18/19: Episode 34'
SBS Food, 6:00pm, Thu, 17 Dec 2020, 50 minutes
Comedians Les Dennis and Bobby Davro are the star guests on another classic 20-minute cooking challenge with Ainsley Harriott.
Ainsley Harriott
Series, United Kingdom, English, Entertainment, Game Show, Cooking, Season 1 Episode 34
Re: Season/Episode info
Oh dear, another silly mistake.
They both look like they prefer Show Title - SnnEnn, so maybe - would be better; that would also fit the existing separators. For long names you'd also get - Episode Title, where I could temporarily remove the short form from the description, or use the short form if the description is using words.
- Attachments
-
- enigma2-plugin-extensions-IceTVDesc_1.0.6.4_all.ipk
- (3.75 KiB) Downloaded 61 times
-
- Uber Wizard
- Posts: 6490
- Joined: Thu Mar 05, 2009 22:54
- Location: Perth
Re: Season/Episode info
Using 1.0.6.4, this one didn't get the Sn/En filename annotation -
Horrible Histories
'Series 3, Episode 2'
ABC ME, 8:45am, Fri, 18 Dec 2020, 30 minutes
REPEAT
Medieval knights discover the most disgusting way to attack a castle, the Saxons demonstrate the stupidest way to lose a battle and the kings of England demonstrate how to remember them all, through the power of song.
Series, United Kingdom, English, Children, Comedy, Historical
Likely because no Season/Episode details were provided in the EPG data, just the subtitle/short description.
Horrible Histories
'Series 3, Episode 2'
ABC ME, 8:45am, Fri, 18 Dec 2020, 30 minutes
REPEAT
Medieval knights discover the most disgusting way to attack a castle, the Saxons demonstrate the stupidest way to lose a battle and the kings of England demonstrate how to remember them all, through the power of song.
Series, United Kingdom, English, Children, Comedy, Historical
Likely because no Season/Episode details were provided in the EPG data, just the subtitle/short description.
Code: Select all
{662}< 6598.250> [RecordTimer] Filename calculated as: '/media/hdd/movie/20201218 0840 - ABC ME - Horrible Histories'
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Season/Episode info
That's correct. There's no season/episode-num metadata for Horrible Histories (at least in the current EPG):Grumpy_Geoff wrote: ↑Fri Dec 18, 2020 11:22Likely because no Season/Episode details were provided in the EPG data, just the subtitle/short description.
No episode info: Horrible Histories:: Series 3, Episode 1
No episode info: Horrible Histories:: Series 3, Episode 2
No episode info: Horrible Histories:: Series 3, Episode 3
No episode info: Horrible Histories:: Series 3, Episode 4
No episode info: Horrible Histories:: Series 3, Episode 5
No episode info: Horrible Histories:: Series 3, Episode 6
No episode info: Horrible Histories:: Series 3, Episode 7
No episode info: Horrible Histories:: Series 3, Episode 8
No episode info: Horrible Histories:: Series 3, Episode 9
No episode info: Horrible Histories:: Series 3, Episode 10
No episode info: Horrible Histories:: Series 3, Episode 11
No episode info: Horrible Histories:: Series 3, Episode 13
(title:: short description format)
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
Re: Season/Episode info
Should be extracting it directly from the description:Grumpy_Geoff wrote: ↑Fri Dec 18, 2020 11:22Using 1.0.6.4, this one didn't get the Sn/En filename annotation -
Likely because no Season/Episode details were provided in the EPG data, just the subtitle/short description.
Code: Select all
>>> n = re.match(r"(?:Series|Season) ([\d/]+) *. *Episode (\d+)$", "Series 3, Episode 2")
>>> n.group(1)
'3'
>>> n.group(2)
'2'
>>>
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Season/Episode info
adoxa wrote: ↑Fri Dec 18, 2020 13:10Should be extracting it directly from the description:Grumpy_Geoff wrote: ↑Fri Dec 18, 2020 11:22Using 1.0.6.4, this one didn't get the Sn/En filename annotation -
Likely because no Season/Episode details were provided in the EPG data, just the subtitle/short description.
Peter's message suggests I need to detect leading spaces, but Geoff's does not (stripped out separately before display?).Code: Select all
>>> n = re.match(r"(?:Series|Season) ([\d/]+) *. *Episode (\d+)$", "Series 3, Episode 2") >>> n.group(1) '3' >>> n.group(2) '2' >>>
Sorry, that was a typo in my description of the "No episode" format. There are no leading spaces in those examples I posted: the space after the :: is part of the print format string. I've corrected the post.
But anyway, I'd be tending towards using re.search() rather than re.match() to catch things like:
No episode info: <Poh & Co.> <Bitesize: Series 2, Episode 6>
Format now "<title> <subtitle>".
Then whether there are leading spaces or not becomes moot.
I'd also be inclined to put " +" between the Season/Series/Episode strings and the number match rather than just a single space.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
Re: Season/Episode info
I did some basic tests this time, so let's see how this one goes.
I've replaced the dot separator with " - ". The long name will remove season/episode info from the description (if the description then becomes empty it will become the short form and the name is left alone). It checks for the words at the end of the description. Thus, with long names, you should have:
I've replaced the dot separator with " - ". The long name will remove season/episode info from the description (if the description then becomes empty it will become the short form and the name is left alone). It checks for the words at the end of the description. Thus, with long names, you should have:
Code: Select all
Morocco Fusion (S01E23) -> ... - S01E23 - Morocco Fusion.ts
Series 3, Episode 2 -> ... - S03E02.ts
Bitesize: Series 2, Episode 6 -> ... - S02E06 - Bitesize.ts
- Attachments
-
- enigma2-plugin-extensions-IceTVDesc_1.0.6.5_all.ipk
- (3.86 KiB) Downloaded 55 times
-
- Uber Wizard
- Posts: 6490
- Joined: Thu Mar 05, 2009 22:54
- Location: Perth
Re: Season/Episode info
Outback Truckers
'Season 3, Episode 2'
7mate HD, 4:30pm, Fri, 18 Dec 2020, 60 minutes
ON NOW REPEAT
Matt Adams pulls a high strung herd of bulls; and, the Stephens Brothers embark on a backwoods mission to save millions of irate bees.
Series, Australia, English, Real Life
==> 20201218 1625 - 7mateHD Perth - Outback Truckers - S03E02.ts
So that bit now works.
'Season 3, Episode 2'
7mate HD, 4:30pm, Fri, 18 Dec 2020, 60 minutes
ON NOW REPEAT
Matt Adams pulls a high strung herd of bulls; and, the Stephens Brothers embark on a backwoods mission to save millions of irate bees.
Series, Australia, English, Real Life
==> 20201218 1625 - 7mateHD Perth - Outback Truckers - S03E02.ts
So that bit now works.