TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Underground Playground > TiVo Underground
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 01-18-2003, 05:09 AM   #1
LJ
Registered User
 
LJ's Avatar
 
Join Date: Nov 2001
Location: West Sussex, England
Posts: 773
Smile TiVoWeb module: Now Playing with Folders and Sort

Just posted a new module to my website.

Enjoy
__________________
Latest versions of my TiVoWeb modules: Now Playing with Folders and Sort; What's On; Show series conflicts; Showcase etc are
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
LJ is offline   Reply With Quote
Old 01-18-2003, 10:31 AM   #2
SteveTheITGuy
Registered User
 
Join Date: Oct 2002
Posts: 71
Error

LJ,

Yet another excelent idea by LJ!!

However, when I ran it, I received the following error message (did a full restart too):

--cut here--
action_npf '/' ''
invalid command name "print_nowplayingrow"
while executing
"print_nowplayingrow $chan $rec2 [lindex $show 0] $rcount"
("uplevel" body line 3)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
set rec2 [db $db openid [lindex $show 1]]
print_nowplayingrow $chan $rec2 [lindex $show 0] $rcount
incr rcoun..."
(procedure "::action_npf" line 350)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--


Let me know if you need me to do anything.

Steve
__________________
Steve
-------
Sony SVR-2000, 3.0-01-1-010, 193Hrs, TurboNet and TivoWeb
Sony SVR-2000, 3.0-01-1-010, 298Hrs, TurboNet and TivoWeb
SteveTheITGuy is offline   Reply With Quote
Old 01-18-2003, 01:25 PM   #3
LJ
Registered User
 
LJ's Avatar
 
Join Date: Nov 2001
Location: West Sussex, England
Posts: 773
Oops! Posted version 2.1 which should fix that!
__________________
Latest versions of my TiVoWeb modules: Now Playing with Folders and Sort; What's On; Show series conflicts; Showcase etc are
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
LJ is offline   Reply With Quote
Old 01-18-2003, 02:06 PM   #4
SteveTheITGuy
Registered User
 
Join Date: Oct 2002
Posts: 71
LJ,

Works like a champ! Thanks.

So... where are you storing the folder info -- kinside the tivo db or inside another text file in the tivoweb-tcl directory. If the tivoweb dir, where and what is the name of the file???
__________________
Steve
-------
Sony SVR-2000, 3.0-01-1-010, 193Hrs, TurboNet and TivoWeb
Sony SVR-2000, 3.0-01-1-010, 298Hrs, TurboNet and TivoWeb
SteveTheITGuy is offline   Reply With Quote
Old 01-18-2003, 02:54 PM   #5
LJ
Registered User
 
LJ's Avatar
 
Join Date: Nov 2001
Location: West Sussex, England
Posts: 773
Glad that fixed it!

The folder data is stored in a file called 'npf' in /var/hack. (I did have it in /var/tmp, but it looks like that directory gets cleared when your TiVo reboots )

The file stores a list of lists. The first entry of each sub-list is the folder name. Then there are zero or more fsids for programmes you've assigned to that folder.

Possible future enhancements that've come to mind so far:

* Sort the folder list - at the moment it stays in whatever order you create the folders. Into alphabetic order would be the easiest option

* Auto-assign new recordings to folders - maybe by series or keyword or a combination of both... not sure yet. Ideas anyone?

I notice TiVo have gone for a grouping option on the new kit they showed at CES. Maybe that's a possibility too...
__________________
Latest versions of my TiVoWeb modules: Now Playing with Folders and Sort; What's On; Show series conflicts; Showcase etc are
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
LJ is offline   Reply With Quote
Old 01-18-2003, 03:45 PM   #6
SteveTheITGuy
Registered User
 
Join Date: Oct 2002
Posts: 71
LJ,

I think both those "future" enhancements are good ideas. The 2nd one really seems cool. I would figure the best option would be based on the ID that points to the series program ID (FSID???) then you could do it for every episode easily.

I 'm hoping that Tivo will add the folder option (and the MP3 player !!!) for our Series 1 Tivos too. Only time will tell.
__________________
Steve
-------
Sony SVR-2000, 3.0-01-1-010, 193Hrs, TurboNet and TivoWeb
Sony SVR-2000, 3.0-01-1-010, 298Hrs, TurboNet and TivoWeb
SteveTheITGuy is offline   Reply With Quote
Old 01-18-2003, 06:00 PM   #7
Vespa
Curious
 
Join Date: Jan 2002
Location: 37.1400(N) -115.4900(W)
Posts: 105
Umm...what is the link?

