TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Underground Playground > TiVo Underground
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 01-12-2004, 07:34 AM   #1
nsysblh
Member
 
Join Date: Apr 2002
Posts: 82
Automatic free space indicator

Here is a little free space indicator I wrote. It should work on Series 1 with software version >= 3.

Instructions are included, as well as an explanation of the osd output.

The automatic part is that is puts up the information in place of the header on the Now Showing (or Now Playing) screen automatically.

Anyway, have fun with it.

Brandon
nsysblh is offline   Reply With Quote
Old 01-12-2004, 07:36 AM   #2
nsysblh
Member
 
Join Date: Apr 2002
Posts: 82
This is now V1.1. This will work with UK and US TiVos. See CHANGES.txt

If you installed V1.0 (or V1.0a) previously, don't forget to replace the osdcons executable. Then make sure to kill the old osdcons and autospace before starting autospace.tcl

Thanks to sanderton for help with the UK changes.

The osdcons package is somewhere on the second page of the thread.


NOTE: Until I update the included readme, there have been reported issues with the daily call using the rc.sysinit documented in the included readme.

The following format is suggested for the startup line in rc.sysinit:

/<directory>/autospace.tcl start >/dev/null 2>&1 &

(Note the trailing & that is not in the included readme)
Attached Files
File Type: zip autospace.zip (51.1 KB, 1392 views)

Last edited by nsysblh : 01-16-2004 at 01:05 PM.
nsysblh is offline   Reply With Quote
Old 01-12-2004, 07:40 AM   #3
pahunt
Registered User
 
Join Date: Apr 2003
Location: Somerset, England
Posts: 1,640
This sounds great but will it definitely not work on a UK Tivo with 2.5.5 or have you just not been able to test it on older software than version 3?
__________________
Paul
pahunt is offline   Reply With Quote
Old 01-12-2004, 07:50 AM   #4
nsysblh
Member
 
Join Date: Apr 2002
Posts: 82
As is, it won't work with UK tivos. The data is in a different place in versions < 3.

Last edited by nsysblh : 01-12-2004 at 08:23 AM.
nsysblh is offline   Reply With Quote
Old 01-12-2004, 09:18 PM   #5
cachecard_user
Registered User
 
Join Date: Dec 2003
Location: NYC
Posts: 244
all i have is a readme file and a version file

looks cool though, i would like to try it

Last edited by cachecard_user : 01-12-2004 at 09:25 PM.
cachecard_user is offline   Reply With Quote
Old 01-12-2004, 09:32 PM   #6
SR712
Member
 
Join Date: Mar 2002
Posts: 80
Very Nice, nsysblh, good job. Pretty handy. Works great. The only thing I can suggest, would be to use a san-serif font like the TiVo uses... it would blend into the normal TiVo-skin and look more like it belonged.

Last edited by SR712 : 01-12-2004 at 09:50 PM.
SR712 is offline   Reply With Quote
Old 01-12-2004, 09:34 PM   #7
cachecard_user
Registered User
 
Join Date: Dec 2003
Location: NYC
Posts: 244
[edit] Nevermind. For some reason windows won't show the files in any window or view, but my FTP client sees the files and they uploaded!

Looks GREAT!

(my only complaint is that the TiVo guy in the upper left hand corner is covered up)

-+-+-+-+-+-+-+-+-+-+
when I unzip the file, i only get the readme and the version files, where did you get the actual files?

Last edited by cachecard_user : 01-12-2004 at 10:19 PM.
cachecard_user is offline   Reply With Quote
Old 01-12-2004, 10:17 PM   #8
tombo28
Now w/ Kung-Fu Grip!
 
tombo28's Avatar
 
Join Date: Feb 2003
Location: Los Angeles, CA
Posts: 112
Cool idea.
I get the following error when I try to run it:
Code:
bash-2.02# ./autospace
No EventSwitcher active
    while executing
"event register $TmkEventII::EVT_USREVENT  EventCallback"
    (file "./autospace" line 161)
The same error appears when I try it with -start and -status.
In case it helps, I'm running an SVR-2000 with v.3.01.

Thanks in advance for any help you can offer.
tombo28 is offline   Reply With Quote
Old 01-12-2004, 11:59 PM   #9
tombo28
Now w/ Kung-Fu Grip!
 
tombo28's Avatar
 
