Sort now playing list on tivo GUI
+folders
Version 0.61
Now you can:
sort your programmes alphabetically, grouped by series
sort by duration (longer shows/films to the bottom)
add episode titles/film years to the now-playing list youtube video
restore / undelete deleted programmes youtube video
Screenshots: Normal, With episode titles added, and A-Z sorted
Added a quick video on youtube: [media]http://www.youtube.com/watch?v=x3rHtLfYrZU[/media]
Requirements:
Make sure you have newtext2osd (included) installed in /var/hack/bin
Usage:
Run the script and enter now-playing on tivo.
Special Remote Keys:
Pause
- when on a folder, expands that folder
- when on a normal show, will make a folder for that show
Replay
- sorts the list alphabetically
Skip
-sorts the list by date
Thumbs Up / Down
-navigates to the top / bottom of the now playing list
Menus
Pressing (0) on the remote brings up a menu.
(1) Sort alphabetically (A-Z)
(2) Sort by Duration (i.e longer shows/films at the bottom)
(3) Sort by Date (as normal)
All these options make tivo switch to tivo-central,
and then auto-returns to now-playing with the list sorted several seconds later (be patient!)
(4) Add /remove episode titles
This one changes titles to include the episode title, and adds the year to films
e.g. Friends => Friends: The one with the Fish
Jaws => Jaws (1975)
Top Gear => Top Gear: The Aston Martin DB9
(4) Make Folders
Groups shows into folders
(5) Expands the folders back out again to normal.
Selecting a folder, then pressing pause to expand it will
show just episodes of that series at the top of now-playing.
Pressing (8) kills the program.
-help: list options
-addtitles: add episode titles
-addeps: enable background adding of episode titles
-deltitles: remove episode titles
-sortdate: Sort by Date (normal tivo view)
-sortaz: Sort alphabetically
-sortza: Sort reverse alphabetically
-nogui: exit script immediately after doing above actions
The above command line actions happen at startup only, and the GUI stays on unless you specify the -nogui option.
To use any of the folder functionality, you must have run
./fixmwstate.tcl
and then rebooted once. Otherwise you'll get mwstate errors when using individual folders.
Normally you'll just run it with no options,
./sortnp.tcl
or put the following in rc.sysinit.author:
/var/hack/sortnp.tcl >/dev/null &
# Version 0.61
#
# 0.58
# white progress bar instead of percentages
# stops it getting confused if you change screen while sorting
# changed code for jump to top/bottom of NPL to use bonks(!)
# 0.56
# Remote shortcut keys, much faster folder operation.
# programmes in folders now show episode info (see screenshot)
# 0.53
# minor bugfixes, process priority, to fix some stuttering issues.
#0.52
# - changed single folder creation/expansion from buttons 1/2 to pause key
# 0.48
# - added transactionholdoff - speeds up all operations
# 0.47
# bugfixes: sometimes showed 0.00 as duration
# 0.46
# - added sort by duration (mainly for films)
#- thumbs up/down to go to top/bottom of nowplaying
# - background adding of episode titles
# - progress when sorting
+folders
Version 0.61
Now you can:
sort your programmes alphabetically, grouped by series
sort by duration (longer shows/films to the bottom)
add episode titles/film years to the now-playing list youtube video
restore / undelete deleted programmes youtube video
Screenshots: Normal, With episode titles added, and A-Z sorted



Added a quick video on youtube: [media]http://www.youtube.com/watch?v=x3rHtLfYrZU[/media]
Requirements:
Make sure you have newtext2osd (included) installed in /var/hack/bin
Usage:
Run the script and enter now-playing on tivo.
Special Remote Keys:
Pause
- when on a folder, expands that folder
- when on a normal show, will make a folder for that show
Replay
- sorts the list alphabetically
Skip
-sorts the list by date
Thumbs Up / Down
-navigates to the top / bottom of the now playing list
Menus
Pressing (0) on the remote brings up a menu.
(1) Sort alphabetically (A-Z)
(2) Sort by Duration (i.e longer shows/films at the bottom)
(3) Sort by Date (as normal)
All these options make tivo switch to tivo-central,
and then auto-returns to now-playing with the list sorted several seconds later (be patient!)
(4) Add /remove episode titles
This one changes titles to include the episode title, and adds the year to films
e.g. Friends => Friends: The one with the Fish
Jaws => Jaws (1975)
Top Gear => Top Gear: The Aston Martin DB9
(4) Make Folders
Groups shows into folders



(5) Expands the folders back out again to normal.
Selecting a folder, then pressing pause to expand it will
show just episodes of that series at the top of now-playing.

Pressing (8) kills the program.
-help: list options
-addtitles: add episode titles
-addeps: enable background adding of episode titles
-deltitles: remove episode titles
-sortdate: Sort by Date (normal tivo view)
-sortaz: Sort alphabetically
-sortza: Sort reverse alphabetically
-nogui: exit script immediately after doing above actions
The above command line actions happen at startup only, and the GUI stays on unless you specify the -nogui option.
To use any of the folder functionality, you must have run
./fixmwstate.tcl
and then rebooted once. Otherwise you'll get mwstate errors when using individual folders.
Normally you'll just run it with no options,
./sortnp.tcl
or put the following in rc.sysinit.author:
/var/hack/sortnp.tcl >/dev/null &
# Version 0.61
#
# 0.58
# white progress bar instead of percentages
# stops it getting confused if you change screen while sorting
# changed code for jump to top/bottom of NPL to use bonks(!)
# 0.56
# Remote shortcut keys, much faster folder operation.
# programmes in folders now show episode info (see screenshot)
# 0.53
# minor bugfixes, process priority, to fix some stuttering issues.
#0.52
# - changed single folder creation/expansion from buttons 1/2 to pause key
# 0.48
# - added transactionholdoff - speeds up all operations
# 0.47
# bugfixes: sometimes showed 0.00 as duration
# 0.46
# - added sort by duration (mainly for films)
#- thumbs up/down to go to top/bottom of nowplaying
# - background adding of episode titles
# - progress when sorting
Attachments
-
11.7 KB Views: 62