Update: Never mind...found it in your profile.
Vespa is offline   Reply With Quote
Old 01-19-2003, 04:10 PM   #8
LJ
Registered User
 
LJ's Avatar
 
Join Date: Nov 2001
Location: West Sussex, England
Posts: 773
Just posted version 2.3 which adds auto-assignment by Series and folder sorting.

(Version 2.2 added a new sort order: 'By Folder' and added the 'Mins' column back into the Assign view.)

Suggestions for other features anyone?
__________________
Latest versions of my TiVoWeb modules: Now Playing with Folders and Sort; What's On; Show series conflicts; Showcase etc are
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
LJ is offline   Reply With Quote
Old 01-19-2003, 06:25 PM   #9
SteveTheITGuy
Registered User
 
Join Date: Oct 2002
Posts: 71
LJ,

More great features added! Good job.

While I was organizing my forlders, I came up with a few minor suggestions:

1) Have a category for "unassigned" to quickly find the programs you do not current have assigned to anything - showing all programs makes you sift through everything to find the "unassigned" ones.

2) Give the ability to sort programs by group and/or by program title within the assign listing. Would also be nice to sort by program name to make assigning easier.
__________________
Steve
-------
Sony SVR-2000, 3.0-01-1-010, 193Hrs, TurboNet and TivoWeb
Sony SVR-2000, 3.0-01-1-010, 298Hrs, TurboNet and TivoWeb
SteveTheITGuy is offline   Reply With Quote
Old 01-19-2003, 09:22 PM   #10
TivoDoc
Registered User
 
Join Date: Dec 2002
Location: New Jersey
Posts: 80
new tivoweb question

Sorry to be asking a dumb-ass question but I just got the Tivo-web working a few weeks ago and this is the first additional module I am loading.

Do I simply transfer the text file 'npf.txt' to the modules directory or is there an 'itcl' file as well?

Jeff
TivoDoc is offline   Reply With Quote
Old 01-19-2003, 10:13 PM   #11
SteveTheITGuy
Registered User
 
Join Date: Oct 2002
Posts: 71
TivoDoc,

No trouble:

1) Rename the file with the itcl extension (in your case npf.itcl)
2) FTP it to you tivoweb-tcl/modules directory
3) Do a "Quick Restart" from tivoweb.

Good luck.
__________________
Steve
-------
Sony SVR-2000, 3.0-01-1-010, 193Hrs, TurboNet and TivoWeb
Sony SVR-2000, 3.0-01-1-010, 298Hrs, TurboNet and TivoWeb
SteveTheITGuy is offline   Reply With Quote
Old 01-19-2003, 11:46 PM   #12
jodell
TiVo geek
 
Join Date: Jul 2002
Location: Irvine, CA
Posts: 114
LJ,

Very cool addition to TivoWeb. Thanks for the hard work.

Jeff
jodell is offline   Reply With Quote
Old 01-20-2003, 10:48 AM   #13
km
Registered User
 
Join Date: Nov 2001
Location: Atlanta. Ga. USA
Posts: 62
This module helps organize the now playing list on a single Tivo.

Any chance of adding support to unify the now playing list of
more than one Tivo? It comes to mind since you are now storing
persistant info in /var/hack. Perhaps one tivo could store
the now playing info from others and present a unifed view
through the module.

Quite a leap I guess.
km is offline   Reply With Quote
Old 01-20-2003, 11:57 AM   #14
LJ
Registered User
 
LJ's Avatar
 
Join Date: Nov 2001
Location: West Sussex, England
Posts: 773
Quote:
Originally posted by SteveTheITGuy
More great features added! Good job.
Quote:
1) Have a category for "unassigned" to quickly find the programs you do not current have assigned to anything - showing all programs makes you sift through everything to find the "unassigned" ones.
*nod* I agree.
Quote:
2) Give the ability to sort programs by group and/or by program title within the assign listing. Would also be nice to sort by program name to make assigning easier.
*nod* I guess this solves 1) - you could just sort by assigned folder.

jodell: Glad you like it. Now we just need to persuade TiVo to put it in the series 1 UI !

Quote:
Originally posted by km
Quite a leap I guess.
*nod* Give me a second TiVo to play with and I'll have a look
__________________
Latest versions of my TiVoWeb modules: Now Playing with Folders and Sort; What's On; Show series conflicts; Showcase etc are
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
LJ is offline   Reply With Quote
Old 01-20-2003, 04:27 PM   #15
LJ
Registered User
 
LJ's Avatar
 
