TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Main TiVo Forums > TiVo Series 1 - UK
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 03-16-2012, 04:32 AM   #1
spitfires
wassock
 
Join Date: Dec 2006
Location: South Coast, UK
Posts: 704
TWP modules for backup/restore Channel Preferences

The "backup/restore" function in both the "Channel Prefs" (channelprefs.itcl) and "Set Channel Preferences" (chanpref.itcl) TivoWebPlus modules do not cater for the new channel structure used in the AltEPG system.

Both have the same issue of assuming that channel numbers are unique, but that is not the case (e.g. all the regional BBC1s and ITV1s).

Amended modules are attached to correctly handle this situation.

(Still doesn't handle having the same channel number + callsign combination on different sources - e.g. if you had BBC1 on 101 on Satellite and also had BBC1 on 101 on Aerial - but why on earth would you want to do that! It would be possible to fix the modules to do this but I can't see the effort is justified.)


Please note: these changes are NOT backwards-compatible so you will not be able to restore any existing saved channel backups you may have. You should do a fresh backup after installing this updated module(s).

Also note: these modules ONLY work with TivoWebPlus 2.1b3.

Credit to mrtickle for pinpointing the problem, and for suggesting I fix it


Installation:
- delete the ".txt" from the end of the filename (so it's just called channelprefs.itcl or chanpref.itcl)
- copy (e.g. by FTP) the file into the "modules" directory in the relevant TivoWebPlus directory on your TiVo, and then restart TivoWebPlus.

.
Attached Files
File Type: txt channelprefs.itcl.txt (16.1 KB, 2 views)
File Type: txt chanpref.itcl.txt (9.4 KB, 2 views)
__________________
Tivo since 2002. S1 + 1TB SATA. ex-TAM (tenner a month). Virgin Media not available.

Last edited by spitfires : 03-16-2012 at 04:38 AM.
spitfires is offline   Reply With Quote
Old 03-28-2012, 05:58 AM   #2
spitfires
wassock
 
Join Date: Dec 2006
Location: South Coast, UK
Posts: 704
Ok it seems there are serious problems with using the chanpref module with the AltEPG channel structure - I suggest you don't use it until I've had a chance to fix it You can use the chanelprefs module instead (it doesn't seem to have this problem).


(chanpref assumes there will always be a one-to-one relationship between channel and station which in the AltEPG system is not the case).
__________________
Tivo since 2002. S1 + 1TB SATA. ex-TAM (tenner a month). Virgin Media not available.
spitfires is offline   Reply With Quote
Old 03-28-2012, 07:50 AM   #3
TCM2007
Registered User
 
TCM2007's Avatar
 
Join Date: Dec 2006
Posts: 3,947
Always best to use the TMSID as the unique identifier when coding this stuff - that's why they did it that way in the first place.
__________________
Register now to keep your S1 TiVo alive come June 1st:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
TCM2007 is offline   Reply With Quote
Old 03-28-2012, 12:11 PM   #4
spitfires
wassock
 
Join Date: Dec 2006
Location: South Coast, UK
Posts: 704
Indeed. Unfortunately we don't have those in AltEPG yet.


(p.s. FTAOD, I didn't write this code - I'm just fixing it )
__________________
Tivo since 2002. S1 + 1TB SATA. ex-TAM (tenner a month). Virgin Media not available.
spitfires is offline   Reply With Quote
Old 03-28-2012, 04:33 PM   #5
mrtickle
Registered User
 
Join Date: Aug 2001
Location: Birmingham, UK
Posts: 2,824
Quote:
Originally Posted by spitfires View Post
Indeed. Unfortunately we don't have those in AltEPG yet.
With the emphasis hinting tantalisingly on 'yet'. Do you have a spare networked test TiVo, spitfires? I can't remember...

There are some at the moment but not many! You may notice that the station objects in the Lineups have both TmsIds and ServerIds. This is because without them, channel 'moves' and 'deletes' don't work. Poppadum deduced this early enough last year before it was a problem

Angra's Season Pass backup module could be modified to fall back gracefully to ServerIds if TmsIds aren't found in the Series objects. ServerIds are consistent between TiVos and could be used instead. You'd be able to back up and restore a set of season passes on a tivo without tmsids or a tivo with. Going from one to the other would be tricky though.
__________________
150-limit sucks!
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
mrtickle is offline   Reply With Quote
Old 03-29-2012, 02:08 AM   #6
spitfires
wassock
 
Join Date: Dec 2006
Location: South Coast, UK
Posts: 704
Quote:
Originally Posted by mrtickle View Post
Do you have a spare networked test TiVo, spitfires? I can't remember...
I do indeed MrT ...
__________________
Tivo since 2002. S1 + 1TB SATA. ex-TAM (tenner a month). Virgin Media not available.
spitfires is offline   Reply With Quote
Old 03-29-2012, 11:41 AM   #7
spitfires
wassock
 
Join Date: Dec 2006
Location: South Coast, UK
Posts: 704
Quote:
Originally Posted by mrtickle View Post
Angra's Season Pass backup module could be modified to fall back gracefully to ServerIds if TmsIds aren't found in the Series objects.
I believe that's exactly what the TWP2.1 version of the season pass backup does.
__________________
Tivo since 2002. S1 + 1TB SATA. ex-TAM (tenner a month). Virgin Media not available.
spitfires is offline   Reply With Quote
Old 03-29-2012, 12:54 PM   #8
mrtickle
Registered User
 
Join Date: Aug 2001
Location: Birmingham, UK
Posts: 2,824
Quote:
Originally Posted by spitfires View Post
I believe that's exactly what the TWP2.1 version of the season pass backup does.
Not only are you right, but the version I had does it too!

There are some nice comments in the credits. It seems there was a collaborative effort to get it working on OzTiVos without TmsIds. Here we are a few years later and they've given us their entire system, and that use of ServerIds is now of benefit to us too!
__________________
150-limit sucks!
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
mrtickle 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 - 2014, 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 07:50 PM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |