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. Jul 8, 2002 #21 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    Ok. I really don't think this will cause any problem, but I don't want to be responsible for screwing up your tivo. I think the risk is negligible - I will help, the risk is yours.

    Change the 3 lines that contain this:

    set headend [dbobj [lindex $source 0] get Headend]

    to this:

    set headend [dbobj [lindex $source 1] get Headend]
     
  2. Jul 9, 2002 #22 of 156
    tlphipps

    tlphipps Member

    41
    0
    Jul 3, 2002
    Dallas, TX
    well, i changed those lines and did receive new information in the module, but it already had the correct numbers for those channels. The information it pulled up appeared to be information for the local cable companies in the area. I have my TiVO setup to recognize the local over-the-air channels and those are the ones I need to remap.

    I tried to be ingenious and try '$source 2' but that just gave me errors.

    Any other ideas?

    BTW, I noticed that I never thanked you for a GREAT module. so, THANK YOU!!:D
     
  3. Jul 9, 2002 #23 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    Well, if the XX(ant) channels are not in any of the lineups on either tuner, I don't know where they come from, and/or perhaps what the mfs structures look like for dual tuners. I don't have a dual tuners, or know what a setup looks like, other than dual lineup sources. I can only guess, and probably not well.

    If you give me access to your tivo, I can take a quick look to see if I can figure anything out.
     
  4. Jul 9, 2002 #24 of 156
    tlphipps

    tlphipps Member

    41
    0
    Jul 3, 2002
    Dallas, TX
    Thanks for the offer, but I got it working the way I wanted. I don't know why I didn't think of it before. The local cable companies map those channels to the place I wanted them, so I just re-ran guided setup and told tivo that I received basic cable instead of an antenna. Now everythings in the right place.

    Thanks for all your help though.
     
  5. Jul 10, 2002 #25 of 156
    Andrel

    Andrel New Member

    125
    0
    Oct 19, 2000
    I am trying to understand the remap module and It seems I am missing something:

    -I get the channel lineup by clicking on ChannelMap,
    -Listing appears and then click on the station call name,
    -change the channel # to what I want, click remap.
    -This bring me back to channel listing then I click on commit change on active listing
    -It then comes back with a choice of premium/basic and I click on continue(or something like that).
    -Then it lists all the changes. This is where I have a problem: I give me a listing of over 100 channels change even though I asked to remap only 1.

    It is doing the same if I list then commit change without remapping anything.

    I can go like that all night(will move it back and forth). I am using dish national line up that may list a station in more than channel number.

    I am doing something wrong ?

    Thanks

    Andre
     
  6. Jul 10, 2002 #26 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    This is my best guess at what is going on, it will produce the behavior you describe.

    It sounds like you are including lineups that you don't actually receive in the "commit" process. You need to uncheck any lineups that you do not get before comitting.

    The same channel can and often will exist in more than one lineup. The most intuitive example of this is a cable provider that has both analog and digital service. The tivo will only use the lineups appropriate to your setup - I.E. Digital only, or Analog only. CNN exists both on digital and analog, but are likely on different channel numbers.

    By using more lineups in the commit than you actually "get", you apparently have several channel conflicts across the lineup. When you do the commit with this problem, the module is going to dutifully compare each channel number in each lineup you have selected against what is in the active lineup. If it is different, it will be changed. If you have multiple occurences of CNN with different channel numbers in the lineups you have selected to commit, there will be one (or more!) changes for the "active" CNN each time you press commit.

    You need to deselect the lineups that are not part of your service before you commit.

    If for some reason, you actually get CNN on multiple channels (strange!), then you will need to skip the commit process, and go back to the "Customize Channels" section in setup, and de-select and reselect your lineup. This does the same thing as commit, except that it clears your "favorites" and resets "channels you receive.'' The entire purpose of "commit" is to prevent reseting these two items.
     
  7. Jul 10, 2002 #27 of 156
    Andrel

    Andrel New Member

    125
    0
    Oct 19, 2000
    Sorry again, not sure I understand;



    As being on the satellite lineup, I do not have the option to get in "Customize Channels" section in setup, and de-select and reselect my lineup. The choice of the sat lineup is only given at guided setup time (in my case it was National, Local or local with no local(temporary). I remember that when I had a cable provider, I could go in different lineup and back or daily call and it would commit the change(was not using Tivoweb at this time).

    When I "commit", I have Basic and Premium. I tried selecting Basic with same result. unless I try with no selection ?

    Does "commit" has any bearing with channel you receive selection ?

    FYI, Here My /Headend:

    Directory of /Headend starting at ''

    Name Type FsId Date Time Size
    ---- ---- ---- ---- ---- ----
    374032 tyDb 374032 07/10/02 06:47 52324
    640086 tyDb 640086 07/08/02 11:26 35472
    640114 tyDb 640114 07/01/02 19:52 22752
    640116 tyDb 640116 06/22/02 19:36 23320
    640118 tyDb 640118 06/15/02 17:16 22000
    640120 tyDb 640120 06/22/02 19:52 22232
    768828 tyDb 768828 07/06/02 02:09 25256
    768830 tyDb 768830 07/06/02 02:07 25512

    Headend 374032/40307 {
    CityPostalCode = 374032/40308
    CountyName = SATELLITE
    EncryptionKeys = 199801,1,0x199799 199803,1,0x199797 199806,1,0x199792
    IndexPath = /Headend/374032 /HeadendTms/ECHOST /HeadendPostalCode/DBS~374
    032 /Server/345739
    Lineup = 374032/40309 374032/40310
    Location = USA
    Name = {Dish Network}
    PostalCode = DBS
    ServerId = 345739
    ServerVersion = 214
    State = National
    TimeZone = 0
    TmsHeadendId = ECHOST
    Version = 1471

    Would it make a difference if I use it directly in the ITCL code ?

    I am still running more tests but it is pretty long in between (more than 20 mins between each screen).

    Appreciate your help. Thank you.

    P.S. I wanted to attach my listing dump and commit but I need to run a few more test before I kind of know if i am full of it or not. My first impression is that if 2 channels # exist in a given lineup ex. WJW is on 897 & 8513, it will relocate both to 8513 regardless if I remapped to 380.
     
  8. Jul 10, 2002 #28 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    Lineups live at : MFS:Setup:Source[0,1] :Headend:Lineup
    The active list lives at: MFS:Setup:Source[0,1?]:Channel

    Changing the channel mapping only changes the channel number in the Lineup.

    Commiting copies the channel numbers from all the channels in all the selected lineups (one by one) to the same channels in the active list. If a channel appears twice, even across lineups it will be copied twice. The point of the commit is to NOT effect the channels you receive/favorites section, otherwise I would not have bothered. Try committing with all the boxes unchecked, it wont hurt. :D

    I have never looked at a dual tuner system/satelite system - I don't know what these structures look like on those. Hopefully this will help at least identify where the data is.

    The headend you listed looks OK, whatever that means. The real question is what channels are in each of your lineups, and what channels are listed in your active list.

    I think I have a little script that will dump the active list, let me check.

    I don't think it will make a difference if you run the code outside tivoweb.

    I would guess that the FIRST channel that matches in the active list would be changed to the LAST time that channel appeared in a lineup. It might get them both, I would have to look at the code again. (Actually, the channel would change twice, but the last one would be the "effective" change)

    20 minutes between screens is amazingly long. That sounds like 2000 channels! Are you a satelite company executive? :D
     
  9. Jul 10, 2002 #29 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    This will list the active channels for a source. You might need to edit it and run it for both sources - again, I don't know what the db looks like for your setup...

    Even though I wrote it, I won't necessarily CLAIM this code. :)

    drop the .txt
    chmod +x
    ./listactivechannels
     

    Attached Files:

  10. Jul 10, 2002 #30 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    This lists the channels in the lineups. Again, it will need to be modified to deal with more than one source.
     

    Attached Files:

  11. Jul 11, 2002 #31 of 156
    Andrel

    Andrel New Member

    125
    0
    Oct 19, 2000
    I do have a SA model running ppp over serial at 115,200. I might have a bad config somewhere.... Remap 1 channel takes over 10 mins.
    I am going to run both scripts. I can feel that the original lineup is pretty much screwed. all stations with 2 channel numbers are showing the same number for the same station. I will post the result.

    BTW, I would suggest "edit channel map" window displays 4 digits vice 3.

    Thanks again for your help
     
  12. Jul 11, 2002 #32 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    I don't think the time is related to connection speed, but rather looking through all the channel objects. The html returned can't possibly be big enough to make bandwidth a factor.

    Still, a remap takes 5-10 seconds for me with ~100 channels, and the commit takes about 30 seconds. Scaling these numbers up to 20 minutes would imply an ungodly number of channels.

    I can think of no obvious explanation for 20 minutes. How many channels do you have?
     
  13. Jul 12, 2002 #33 of 156
    Andrel

    Andrel New Member

    125
    0
    Oct 19, 2000
    Active lineup shows 970. haven't done the listchannel yet. Yesterday, I did the remap and it takes around 7 mins to come back(remap @10 channels and 13 mins when i select ChannelMap to get the listing.

    One more question: When we save the Lineup and later Tivo add/delete/move channel from the original lineup, all the remap channel will be lost. Right? If I restore the lineup, how will Tivo/ChannelMap module going to react ? I guess I will see the next time it happens!

    Would it also be possible that the remap would be an ascii text list(or something like this) that we could populate with the channels we want to remap? i.e. old to new channel or Callsign to channel ? This would really save time.

    I might redo guided setup this weekend to change Dish National to Dish Local. That will really reduce the list.

    Thanks!
     
  14. Jul 12, 2002 #34 of 156
    Andrel

    Andrel New Member

    125
    0
    Oct 19, 2000
    Talking of the devil, Got a lineup change from Tivo and this moved around 200 channels(I only remap 20). I restored my saved lineup, remap around 200 channels, including all of mine but 4. I saved the restored lineup and the commit change. May take a while but I will understand what is going on!

    Oh well I only have to remap 4!
     
  15. Jul 12, 2002 #35 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    Yes, I lineup change from tivo will cause everything to revert back to the way it was. The save/restore buttons are already there to "restore" back to a current known state. This is done via looking for matches of lineup/channel name. If a channel moves from one lineup to another, it will not be restored. If the name changes, it will not be restored.

    I suppose the overhead of 900 channels causes significant extra memory/processing time. It sounds like its enough to cause significant swapping, and thus a significant degredation in speed. Pure speculation.

    The saved lineup is stored as a tcl program, but it is simple to figure out/edit if that is what you want to do.

    It sounds like it is working for you, albeit slowly.

    It seems strange that you have such a large number of incorrectly mapped channels. You should take this up with tivo. Most people only have a couple that are incorrectly mapped. All of mine are currently mapped correctly from tivo. I find that the the lineup changes I receive are only off for a couple of days before they get fixed. So far, I have gotten the changes before the cable company implements them.
     
  16. Jul 12, 2002 #36 of 156
    Dweller

    Dweller New Member

    1,236
    0
    Aug 29, 2001
    Is it not possible to remap a Broadcast only lineup?

    I was able to remap a basic cable lineup but didnt see an option for over the air antenna lineup.

    Did I miss it?
     
  17. Jul 12, 2002 #37 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    Apparently not. I don't know where "over the air channel lineup" information is stored in the database, as my system isn't setup for such. Its apparently not in the same place as the cable/direct-tv lineups. From the last few posts, it seems like the dish network stuff may somehow be different, but I'm not sure.

    If I had a "development" tivo, or someone gives me access to theirs, I would look at it.

    Again, quite surprised that over the air stuff would be wrong. Its not like stations change their broadcast channels frequently. Have you tried asking for a fix from tivo?
     
  18. Jul 12, 2002 #38 of 156
    Dweller

    Dweller New Member

    1,236
    0
    Aug 29, 2001
    You and me both :( TiVo couldnt fix it and kindly referred me to manual recording instructions :mad:

    Tribune gave me some vague response about a legal dispute, and again couldnt fix it.

    My last resort was to spend teh last few days enabling bash, installing XP, enabling PPP, and finally installing Tivoweb and the lineup module to try to fix this.

    I am VERY sorry to hear that this isnt going to work for me.

    I suppose I will ask pony to provide teh info to you, and then commence holding my breath... seriously doubt he will be willing to help, but IMO if TiVo wont give us teh ability to manually adjust lineups then they should step up to teh plate and help people like you that ARE willing to help us with these issues and support you in any way they can.
     
  19. Jul 12, 2002 #39 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    I understand the frustration of it not working. But bothering Pony/Tivo to support hacks like this isn't the route to go.
     
  20. Jul 12, 2002 #40 of 156
    Zirak

    Zirak New Member

    973
    0
    Apr 24, 2002
    New York
    A thought - You could configure the input for a local cable company, remap the channels to where they really are, and just set the rest to channels you don't receive.

    It may or may not work, depending on whether the cable company provides all the local channels. I think they are required to, by law.
     

Share This Page