Organising recorded shows
Organising recorded shows
Hello
I used to have a Tivo and when you recorded more than one of a series it would automatically put it into a folder of the same name. This simplified viewing the list of recorded shows. Is this possible on the T3 as I am a bit tired of having to go through a long list of shows in the movies folder
Dave
I used to have a Tivo and when you recorded more than one of a series it would automatically put it into a folder of the same name. This simplified viewing the list of recorded shows. Is this possible on the T3 as I am a bit tired of having to go through a long list of shows in the movies folder
Dave
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Organising recorded shows
It's sort-of possible in some cases.davids075 wrote:Hello
I used to have a Tivo and when you recorded more than one of a series it would automatically put it into a folder of the same name. This simplified viewing the list of recorded shows. Is this possible on the T3 as I am a bit tired of having to go through a long list of shows in the movies folder
Dave
You can set the Location setting on any timer you create by hand or from the EPG, and have the recordings for that timer go to any folder you want.
AutoTimers have a similar feature; enable Use a custom location and then set Custom location on the autotimer. That won't affect any of the timers that the Autotimer has already created, though.
There's no such facility for IceTV timers.
You can also manually move recordings into folders as they finish recording.
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: Organising recorded shows
Also, now that you can sort by name then reverse date, it makes it easy to find the particular show name that you want. Remember to use the left and right direction keys to page-up and page-down to help make seeking for your recordings faster.
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
Re: Organising recorded shows
You can also manually change IceTV timers location from the Timer listprl wrote:AutoTimers have a similar feature; enable Use a custom location and then set Custom location on the autotimer. That won't affect any of the timers that the Autotimer has already created, though.
There's no such facility for IceTV timers.
You can also manually move recordings into folders as they finish recording.
Tezza
Beyonwiz T4, 1TB internal WD Green HDD, 4TB USB Portable HDD
Beyonwiz T4, 500GB 2.5" internal HD
LG 500w sound bar
LG 70UF770T LED LCD 4K 70" TV
LG Magic Remote
Beyonwiz T4, 1TB internal WD Green HDD, 4TB USB Portable HDD
Beyonwiz T4, 500GB 2.5" internal HD
LG 500w sound bar
LG 70UF770T LED LCD 4K 70" TV
LG Magic Remote
Re: Organising recorded shows
How is that done? I have to press Sort 10 times to get recordings in correct time order for one dayMrQuade wrote:Also, now that you can sort by name then reverse date, it makes it easy to find the particular show name that you want.
Tezza
Beyonwiz T4, 1TB internal WD Green HDD, 4TB USB Portable HDD
Beyonwiz T4, 500GB 2.5" internal HD
LG 500w sound bar
LG 70UF770T LED LCD 4K 70" TV
LG Magic Remote
Beyonwiz T4, 1TB internal WD Green HDD, 4TB USB Portable HDD
Beyonwiz T4, 500GB 2.5" internal HD
LG 500w sound bar
LG 70UF770T LED LCD 4K 70" TV
LG Magic Remote
Re: Organising recorded shows
The sort button does not remember the setting. You need to press menu with the movie player open and configure it in your settings to make it stick.
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: Organising recorded shows
If you press Sort 10 times you will cycle right round and leave you exactly where you were before.tezza007 wrote:How is that done? I have to press Sort 10 times to get recordings in correct time order for one dayMrQuade wrote:Also, now that you can sort by name then reverse date, it makes it easy to find the particular show name that you want.
In the Movie Player, you can select the sort order from a menu using MENU>Sort... To sort by name then reverse date in the Movie Player, MENU, DOWN, DOWN, DOWN, OK, 6.
Either way of selecting the sort order (press BLUE Sort or MENU>Sort) will be remembered.
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: Organising recorded shows
It does for me. (Last Upgrade: 2015-03-03).MrQuade wrote:The sort button does not remember the setting. ...
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: Organising recorded shows
I don't think the term Movie Player should be used, as it isn't labeled that. I assumed you meant while a recording was playing, but no.
So I actually needed to go to Media, then into a directory with recordings, then Menu [which gives me Movie List Setup]/Sort by... [which gives me a Sort list:]then #3 By reverse date, then by reverse name
That gives me what I want, recordings listed by time, 1st to last
Thank you both for [sorta ] pointing me in the right direction
So I actually needed to go to Media, then into a directory with recordings, then Menu [which gives me Movie List Setup]/Sort by... [which gives me a Sort list:]then #3 By reverse date, then by reverse name
That gives me what I want, recordings listed by time, 1st to last
Thank you both for [sorta ] pointing me in the right direction
Tezza
Beyonwiz T4, 1TB internal WD Green HDD, 4TB USB Portable HDD
Beyonwiz T4, 500GB 2.5" internal HD
LG 500w sound bar
LG 70UF770T LED LCD 4K 70" TV
LG Magic Remote
Beyonwiz T4, 1TB internal WD Green HDD, 4TB USB Portable HDD
Beyonwiz T4, 500GB 2.5" internal HD
LG 500w sound bar
LG 70UF770T LED LCD 4K 70" TV
LG Magic Remote
Re: Organising recorded shows
Sorry, i must have been thinking of when you have not allowed unique per-folder settings or something. My bad.prl wrote:It does for me. (Last Upgrade: 2015-03-03).MrQuade wrote:The sort button does not remember the setting. ...
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: Organising recorded shows
We've been through that. I don't intend to change. I note the absence of a suggested viable alternative.tezza007 wrote:I don't think the term Movie Player should be used, ...
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: Organising recorded shows
Media list? Recordings list. Media Button? That's what the Media button takes you to, a list of media recordings.
That's what Menu/Recordings tales you to.
It's definitely not a movie player. At no point is it ever called Movie player by the T3
That's what Menu/Recordings tales you to.
It's definitely not a movie player. At no point is it ever called Movie player by the T3
Tezza
Beyonwiz T4, 1TB internal WD Green HDD, 4TB USB Portable HDD
Beyonwiz T4, 500GB 2.5" internal HD
LG 500w sound bar
LG 70UF770T LED LCD 4K 70" TV
LG Magic Remote
Beyonwiz T4, 1TB internal WD Green HDD, 4TB USB Portable HDD
Beyonwiz T4, 500GB 2.5" internal HD
LG 500w sound bar
LG 70UF770T LED LCD 4K 70" TV
LG Magic Remote
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Organising recorded shows
There is already another screen that is titled MediaPlayer. It's reached by MENU>Music, but it's quite capable of playing video (IIRC it was the screen the MEDIA took you to in early pre-release versions of the firmware). Other people have called the File Commander the Media Player.tezza007 wrote:Media list? Recordings list. Media Button? That's what the Media button takes you to, a list of media recordings.
That's what Menu/Recordings tales you to.
In what way is it not?tezza007 wrote:It's definitely not a movie player.
That can be remedied :tezza007 wrote:At no point is it ever called Movie player by the T3
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: Organising recorded shows
prl wrote:tezza007 wrote:Media list? Recordings list. Media Button? That's what the Media button takes you to, a list of media recordings.
That's what Menu/Recordings tales you to.
But it's not a media player either, it's just a listings screenprl wrote:There is already another screen that is titled MediaPlayer. It's reached by MENU>Music, but it's quite capable of playing video (IIRC it was the screen the MEDIA took you to in early pre-release versions of the firmware).
But not a Media/Recordings List.prl wrote:Other people have called the File Commander the Media Player.
tezza007 wrote:It's definitely not a movie player.
It's not playing anything. For example, Pot Player is a movie player, the list of files in say Explorer that you might click on to play in Pot Player is not a movie player. That's what this is, just a list of files, no different than Windows Explorer.prl wrote:In what way is it not?
tezza007 wrote:At no point is it ever called Movie player by the T3
Now if there was a button or menu option labeled Movie Player that got you to that screen then it would be more accurateprl wrote:That can be remedied :
Tezza
Beyonwiz T4, 1TB internal WD Green HDD, 4TB USB Portable HDD
Beyonwiz T4, 500GB 2.5" internal HD
LG 500w sound bar
LG 70UF770T LED LCD 4K 70" TV
LG Magic Remote
Beyonwiz T4, 1TB internal WD Green HDD, 4TB USB Portable HDD
Beyonwiz T4, 500GB 2.5" internal HD
LG 500w sound bar
LG 70UF770T LED LCD 4K 70" TV
LG Magic Remote
Re: Organising recorded shows
I wrote a plugin to do exactly that, but it's not automatic.
From the movie player you press menu, then select a new option "Move series recordings into folders". It is based on the show name, if more than one is found a folder is created and they are moved into it. Then a message box is shown with the moved shows listed. Would be good to automate this (maybe with cron) but I haven't bothered. Also need to refresh the movielist after running it (not sure how to automate that)
It's just a simple bit of python code, you have to install it manually in the filesystem. Unzip to /usr/lib/enigma2/python/Plugins/Extensions/Series2folder.
Restart GUI to make it visible.
From the movie player you press menu, then select a new option "Move series recordings into folders". It is based on the show name, if more than one is found a folder is created and they are moved into it. Then a message box is shown with the moved shows listed. Would be good to automate this (maybe with cron) but I haven't bothered. Also need to refresh the movielist after running it (not sure how to automate that)
It's just a simple bit of python code, you have to install it manually in the filesystem. Unzip to /usr/lib/enigma2/python/Plugins/Extensions/Series2folder.
Restart GUI to make it visible.
- Attachments
-
- Series2folder.zip
- Re-uploaded 07/08/2015
- (1.19 KiB) Downloaded 114 times
Last edited by BikeMike on Fri Aug 07, 2015 18:24, edited 2 times in total.
- simoncasey
- Wizard
- Posts: 1761
- Joined: Sun Apr 19, 2009 08:10
- Location: Melbourne
Re: Organising recorded shows
If you press the menu button while on that page it takes you to Movie List Setup and then Movie List Actions if you then select Settings...prl wrote:We've been through that. I don't intend to change. I note the absence of a suggested viable alternative.tezza007 wrote:I don't think the term Movie Player should be used, ...
So I would suggest "Movie List" as a reasonable alternative to movie player although I acknowledge that you can also access it from the media button and Menu>Videos(>Recordings)
Beyonwiz T4
- simoncasey
- Wizard
- Posts: 1761
- Joined: Sun Apr 19, 2009 08:10
- Location: Melbourne
Re: Organising recorded shows
I will give this a go. I particularly like the fact it only works if there is a duplicate.BikeMike wrote:I wrote a plugin to do exactly that, but it's not automatic.
From the movie player you press menu, then select a new option "Move series recordings into folders". It is based on the show name, if more than one is found a folder is created and they are moved into it. Then a message box is shown with the moved shows listed. Would be good to automate this (maybe with cron) but I haven't bothered. Also need to refresh the movielist after running it (not sure how to automate that)
It's just a simple bit of python code, you have to install it manually in the filesystem. Unzip to /usr/lib/enigma2/python/Plugins/Extensions/Series2folder.
Restart GUI to make it visible.
Without going through it, does/can it also look to see if a folder with the same name as the show already exist and then move the show into the existing folder?
Beyonwiz T4
Re: Organising recorded shows
Yes it does exactly thatsimoncasey wrote: Without going through it, does/can it also look to see if a folder with the same name as the show already exist and then move the show into the existing folder?
- simoncasey
- Wizard
- Posts: 1761
- Joined: Sun Apr 19, 2009 08:10
- Location: Melbourne
Re: Organising recorded shows
AwesomeBikeMike wrote:Yes it does exactly thatsimoncasey wrote: Without going through it, does/can it also look to see if a folder with the same name as the show already exist and then move the show into the existing folder?
That's the one thing I miss about my old humax, ie it put series recordings automatically into their own folder.
Something to play with.
Beyonwiz T4
Re: Organising recorded shows
Is the series folder that's created still in the main movies/recordings folder or do you have to exit that to get into the new folder?
Also, how is the folder sorted if in the main recordings folder - by oldest recorded show or newest?
Also, how is the folder sorted if in the main recordings folder - by oldest recorded show or newest?
3TB T3 on 4.4.20160729FW
DP-P1 on .320FW & life support...
DP-P1 on .320FW & life support...
- simoncasey
- Wizard
- Posts: 1761
- Joined: Sun Apr 19, 2009 08:10
- Location: Melbourne
Re: Organising recorded shows
Folders are sorted depending on your sort settings. There is a "flat" version of some sorts that treats a folder like a file eg if you used alphabet sort then the folder would appear alpha in the list along with files. This is really useful for this kind of folder as programs will appear alphabetically irrespective as to whether they are files or folders.diesel wrote: Also, how is the folder sorted if in the main recordings folder - by oldest recorded show or newest?
If you sort by date, then the folders are sorted by date too based on their contents.
The folder sorting is as per T3 sorting, unrelated to this code.
Beyonwiz T4
Re: Organising recorded shows
Yes. At the moment this folder is hard-coded, I did not figure out how to get it from settings.diesel wrote:Is the series folder that's created still in the main movies/recordings folder
I assume the folder date will update to "now" every time you add a show to it. But I sort my folder "flat A-Z" so single shows and series folders are all alphabetical in the list. Within folders sort as normal with the blue button.diesel wrote:Also, how is the folder sorted if in the main recordings folder - by oldest recorded show or newest?
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Organising recorded shows
The config object for MENU>Setup>TV>Recording settings>Default movie location is config.movielist.videodirs.BikeMike wrote:Yes. At the moment this folder is hard-coded, I did not figure out how to get it from settings.diesel wrote:Is the series folder that's created still in the main movies/recordings folder
...
Use it as (for example):
Code: Select all
from Components.config import config
...
def movieDir():
return config.movielist.videodirs.value
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: Organising recorded shows
Thanks! But this returns a list, so I used config.movielist.videodirs.value[0]prl wrote: The config object for MENU>Setup>TV>Recording settings>Default movie location is config.movielist.videodirs.
Last edited by BikeMike on Sun Mar 08, 2015 11:29, edited 1 time in total.
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Organising recorded shows
Sorry! I looked at the wrong place.BikeMike wrote:Thanks! But this returns a list, so I used config.movielist.videodirs.value[0]prl wrote: The config object for MENU>Setup>TV>Recording settings>Default movie location is config.movielist.videodirs.
Updated plugin attached.
The right way to do it is:
Code: Select all
from Components.UsageConfig import defaultMoviePath
...
defaultMovieDir = defaultMoviePath()
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: Organising recorded shows
OK, I will change to use that.
Any suggestions on how to refresh the movie list after moving recordings?
Any suggestions on how to refresh the movie list after moving recordings?
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Organising recorded shows
Sorry, no.
The Movie Player list doesn't update to show initiation, progress or completion of recordings while the folder's list stays on the screen, either, nor any other changes outside its direct control..
The Movie Player list doesn't update to show initiation, progress or completion of recordings while the folder's list stays on the screen, either, nor any other changes outside its direct control..
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: Organising recorded shows
Updated plugin added to the original post here: viewtopic.php?f=51&t=8874&p=119170#p119170
What does it do?
Get the recordings folder from T3 settings.
Sort "series recordings" into folders based on show name
* if more than one recording
* if one recording and the series folder already exists
Plugin is accessed from the movie list menu while a recording (not a folder) is highlighted
After running the plugin, exit/re-enter the movie list to refresh it.
What does it do?
Get the recordings folder from T3 settings.
Sort "series recordings" into folders based on show name
* if more than one recording
* if one recording and the series folder already exists
Plugin is accessed from the movie list menu while a recording (not a folder) is highlighted
After running the plugin, exit/re-enter the movie list to refresh it.
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Organising recorded shows
Bikemike, the zip file with the Series2folder plugin in it seems to have been corrupted in the Great Hack Attack of May '15.
Could you replace the attachment in your post with a good copy?
Thanks
Could you replace the attachment in your post with a good copy?
Thanks
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: Organising recorded shows
I found a slight oddity that is probably more of a bug in the base firmware rather than this plugin.
I let the plugin move all of my recordings into folders, but one of the folders went very wrong.
The series was "Good Game: SP"
In the media player, I can see the folder but it is empty.
In the file manager, I can go into the folder and see all of the recordings.
When I browse to the folder over the network, I can't see a folder called "Good Game: SP", but I can see one called "G93LHL~V" which contains the media files (They are named Good Game_ SP from windows)
The .ts files will not play from the file manager. Fe file manager shows the folder with the ":" and the files with the "_".
I think the script or something else has problems with the colon.
I let the plugin move all of my recordings into folders, but one of the folders went very wrong.
The series was "Good Game: SP"
In the media player, I can see the folder but it is empty.
In the file manager, I can go into the folder and see all of the recordings.
When I browse to the folder over the network, I can't see a folder called "Good Game: SP", but I can see one called "G93LHL~V" which contains the media files (They are named Good Game_ SP from windows)
The .ts files will not play from the file manager. Fe file manager shows the folder with the ":" and the files with the "_".
I think the script or something else has problems with the colon.
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
Re: Organising recorded shows
The colon is not a valid character for filenames, or folders.MrQuade wrote:
I think the script or something else has problems with the colon.
Re: Organising recorded shows
The files themselves did not have colons in them, but the show title did, and that is what shows up in the Media browser.
AFAIK colons are valid character for filenames....they're just not a good idea.
The dodgy folder that was created shows up as "Good Game: SP" in the media browser, the file commander, and the command prompt, but has the dodgy name when browsed from the network.
AFAIK colons are valid character for filenames....they're just not a good idea.
The dodgy folder that was created shows up as "Good Game: SP" in the media browser, the file commander, and the command prompt, but has the dodgy name when browsed from the network.
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: Organising recorded shows
It's a generic problem with folder names containing colons. If you make a folder with a colon in its name manually in the Movie Player, the Movie Player will let you mover recordings there, but once you move the recording into the folder, the recordings disappear from the Movie Player.
I think it's a bug in the Movie Player (and perhaps elsewhere, like the file commander, too).
I think it's a bug in the Movie Player (and perhaps elsewhere, like the file commander, too).
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: Organising recorded shows
OK, I've found the cause of the problem with colons (':') in directory names.
The UI code for displaying files and recordings uses servicerefs as handles for the files.
The description of the serviceref in the linked post is incomplete, though.
The post has a serviceref as:
REFTYPE:FLAGS:STYPE:SID:TSID:ONID:NS:PARENT_SID:PARENT_TSID:UNUSED:PATH
but it's actually
REFTYPE:FLAGS:STYPE:SID:TSID:ONID:NS:PARENT_SID:PARENT_TSID:UNUSED:PATH:NAME
where NAME is used to hold various bits of data associated with the serviceref (the song title for an MP3, or a list of extra extensions to be looked at in a file system directory of media files, for example).
The problem with file name paths with colons is caused by incorrect use of the constructor for a service ref from the string representation of the service ref:
If path is, say, "/a/b/c:d" you might see where the problem lies: the serviceref will be:
"2:0:1:0:0:0:0:0:0:0:/a/b/c:d"
That is, the PATH will be "/a/b/c" (not "/a/b/c:d") and the NAME will be "d".
The code of the eServiceReference constructor actually makes provision for this. If done this way, the code should be:
so that the string representation of the URL will be:
"2:0:1:0:0:0:0:0:0:0:/a/b/c%3Ad"
and the PATH will be decoded in the constructor so that the path is "/a/b/c:d" and the NAME is "".
But there's an even better alternative:
It's even more efficient, and more informative to the reader of the code: the reftype is "file system" and the flags indicate that it's a directory.
Fixing this in Screens.MovieSelection and Components.MovieList allows the contents of folders whose names contain ':' to be seen.
The problem isn't restricted to the Movie Player. There are instances of the same thing in the FileCommander plugin and in Components.FileList. I haven't looked at those yet. There's an instance of it in the SHOUTcast plugin, too, but there colons are handled correctly (though not, for some mysterious reason, by using urllib.encode(), which means that "%" in those paths might not work properly).
And yes, I will fix the documentation
The UI code for displaying files and recordings uses servicerefs as handles for the files.
The description of the serviceref in the linked post is incomplete, though.
The post has a serviceref as:
REFTYPE:FLAGS:STYPE:SID:TSID:ONID:NS:PARENT_SID:PARENT_TSID:UNUSED:PATH
but it's actually
REFTYPE:FLAGS:STYPE:SID:TSID:ONID:NS:PARENT_SID:PARENT_TSID:UNUSED:PATH:NAME
where NAME is used to hold various bits of data associated with the serviceref (the song title for an MP3, or a list of extra extensions to be looked at in a file system directory of media files, for example).
The problem with file name paths with colons is caused by incorrect use of the constructor for a service ref from the string representation of the service ref:
Code: Select all
self.current_ref = eServiceReference("2:0:1:0:0:0:0:0:0:0:" + path)
"2:0:1:0:0:0:0:0:0:0:/a/b/c:d"
That is, the PATH will be "/a/b/c" (not "/a/b/c:d") and the NAME will be "d".
The code of the eServiceReference constructor actually makes provision for this. If done this way, the code should be:
Code: Select all
import urllib
self.current_ref = eServiceReference("2:0:1:0:0:0:0:0:0:0:" + urllib.encode(path))
"2:0:1:0:0:0:0:0:0:0:/a/b/c%3Ad"
and the PATH will be decoded in the constructor so that the path is "/a/b/c:d" and the NAME is "".
But there's an even better alternative:
Code: Select all
self.current_ref = eServiceReference(eServiceReference.idFile, eServiceReference.isDirectory, path)
Fixing this in Screens.MovieSelection and Components.MovieList allows the contents of folders whose names contain ':' to be seen.
The problem isn't restricted to the Movie Player. There are instances of the same thing in the FileCommander plugin and in Components.FileList. I haven't looked at those yet. There's an instance of it in the SHOUTcast plugin, too, but there colons are handled correctly (though not, for some mysterious reason, by using urllib.encode(), which means that "%" in those paths might not work properly).
And yes, I will fix the documentation
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: Organising recorded shows
Sweet!
I wasn't even going to suggest trying to fix the underlying plugin's handling of colons, but you have excelled yourself there!! Bravo!
I figured the effort involved, even though it would be the correct fix, would be fairly monumental!
I wasn't even going to suggest trying to fix the underlying plugin's handling of colons, but you have excelled yourself there!! Bravo!
I figured the effort involved, even though it would be the correct fix, would be fairly monumental!
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: Organising recorded shows
It turns out it's not so bad. Most of the problems are in MovieList and MovieSelection, and they're already fixed (for me )MrQuade wrote:Sweet!
I wasn't even going to suggest trying to fix the underlying plugin's handling of colons, but you have excelled yourself there!! Bravo!
I figured the effort involved, even though it would be the correct fix, would be fairly monumental!
BUG: #411: Colons in folder names can cause confusion
As for the limitations of Windows filenames, it's not just colon that will cause you grief!
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: Organising recorded shows
I have submitted a fix for this to the repository.prl wrote:...
BUG: #411: Colons in folder names can cause confusion
...
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: Organising recorded shows
I've moved discussion of the version of Series2Folder that I distributed as a package to Series2folder plugin, in preparation for a new release
The new release has a Star6key setting that allows the generated folder names to be mangled to accommodate an operating system that limits the characters in its filenames to suit to the syntax of a 1980s vintage command shell. The setting is on by default to reflect the at least numerical superiority of that operating system.
The new release has a Star6key setting that allows the generated folder names to be mangled to accommodate an operating system that limits the characters in its filenames to suit to the syntax of a 1980s vintage command shell. The setting is on by default to reflect the at least numerical superiority of that operating system.
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