1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Channel Map Tivoweb module

Discussion in 'TiVo Underground' started by Zirak, Jun 4, 2002.

  1. Oct 28, 2002 #61 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    This almost certainly means that the channelmapscript didn't run properly. As another found earlier in this thread, the channelmap module MUST be named "ChannelMap.itcl" -- capitalization is important.

    If I recall, I think the code assumes the script is there, tries to run it, and catches but ignores any errors. Sub-optimal for sure.

    It can be run manually, however when it is run from tivoweb, the output is written to /tmp/CMS.out. That primarily, and the tivoweb log file secondarily, are the places to start to find the problem.
     
  2. Oct 29, 2002 #62 of 156
    JonJon

    JonJon New Member

    1
    0
    Mar 15, 2002
    Austin
    So I have a problem that this module may or may not fix. I have messed with it some but don't quite understand the channel numbering/organization, and I don't want to get it too wrong.

    I have Extended Basic. Recently Tivo dropped HBO from Extended Basic but it is still under Digital Premium. My tuner still receives HBO just fine but Tivo does not recognize it as a channel anymore. If I manually enter the channel it says to be announced or something in the guide info. Can I add HBO back to my Extended Basic lineup so that I can still have my Sopranos fix? I don't want to have to set it up with Digital premium and remap all the channels I get and cancel the channels I don't.

    Thanks
    Jon


    SA Sony with no Cable box.
     
  3. Oct 30, 2002 #63 of 156
    finster869

    finster869 New Member

    17
    0
    Jun 11, 2001
    New Jersey
    Thanks Zirak. I have it working now. Your guess was right, my capitalization was off with "ChannelMap.itcl". It now works great. Thanks for all of your efforts in writing the script and in helping me to get it to work.
     
  4. Oct 30, 2002 #64 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    Creating a channel is beyond the scope of the module. Setting up with digital premium is the only option, at least in this context. Alternatively, you can still setup manual recordings on the channel.
     
  5. Oct 30, 2002 #65 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    I guess I should change the script creation to understand what you called the module. Still, this would break if you changed the module name after saving the current map. Making it run completely inside tivoweb would fix the problem, but there are advantages to having it be a standalone script.
     
  6. Nov 3, 2002 #66 of 156
    kevinallein

    kevinallein New Member

    15
    0
    Sep 15, 2002
    Hi Zirak, you wrote:

    *********************************************************
    The attached code will change the "source" to be an over the air (antenna) source. If you setup as basic cable, remap the over the air channels and then run this short program, UHF channels will work. This solved Dweller's problem. You must lookup the object id (XXXXX/YYYYY) and provide it as an input. This is easily done using Tivoweb (MFS/setup/source).
    *********************************************************
    This code is no longer in the thread. I have the same problem as the other person before, that I receive my locals over antenna (and Tivo thinks on different channels) and everything else through DirecTV. Could you please send me that code ?

    Thanks, Kevin
     
  7. Nov 4, 2002 #67 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    Not sure why you don't see it, its attached to the post you are quoting.
     
  8. Dec 25, 2002 #68 of 156
    Francesco

    Francesco Summum Pontificem

    18,365
    0
    Oct 4, 1999
    Maricopa...
    OK, I'm stumped:

    Added Dish Network to my cable package in order to get the new "locals" that are available, along with the superstations that direcTV will likely never get.

    Recently I got the silly message that "a lineup change has occurred," but with holiday crunches only got around to checking things today. Now my ChannelMap no longer shows the availability of "extended basic" where most of my cable channels reside, and many of the channels that show up on the TiVo do not show up on listchan...

    Any ideas???
     
  9. Dec 25, 2002 #69 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    No idea, seems to be related the setting up which "service" you have. Manipulating the channels that exist in the lineup is beyond the scope of this module. The module will only remap the channel numbers for the channels/lineups that the tivo thinks you have.
     
  10. Dec 25, 2002 #70 of 156
    Francesco

    Francesco Summum Pontificem

    18,365
    0
    Oct 4, 1999
    Maricopa...
    Hmmm... worked fine before, and gave me the choice of Basic, Extended, Digital, Premium, etc. Now the module only shows Basic and Premium, while TiVo shows the availability of Extended Basic as well.

    Nothing has changed on the TiVo; I even re-ran GS with all the same settings as before, and still have Extended Basic selected; the module does not even list the channels that are available on Extended -- basically showing only the networks on cable, and everything else on satellite...
     
  11. Dec 26, 2002 #71 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    Note that if you have multiple headends, channelmap will only look at the first one. You can change the code to look at the second headend if you wish, its trivial. BUT, you can not run two copies of the module simultaneously, one for each headend. That will not work, period.
     
  12. Dec 26, 2002 #72 of 156
    Francesco

    Francesco Summum Pontificem

    18,365
    0
    Oct 4, 1999
    Maricopa...
    Ahh! I get it. I will search this thread for the code fix -- I only need the module to change the cable headend, not satellite, which is what it apparently sees.

    Thanks again!

    Edit: Yep, that did it. Now it sees cable and I can remap the cable Extended Basic channels...
     
  13. Dec 26, 2002 #73 of 156
    Francesco

    Francesco Summum Pontificem

    18,365
    0
    Oct 4, 1999
    Maricopa...
    Welp, I made the change to get the correct headend shown, and brought up my saved file. When I tried to commit the change to the active channels list, I get this error:

    Code:
    INTERNAL SERVER ERROR
    --cut here--
    action_BuildActiveChannels '/' 'set "L1" "1";set "L2" "1";set "BuildActiveChannels" "Commit Changes";'
    no such object: dbobj43963 dbobj43964
        while executing
    "dbobj $source get Channel"
        ("uplevel" body line 4)
        invoked from within
    "uplevel $body"
        invoked from within
    "transaction {uplevel $body}"
        (procedure "RetryTransaction" line 5)
        invoked from within
    "RetryTransaction {
    			set setup [db $db open /Setup]
    			set source [dbobj $setup get Source]
    			set channels [dbobj $source get Channel]
    			set nchann..."
        (procedure "BuildActiveChannelList" line 20)
        invoked from within
    "BuildActiveChannelList"
        (procedure "::action_BuildActiveChannels" line 30)
        invoked from within
    "::action_$action $chan $part $env"
        ("eval" body line 1)
        invoked from within
    "eval {::action_$action $chan $part $env}"
    --cut here--
    
    
     
  14. Dec 27, 2002 #74 of 156
    Francesco

    Francesco Summum Pontificem

    18,365
    0
    Oct 4, 1999
    Maricopa...
    Zirak, just to clarify:

    I loaded both fresh copies of TiVoweb b5 (I needed to get to that anyway) and the module. The module loads the already corrected listchan from the TiVo, but it can never get past that error to actually commit the changes to the active channel list. On screen, the TiVo still has them in the wrong places.

    Could it be possible that the module is still trying to change sub-lineups from the satellite headend (0) and is not finding these channels there?
     
  15. Dec 27, 2002 #75 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York


    Makes sense, if the commit failed.

    Even if it was doing that, it shouldn't cause an error, just no channels to change.



    This looks like old code, it doesn't match what I have on my tivo.

    A new ChannelMap module was _required_ with tivoweb b4. Lightn graciously hosts 3rd party modules on the tivoweb site, download it from there, and reapply the lineup changes. I don't recall if the description of the code to change to switch headends which is described earlier in this thread (I think), includes changes for the commit code or not. That is, I don't recall if those instruction predate the inclusion of the commit code in the module. (Commit can also be done from the remote, selecting which lineup you receive, but you lose favorites/channels you receive that way.)
     
  16. Dec 27, 2002 #76 of 156
    Francesco

    Francesco Summum Pontificem

    18,365
    0
    Oct 4, 1999
    Maricopa...
    Hmmm... I loaded the module fresh from Lightn's site (thanks, TiVoweb Team!), and changed three headend objects to "1". The rest of TiVoweb b5 works fine, but I can't get around this.

    This is the error I get now:
    Code:
    Applying change for CBFT 4 (Was ) object 
    
    INTERNAL SERVER ERROR
    --cut here--
    action_BuildActiveChannels '/' 'set "L1" "on";set "L2" "on";set "BuildActiveChannels" "Commit Changes";'
    can't read "firstid": no such variable
        while executing
    "db $db openidconstruction $firstid $secondid"
        ("uplevel" body line 3)
        invoked from within
    "uplevel $body"
        invoked from within
    "transaction {uplevel $body}"
        (procedure "RetryTransaction" line 5)
        invoked from within
    "RetryTransaction {
    		scan $resid {%[0-9]%[/]%[0-9-]} firstid slash secondid
    		set chanobj [db $db openidconstruction $firstid $secondid]
    		set channum..."
        (procedure "changenum" line 9)
        invoked from within
    "changenum $object $channelnumber "Applying""
        (procedure "::action_BuildActiveChannels" 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--
    
    
     
  17. Dec 27, 2002 #77 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    This will happen if you attempt to apply a change for a channel that doesn't exist in your active lineup. I don't know why that would (practically) ever happen. If you configure the tivo for "Basic" and then remap/apply changes to "Extended Basic" this would occur. It still shouldn't crash that is clearly a bug - but it doesn't make sense to try doing that to start with.

    Specifically, CBFT is not in your active channels, located at MFS - Setup/Source/Channel. If there are multiple sources (MFS/Setup/Source), that would cause a problem. I didn't try to guess how MFS is setup in that situation.

    If you correctly change all the source references from source 0 to source 1, I don't think this problem will occur. (Note that there is one in BuildActiveChannelList, which is coming into play here)

    This is speculation, as I have never actually looked at a multiple source MFS setup.
     
  18. Dec 27, 2002 #78 of 156
    Francesco

    Francesco Summum Pontificem

    18,365
    0
    Oct 4, 1999
    Maricopa...
    Let me know if you have the inclination & time to look at it, and I will send you whatever files & logs you need! :)

    Just FYI, I reloaded TW & the module fresh again, made the headend change, and still get the error... but after successive reboots of the TiVo, the changes seem to have been applied in spite of the error... Go figure!

    Edit: Dang! Wouldn't you know? All along I've been missing that one "source" within BuildActiveChannelList! Just changed it and no longer get the error!!!

    Thanks again,
     
  19. Dec 28, 2002 #79 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    A hacker always likes hearing that you find joy, and its not _their_ code. Whether they admit it or not. :) I would welcome you to the tivolution, but you pre-date me. :)
     
  20. Jan 1, 2003 #80 of 156
    grenex

    grenex New Member

    19
    0
    Feb 6, 2002
    New Jersey
    My cable co changed the NAME of my lineup today. And now I can not remap channels! The script is bombing out on me!

    When i click on a station to change the channel number, it get the following error:

    Edit Channel Map for a given Sub-lineup

    In Lineup: Premium (A) Change HBO2 To Channel: 77 Return To This Page

    INTERNAL SERVER ERROR
    action_remapchan '/222831/10190-77' ''
    invalid command name "html_form_checkbox"
    while executing
    "html_form_checkbox "stayonpage" """
    (procedure "::action_remapchan" line 245)
    invoked from within
    "::action_$action $chan $part $env"
    ("eval" body line 1)
    invoked from within
    "eval {::action_$action $chan $part $env}"

    I have rebooted the tivo, cleaned up the channel backups that i created in the past, but nothing seems to work! What gives!? I never had this problem until now.
     

Share This Page