TiVoWeb Module : Manual Record

Discussion in 'TiVo Underground' started by cwingert, Jun 12, 2003.

  1. Jul 5, 2005 #181 of 287
    linenoise

    linenoise GOD

    11
    0
    Aug 18, 2004

    Advertisements


    Thanks a lot
     
  2. Jul 5, 2005 #182 of 287
    rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    WORKS!! I think you're ready to remove the beta. I have a few minor suggestions for future versions:
    - Currently, the default value for the "create season pass?" field is YES. I would prefer it to be NO.
    - When there are two conflicts, it lets you know what the conflicts are. When there is one conflict, it doesn't tell what that one conflict is. Might be nice to display what tht one conflict is.

    Nice job getting this to work. :up:
     
  3. Jul 5, 2005 #183 of 287
    john1980

    john1980 New Member

    179
    0
    Jun 17, 2004
    New Zealand
    Have a look at post 137 for how to do this. Many defaults can be set via a configuration file.

    This is possible, but I am not sure how to word it... "<title> on <channel> is also being recorded"? Might display a message in the future, but am not sure what the benefit would be... I think any message would just confuse the majority of people.

    I am updating all v0.1.8 references.
     
  4. Jul 6, 2005 #184 of 287
    asantaga

    asantaga New Member

    44
    0
    Nov 12, 2004
    Hi All,

    is it possible to add the episode title to a manual recording without reverting to ui.itcl??

    I've tried everything and nothing seams to convince my tivo there is an episode..

    i.e. I've hacked manrec.itcl with the following ..

    puts $chan "Creating Program..."^M
    #^M
    # Create the program subobject. This is where we put all of the stuff^M
    # that describes the recording, including genra and episode information.^M
    # (to be added later)^M
    #^M
    set program [db $db create Program]^M
    set series [db $db create Series]^M
    dbobj $series set Title $titlestr^M
    dbobj $series set Episodic 1

    dbobj $program set Series $series^M
    dbobj $program set Title $titlestr^M
    dbobj $program set Description $descriptionstr^M
    dbobj $showing set Program $program^M
    dbobj $program set EpisodeTitle $descriptionstr
    dbobj $program set EpisodeNum 0
    dbobj $program set AltEpisodeNum 0


    Although they get accepted, they dont get set..

    Im guessing its something in tivo which is saying if its not a series then dont bother???

    Any ideas? It would be nice to set an episode title for a pet project of mine...
    Thanks
    Angelo
     
  5. Jul 6, 2005 #185 of 287
    john1980

    john1980 New Member

    179
    0
    Jun 17, 2004
    New Zealand

    Advertisements

    Okay, a few suggestions:
    1. You should add a "IsEpisode: 1" field to the Program entry
    2. You do not need the "AltEpisodeNum" field in the Program entry
    3. You may want to try using an EpisodeNum > 0 if #1 does not resolve the issue

    You will also need to be careful as the TiVo will not record the same episode within a 28 day period. This means that while it will work for individual manual recordings (which is probably what you are doing)... Multiple recording (eg weekly/daily) will not work unless the EpidodeNum is changed. So you may want to use an increasing counter for the EpisodeNum field.
     
  6. Jul 6, 2005 #186 of 287
    asantaga

    asantaga New Member

    44
    0
    Nov 12, 2004
    Hi John,

    Yes it seams to work, Im seeing the episode title in the now showing list and when you drill into on the todo list..

    Will sort this out. add the episode name to the form and then post it to you if you desire...

    Many thanks :)
    Angelo
     
  7. Jul 6, 2005 #187 of 287
    john1980

    john1980 New Member

    179
    0
    Jun 17, 2004
    New Zealand
    If you could test this for a few weeks and then report back (will also have a play in the meantime). I am just a little reluctant to rush into it as the manual recordings scheduled in this fashion would look different to those done via the onscreen-GUI. I however do not think this will cause issues other than possibly the "28 day" duplicates (although each recording has it's own Series entry so reusing an EpisodeNum of '0' would probably work).

    The modification I outlined for linenoise will probably not make it into any "public" version. The issue is that all standard recordings in the ToDo list are linked with a program slot within the EPG. By making a manual recording look like a standard one while it is still in the ToDo list does result in some errors under TivoWeb, as well as potential unseen issues within the onscreen-GUI (if people try to view the details of the entry within the ToDo list). Altering the manual flag after the show has been recorded is fairly safe (TivoTitle, delmanual and EditTitle are able to do this).

    As you can tell from the comment in the code, cwingert did intend to add episode support to the module. I can not think of an application that would be annoyed by making a manual recording episodic... however it just needs a little testing - because nobody would be happy if their manual recordings failed to record... that's why we use manual recordings in the first place :)
     
  8. Jul 7, 2005 #188 of 287
    john1980

    john1980 New Member

    179
    0
    Jun 17, 2004
    New Zealand
    This is a heavy a re-write of the existing (0.1.8). Probably going to be a few out there that will not like it. If you perform one-off recordings, or repeating recordings without creating a SeasonPass then you will not notice much of a difference.

    If a season pass is configured then it will tag it as a manual season pass. This is quite a change from the previous versions where a fake season pass was used. Manual season passes will only trigger recordings when there is guide data available... they will take a little while to appear in the ToDo list, and it will use the title from the guide data. If this confuses you then don't configure a season pass (they are probably not what you want anyway).

    The user interface will only show the fields that are relevant to the selected settings.

    Other changes: (suggested by rbautch and asantaga)
    If conflicts exist on a dual tuner unit (but there is still a free tuner available for the recording) then an informational message showing the other recordings will be displayed. This version supports adding an episode description to the recordings.
     

    Attached Files:

  9. Jul 7, 2005 #189 of 287
    linenoise

    linenoise GOD

    11
    0
    Aug 18, 2004
    John1980,
    Thanks for the help. I see it in the comments of the new alpha as well. I'll try it out. Also, I wanted Basic to be my default choice for quality. I changed "set recqual" from 75 to 0. Is that all I need to do?
     
  10. Jul 7, 2005 #190 of 287
    john1980

    john1980 New Member

    179
    0
    Jun 17, 2004
    New Zealand
    Yes, this can also be placed in a manrec.cfg file located in the same directory as your manrec.itcl.
    For example:
    Code:
    set createSP 0
    set recqual 0
    
     
  11. asantaga

    asantaga New Member

    44
    0
    Nov 12, 2004
    Hi John

    Minor update you might want to consider. I use manrec from an external web program which Im writng which allows me to view listings (ala webdigiguide) and trigger a recording. This works fine, but instead of a submit button I have an image..

    The problem is that you look for a value of "Record" in a web parameter of "Submit" which is kinda hard when images are used as buttons..

    My workaround is to change the manrec code so that
    Line 584 (at the end of the html form reads)
    puts $chan [html_form_hidden "submit_action" "Record]

    and line 613 is

    if { $submit_action == "Record" } {^M
    puts $chan [html_start "Manual Record"]^M

    You may want to incorporate this..

    Otherwise the new manrec works very very well. Episode names work a treat..

    The only enhancement request I can think of is that I've tried to schedule a recording via my mobile phone (Sony Ericsson T630) and failed. The reason for the failure is the size of the page, mainly due to the list of channels.

    Its a temporary problem as most newer (decent) phones have better xhtml browsers.. but...

    What might be nice is a parameter switch which only populates your "favourite" channels in the html form.

    Angelo
     
  12. asantaga

    asantaga New Member

    44
    0
    Nov 12, 2004
    All,

    Just noticed something, when you record something and set an Episode title, the title gets stored, but if you look at your recordings in the ToDo list then it says
    'Not an Episode -- Program Info'

    Looks ok in the now showing list though..

    Angelo
     
  13. john1980

    john1980 New Member

    179
    0
    Jun 17, 2004
    New Zealand
    This new version will accept both "submit" and "action" variables, so if you can either add an "&submit=Record" or "&action=Record" to your URL request. This should resolve your problem.

    This version has a new parameter which can be set in either the module, configuration file, or passed in the URL, called "favs" (which if set to 1, will only display your favourite channels). For example if you use:
    http://your_tivo_addr/manrec?favs=1&titlestr=test
    Then the default title string will be "test" and only the favourite channels will be available in the drop down list.
     

    Attached Files:

  14. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Thanks John!
     
  15. john1980

    john1980 New Member

    179
    0
    Jun 17, 2004
    New Zealand
    The ui.itcl module makes some assumptions about manual recordings. One such assumption used in the action_todo function is that manual recordings do not have a series (and hence can not be episodic). The print_noshowingrow function does not make this assumption.

    If you wish to resolve this for yourself then you can look for the code within the action_todo function (found in ui.itcl) that looks like:
    Code:
          if { $manual } {
            if { $title == "" } {
              set title "Manual Recording"
            } else {
              set title "Manual: $title"
            }
            set series ""
          } else {
            set series [dbobj $program get Series]
          }
    
    and change it to:
    Code:
          if { $manual } {
            if { $title == "" } {
              set title "Manual Recording"
            } else {
              set title "Manual: $title"
            }
          }
          set series [dbobj $program get Series]
    
     
  16. asantaga

    asantaga New Member

    44
    0
    Nov 12, 2004
    Thanks, I'll give it a try
     
  17. panjabi

    panjabi New Member

    14
    0
    Dec 18, 2004
    it took me about 30 minutes to read all the posts yet i am still confused, firstable i am a newbie and i just have purchases a refurbished sa1. i do not have any service from tivo. but i can still do manrec. i do have network card installed and tivoweb plus. i want to understand this forgive me but i did not really understand what you are doing. as you know that tivo has the guide that it download from tivo, you can see all the channels but you cant' record from them unless you have service. but what you guys are saying is that some of the brilliant ppl have compiled this code called menrec which you install on tivo via ftp( i exactly don't know how to install it yet and activate it maybe someone can help) then reboot your tivo and then you can do the recording and tivo will not give you an error message that you need service. am i right? do you use the guide from div or or do you use some other guide provider and if you do than how do you tell tivo which guide to use, can plz clear some of my answers plz. and if i can uderstand this i will write a short newbie guide and i do understand that this is not to meant steal service from tivo however i could be wrong and sorry for writing so much also do you do this from a remote control or tivowebplus
     
  18. john1980

    john1980 New Member

    179
    0
    Jun 17, 2004
    New Zealand
    The Manual Record module is really designed for remotely (via a web browser) scheduling a recording, and is particularly useful for areas that do not have any TiVo Guide Data available to them (eg Australia, New Zealand, Italy, Netherlands, South Africa, etc). If you are able to perform a manual recording via the onscreen GUI (remote) then the module should work for you.

    As it tries to emulate the actions that are performed when a manual recording is schedule via the onscreen GUI I doubt if it can be used to bypass any restrictions in areas that do have a TiVo service. In any case, it should not be used to bypass restrictions in the US/UK where TiVo operate a subscription service.

    To install the module all you need to do is copy the manrec.itcl file into your TivoWeb "modules" directory and restart TivoWeb. All recordings must be scheduled via the TivoWeb interface.
     
  19. panjabi

    panjabi New Member

    14
    0
    Dec 18, 2004
    thank you so much for clearing that, i will give it try and plz keep up the good work
     
  20. ThurstonX

    ThurstonX New Member

    70
    0
    Jan 28, 2005
    VA
    John,
    just wanted to report a successful scheduling on a D*TiVo running 6.2 under the following conditions:

    1 previously scheduled recording from 10-11 (Season Pass)
    Manual recording scheduled for 130 min starting at 8 (so running into the above by 10 min); Force Record set to "No"
    manrec mod reported:
    "Note: These recordings are also scheduled within this timeslot:
    Lost on DC7.
    ToDo Recordings
    Creating Recording... Done.
    Creating Program... Done.
    Creating Showing... Done."

    ToDo list shows both.

    Went back in and tried to schedule another manual recording starting at 10 to see how it would handle two conflicts. manrec mod returned the following:

    "DC United vs. KC Wizards on MLS conflicts.
    Lost on DC7 conflicts.

    No recording scheduled!"

    I assume that's the expected output. Not going to test forcing a recording just yet ;-)

    Thanks again for all your efforts and for making us D*TiVo owners very happy. Stellar work, consider you don't have one!
     

Share This Page

spam firewall

Advertisements