Join Date: Feb 2003
Location: Los Angeles, CA
Posts: 112
Nevermind, a reboot fixed it.
Thanks again for a cool app.
tombo28 is offline   Reply With Quote
Old 01-13-2004, 04:15 AM   #10
route66
Registered User
 
Join Date: Jan 2004
Posts: 7
Worked great for me. I second the font change request.
route66 is offline   Reply With Quote
Old 01-13-2004, 07:27 AM   #11
nsysblh
Member
 
Join Date: Apr 2002
Posts: 82
Hmm. the font is from elseed (and tivovbi). apparently it was the only one that fit nicely. It also has the full PC character set...which is nice for line drawing.

If anyone knows of another fixed 16w x 26h font, let me know. Everything I have found is not a good aspect ratio. Since it is using fixed character spaces, it has to be a fixed size bitmap type font (not trutype or anything pcish)

I'll keep looking for a new font. I guess I could design my own. The font is the only thing I didn't rewrite myself.

---

As far as the EventSwitcher error, for some reason Version 3 has an eventswitcher bug and it does go out to lunch more and more as you run tcl scripts which attach to the EventSwitcher. A reboot will fix it.

My suggestion here is to reboot and run the program once. It will attach to the EventSwitcher only twice at startup (once for the foreground and once for the background) and then stay stable. If you restart or exit and start a lot, it will eventually kill the EventSwitcher (I know from testing). If that happens, a reboot will fix it.

---

The Tivo Guy isn't really covered. You can see thru the background. He is telling you how much space is being used (or something). I tried a transparent background, and the letters are harder to read...the palette on that screen only has about 10 unique colors to choose from (as opposed to the playback screen which has the full 256 and they are all different)

Brandon
nsysblh is offline   Reply With Quote
Old 01-13-2004, 10:43 AM   #12
km
Registered User
 
Join Date: Nov 2001
Location: Atlanta. Ga. USA
Posts: 75
Request : Hours Left

I would like to request one more number in the display. The number of hours at the machines default recording quality attributed to Suggestions + Free/Deleted Space.

In other words the number of hours to the right of the yellow region in the bar.
km is offline   Reply With Quote
Old 01-13-2004, 11:22 AM   #13
sanderton
TiVoer since 11/2000
 
Join Date: Jan 2002
Posts: 6,341
Quote:
Originally posted by nsysblh
As is, it won't work with UK tivos. The data is in a different place in versions < 3.
Easy enough to change to work with 2.5.5. Might have a play later.
sanderton is offline   Reply With Quote
Old 01-13-2004, 02:18 PM   #14
nsysblh
Member
 
Join Date: Apr 2002
Posts: 82
Quote:
Originally posted by sanderton
Easy enough to change to work with 2.5.5. Might have a play later.
Feel free. It is fairly straightforward, I just didn't want to put out something with a totally untested code section.

Quote:
Originally posted by km
I would like to request one more number in the display. The number of hours at the machines default recording quality attributed to Suggestions + Free/Deleted Space.

In other words the number of hours to the right of the yellow region in the bar.

I wanted to stay away from hour calculations, as they are more prone to error than anything else. However, adding an hour remaining counter may be a nice thing. You want it to just overlay the recording indicators on the right side if they exist? There are only 4 character positions to play with, so it would have to be a number kinda just floating in space. I think the most "recordings" that can be taking place at 1 time on a directivo is 3, so I used the last 3 positions for the recording indicators (it is left as an exercise to the reader as to how to record 3 things at once :-)

---

Just to point out, because it is buried in the doc, and not obvious, the numbers on the upper right are show counters, not hour counters...[1 2 3] would mean one permanent show, two normal, and 3 suggestions.

If I could only find a drastically smaller font that was still readable, I could fit more than 36cols and 2 rows in the space available...and add more info.

---

Is the timing ok? I know it takes a while to populate on a machine w/o a working cachecard. Sometimes I think the 30 minute timeout is too long. What I wanted to avoid is recalculating every time you navigate to anywhere besides Now Showing.

Does anyone care that the deleted shows and pure free space are lumped together for display. I tried it both ways, and decided using a real color for deleted shows was too confusing. Especially since there is no space to fit the count of deleted shows on the screen.

Brandon
nsysblh is offline   Reply With Quote
Old 01-13-2004, 02:32 PM   #15
hopefulboydy
Registered User
 