Join Date: Nov 2001
Location: West Sussex, England
Posts: 773
Just posted version 2.4 - this version rearranges the menu lines to be a bit more intuitive - the sort line only appears when it's active. Also adds sorting to the assignment screen.
__________________
Latest versions of my TiVoWeb modules: Now Playing with Folders and Sort; What's On; Show series conflicts; Showcase etc are
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
LJ is offline   Reply With Quote
Old 01-30-2003, 05:40 AM   #16
LJ
Registered User
 
LJ's Avatar
 
Join Date: Nov 2001
Location: West Sussex, England
Posts: 773
Just posted version 2.5 to my website - this one adds a new 'Unassigned' menu option. It also defaults to 'by folder' sort next time if the sort line isn't displayed. Have also renamed it from npf.itcl to folders.itcl so it appears in alphabetic order in the menu line.
__________________
Latest versions of my TiVoWeb modules: Now Playing with Folders and Sort; What's On; Show series conflicts; Showcase etc are
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
LJ is offline   Reply With Quote
Old 01-30-2003, 10:37 PM   #17
TimTrace
Join the TiVolution!
 
TimTrace's Avatar
 
Join Date: Aug 2001
Location: St. Louis MO USA
Posts: 135
I love you, man.

I do, however, get this message when I try to view show details:

INTERNAL SERVER ERROR
--cut here--
action_showing '/868299/11' ''
can't read "genrenums": no such variable
while executing
"lsearch $genrenums $genre"
("foreach" body line 2)
invoked from within
"foreach genre $genres {
set genreindex [lsearch $genrenums $genre]
if { $genreindex != -1 } {
if { $genrestr != "" } {
append ..."
("uplevel" body line 255)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
if { [regexp {([0-9]*)/(.*)} $objectid junk fsid subobjid] } {
set showing [db $db openidconstruction $fsid $subobjid]
} els..."
(procedure "::action_showing" line 47)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--
TimTrace is offline   Reply With Quote
Old 01-31-2003, 03:26 AM   #18
LJ
Registered User
 
LJ's Avatar
 
Join Date: Nov 2001
Location: West Sussex, England
Posts: 773
That'll be because TiVo changed the genres - there's a fix for that here.
__________________
Latest versions of my TiVoWeb modules: Now Playing with Folders and Sort; What's On; Show series conflicts; Showcase etc are
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
LJ is offline   Reply With Quote
Old 02-17-2003, 05:47 PM   #19
stevehaley
Registered User
 
Join Date: Feb 2002
Location: London
Posts: 65
Could you add the series no to the view please.
stevehaley is offline   Reply With Quote
Old 03-10-2003, 07:36 PM   #20
sterl1i
New Member
 
Join Date: May 2002
Location: Missouri
Posts: 20
I have my Tivo Series2 hooked up to a Linksys USB 10/100tx adapter and then to my Linksys router. I can get the updates from Tivo and my router shows the Tivo but I can't FTP it to access the files.

How do I do this?
__________________
Thanks,

sterl1i

System: Mac Powerbook G4, OS 10.2.4, Linksys router (BEFSR41), Toshiba PCX2000 cable internet modem, Tivo Series 2 80-hr with Linksys USB 10/100tx USB to Ethernet Adapter
sterl1i is offline   Reply With Quote
Old 03-10-2003, 09:41 PM   #21
BBQ Chicken
Bling Bling
 
BBQ Chicken's Avatar
 
Join Date: Nov 2002
Location: west coast
Posts: 435
Quote:
Originally posted by sterl1i
I have my Tivo Series2 hooked up to a Linksys USB 10/100tx adapter and then to my Linksys router. I can get the updates from Tivo and my router shows the Tivo but I can't FTP it to access the files.

How do I do this?
As far as i know this is for series 1 only as Tivo locked out the series 2 from all the hacks.
BBQ Chicken is offline   Reply With Quote
Old 03-11-2003, 09:58 AM   #22
sterl1i
New Member
 
Join Date: May 2002
Location: Missouri
Posts: 20
When has a "lock out" ever mattered to hacks? Where's your sense of challege? If you can "climb a mountain because it's there," you certainly can "hack a lock out because it's there"!!!!
__________________
Thanks,

sterl1i

System: Mac Powerbook G4, OS 10.2.4, Linksys router (BEFSR41), Toshiba PCX2000 cable internet modem, Tivo Series 2 80-hr with Linksys USB 10/100tx USB to Ethernet Adapter
sterl1i is offline   Reply With Quote
Old 03-11-2003, 10:02 AM   #23
Combat Medic
No guts, no glory
 
Combat Medic's Avatar
 
Join Date: Sep 2001
Location: San Antonio, Texas
Posts: 6,621
Come on Chicken I've got TivoWeb on my series 2 HDVR2 the unhackable box. Some things have issues, but it works great.

-Mike
__________________
Be polite. Be professional. But... have a plan to kill everyone you meet.
Combat Medic is offline   Reply With Quote
Old 03-11-2003, 11:00 AM   #24
sterl1i
New Member
 
Join Date: May 2002
Location: Missouri
Posts: 20
Combat Medic:

You can't be calling me a chicken! I can't even hack my own computer much less anything else! I render anything useless with one touch that's why I come here -- to consult the EXPERTS!
__________________
Thanks,

sterl1i

System: Mac Powerbook G4, OS 10.2.4, Linksys router (BEFSR41), Toshiba PCX2000 cable internet modem, Tivo Series 2 80-hr with Linksys USB 10/100tx USB to Ethernet Adapter
sterl1i is offline   Reply With Quote
Old 03-11-2003, 12:52 PM   #25
Combat Medic
No guts, no glory
 
Combat Medic's Avatar
 
Join Date: Sep 2001
Location: San Antonio, Texas
Posts: 6,621
No actually I was playing with BBQ Chicken.

-Mike
__________________
Be polite. Be professional. But... have a plan to kill everyone you meet.
Combat Medic is offline   Reply With Quote
Old 06-07-2003, 05:39 PM   #26
dms92969
Registered User
 
Join Date: May 2003
Location: New Jersey
Posts: 34
Folder Problem startup

I can't get Nowplaying or the folder addition to work.. this is what I get...


Please help.. Thanks


bash-2.02# tivoweb console
bash-2.02# TiVo Web Project - TCL - v1.9.4
The program comes with ABSOLUTELY NO WARRANTY.
This program is licensed under the GPL.
See the 'copyright' and 'README' files for copyright and credit information.
Loading modules...
folders
NONE can't read "::uktivo": no such variable
while executing
"if {$::uktivo} {
register_module "folders" "Folders" "Now Playing with Sort and Folders"
} else {
register_module "folders" "Folders" "Now Showing w..."
(file "/hack/tivoweb-tcl/modules/folders.itcl" line 911)
invoked from within
"source $module "
index
NONE can't read "LogoGroups": no such variable
while executing
"foreach fsid $LogoGroups {
RetryTransaction {
set LogoGroupEntry [db $db openid $fsid]
set LogoGroupSpace [dbobj $LogoGroupEntry..."
(procedure "init_logoindex" line 16)
invoked from within
"init_logoindex"
(file "/hack/tivoweb-tcl/modules/index.itcl" line 541)
invoked from within
"source $module "
info
logos
logs
mail
mfsbrowser
now_playing
phone
resources
Loaded 89 resource definitions
sched
screen
search
theme
ui
webremote
Accepting Connections
dms92969 is offline   Reply With Quote
Old 12-30-2003, 11:35 PM   #27
jvanber
New Member
 
Join Date: Jun 2003
Posts: 6
Script not working for me

I get the following error:

-begin------------
action_folders '' ''
can't read "::version3": no such variable
while executing
"if {$::version3} {
RetryTransaction {
set state [db $db open "/State/MyWorld"]
set sort [dbobj $state get NowShowingSortOrder]
}
set nowsh..."
(procedure "::action_folders" line 17)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
-end---------------

I am using tivoweb 1.9.4, however I am using the "falconx" version that supports HDVR2's. I don't know if that has anything to do with it. Please let me know if that's the case.

Thanks!

-Joshua
jvanber is offline   Reply With Quote
Old 12-31-2003, 02:22 AM   #28
LJ
Registered User
 
LJ's Avatar
 
Join Date: Nov 2001
Location: West Sussex, England
Posts: 773
falconx version?

The 'version3' variable is used quite heavily in the standard version, so I guess the falconx version must be quite a re-write. Can you point me to where I can get more info on it?
__________________
Latest versions of my TiVoWeb modules: Now Playing with Folders and Sort; What's On; Show series conflicts; Showcase etc are
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
LJ is offline   Reply With Quote
Old 12-31-2003, 05:27 AM   #29
sanderton
TiVoer since 11/2000
 
Join Date: Jan 2002
Posts: 6,341
The Other Place in the Series 2 forum - it adds dual tuner support and a link to start playing the selected prog in WMP.
sanderton is offline   Reply With Quote
Old 12-31-2003, 09:42 AM   #30
jvanber
New Member
 
Join Date: Jun 2003
Posts: 6
Ok, I'll check with them to see if they did something that changed the variables. Thanks.
jvanber is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media
(C) 2008 Capable Networks LLC - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 10:08 AM.
OUR NETWORK: TechLore | Sling Community | Robo Community | MediaSmart Home | My Digital Entertainer | TouchSmart Community | Pogoplugged | DVR Playground