Join Date: Jul 2003
Location: San Jose, CA
Posts: 68
I installed the app on a tivo with a working cachecard and it works great. I dont really think you need to add anything else as showing the memory available as a percentage of total memory is more meaningful that hours remaining (hours remaining is all dependent on what resolution/bitrates you record with etc). When I enter Now Showing and the app kicks in, it takes a a few seconds, maybe more than 5 seconds to display the info. Is there anyway to speed this up ?
hopefulboydy is offline   Reply With Quote
Old 01-13-2004, 02:59 PM   #16
spinJR
Registered User
 
Join Date: Jan 2003
Location: New Jersey
Posts: 79
does this work with the DirectTV HDVRs? (HDVR and DSR7000)
__________________
Fios now.... HD Tivo & DT Tivo Series 2


WAS......
hughes hdvr2 @ 120hrs (twinbreeze bracket)
phillips DSR7K - hacked (bash, telnet, tytools, tivoweb, ftp) @120 hrs
spinJR is offline   Reply With Quote
Old 01-13-2004, 03:18 PM   #17
nsysblh
Member
 
Join Date: Apr 2002
Posts: 82
Quote:
Originally posted by spinJR
does this work with the DirectTV HDVRs? (HDVR and DSR7000)
Not Series 2. No one has figured out the Series 2 osd chip at the same level as the series 1 osd. All I know of at the moment is that you can rewrite the entire screen on a Series 2 via osdwriter. That would defeat the purpose of keeping the existing data on the screen.

Quote:
Originally posted by hopefulboydy
When I enter Now Showing and the app kicks in, it takes a a few seconds, maybe more than 5 seconds to display the info. Is there anyway to speed this up ?
How many total entries do you have? I have a 160G disk with ~250 now showing entries on one dsr6000+cachecard and it usually takes about 2 secs. Does it print 3 dots as in: 'Getting Data...' and then pause? The last step is to plow thru all the recordings. That part is going to take awhile no matter how it gets done.

It used to be slower. I optimized it a bit before releasing it. This is probably as fast as tcl can read the info.

Brandon
nsysblh is offline   Reply With Quote
Old 01-13-2004, 03:24 PM   #18
hopefulboydy
Registered User
 
Join Date: Jul 2003
Location: San Jose, CA
Posts: 68
nsysblh, I only have about 30 recordings on there at the minute - 80G + 80G Series 1 SA Philips. It does say Getting Data ... while its retrieving the info. I suppose, it may actually not take as much as 5 secs.......just me being impatient. I am not at home now so i cant check, but it did seem to take a while last night. I suppose I will have to learn to be patient :-) Thanks for the great app.
hopefulboydy is offline   Reply With Quote
Old 01-13-2004, 05:18 PM   #19
HTH
No Avatar Selected
 
HTH's Avatar
 
Join Date: Aug 2000
Location: Lincoln, NE
Posts: 3,979
Can you make it appear on the To Do List as well, and update the value as the cursor moves forward through the list for how much space will be available at those future times?
__________________

▘▘▀▌▌▘▀▘▌▘▀▘▙▌▐▖▙▘▙▌▌▘▙▘▙▘▟▘
▛▌▛▌▛▌▙▌▛▌▟▖▌▘▛▌▞▌▌▘▌▖▞▌▞▌▟▘

If you are dissatisfied with your life, return unused portion for partial refund.
HTH is offline   Reply With Quote
Old 01-13-2004, 05:18 PM   #20
sanderton
TiVoer since 11/2000
 
Join Date: Jan 2002
Posts: 6,341
Tweaked it to work on UK 2.5.5. The enc. version is ONLY UK compatible.

nsysblh, you should be able to see the very few changes with a compare; if you only want one version floating around TiVoWeb has code in it for identifying UK machines.

The filenames you have chosen are identified by WinXP as being system files, and so are hidden when you unzip them, which might cause some confusion!

Very nice work; it looks really good (I think I might move the % free number from over the top of the little TiVo though; my kids like him!)
Attached Files
File Type: zip autospace_2_5_5.zip (50.4 KB, 612 views)

Last edited by sanderton : 01-14-2004 at 09:31 AM.
sanderton 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 - 2013, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media
(C) 2013 Magenium Solutions - 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 03:05 AM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |