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

pyTivo - Transcoding server

Discussion in 'TiVo Home Media Features & TiVoToGo' started by armooo, Nov 25, 2006.

  1. May 5, 2017 #5881 of 5918
    wmcbrine

    wmcbrine Ziphead

    10,487
    80
    Aug 2, 2003
    pyTivo is actually structured into "plugins" already -- video, music, photos, togo, and settings -- but I'm guessing that's not what you mean?
     
  2. May 5, 2017 #5882 of 5918
    ClearToLand

    ClearToLand Old !*#$% Tinkerer!

    685
    61
    Jul 9, 2001
    Central Jersey
    Hi William,

    As long as you might still be available for questions tonight, if I run tivolibre with the '-p' option (on a 'glitched' .TIVO file that won't transfer back), what do I need to do to display the metadata 'transparently' (i.e. as if pyTiVo was accessing the original .TIVO file) along with the resulting 'stripped' .TS file on my TiVo?
    • Put the .TXT file in the same directory as the .TS file for pyTiVo to find?
      .
    • Add a line with a PATH pointing to the metadata file(s) in the pyTiVo config file?
      .
    • Something else?
    Thanks! :)
     
  3. May 5, 2017 #5883 of 5918
    lpwcomp

    lpwcomp Well-Known Member

    8,922
    161
    May 6, 2002
    John's...
    The highlighted option. To be clear, the metadata file must be the same name as the video file, including extension, with .txt added.
     
  4. May 5, 2017 #5884 of 5918
    ClearToLand

    ClearToLand Old !*#$% Tinkerer!

    685
    61
    Jul 9, 2001
    Central Jersey
    • Elementary - s01e01 - Pilot.TS
      - needs to see
      1. Elementary - s01e01 - Pilot.TS.TXT ? :confused:
        - OR
      2. Elementary - s01e01 - Pilot.TXT ?
     
  5. May 5, 2017 #5885 of 5918
    lpwcomp

    lpwcomp Well-Known Member

    8,922
    161
    May 6, 2002
    John's...
    Elementary - s01e01 - Pilot.TS.TXT
     
    ClearToLand likes this.
  6. May 5, 2017 #5886 of 5918
    ClearToLand

    ClearToLand Old !*#$% Tinkerer!

    685
    61
    Jul 9, 2001
    Central Jersey
    Thanks! :)

    Looks strange though, with TWO extensions...
     
  7. May 5, 2017 #5887 of 5918
    ericdkirk

    ericdkirk New Member

    13
    1
    Oct 9, 2014
    Actually it is a pytivo plugin, I have been using it for years. The long abandoned playon plugin, though it still works with my old version of pytivo(10/2015). I have tried it with wmcbrine's current versions and cant get it to work, so I keep rock'n the oldies.
     
  8. May 6, 2017 #5888 of 5918
    ClearToLand

    ClearToLand Old !*#$% Tinkerer!

    685
    61
    Jul 9, 2001
    Central Jersey
    So why did you SPECIFICALLY ask Dan (aka @Dan203), in the pyTiVo thread, instead of William (aka @wmcbrine)? :confused:
    i.e. Why would Dan support plugins for William's program?
     
    aaronwt likes this.
  9. May 6, 2017 #5889 of 5918
    ericdkirk

    ericdkirk New Member

    13
    1
    Oct 9, 2014
    @ClearToLand I am sorry I offended you, I will rework my questions.
    @Dan203 Do you plan on supporting the same plugin process as pytivo does, allowing you to place a folder in the plugins folder to add functionality?
    @wmcbrine Is there any reason the current pytivo would not recognize a plugin? I am using the old playon plugin with 10/2015 version of pytivo but your current prance does not recognize the plugin.
     
  10. May 6, 2017 #5890 of 5918
    dlfl

    dlfl Cranky old novice

    7,226
    95
    Jul 6, 2006
    Dayton OH
    I am/was the maintainer of the playon plugin. I hadn't used it for quite a while so didn't realize it no longer works with WmcBrine's latest pyTivo (1-1-2017 I think?). On pyTivo start up it gives an error message that the playon plugin doesn't exist, check you share type. A little debugging reveals it is failing a Python __import__() in the plugin.py module. It was working with a March 2016 WmcBrine version. It may never get fixed unless it's something simple that someone more expert in pyTivo (i.e., WmcBrine) can suggest.

    AFAIK there is no general problem of the current pyTiVo not supporting plugins -- just the particular problem with the playon plugin.
     
  11. May 6, 2017 #5891 of 5918
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    40,625
    1,236
    Apr 17, 2000
    Nevada
    Because of the way I bundle mine into an exe there is no plugin folder for you to drop something into. If this in important I could look imto importing plugins dynamically from the install directory.

    Alternatively you could download the pyTivo fork from my repo and run it just like you do the old one, then only use the Desktop portion of my build. The Desktop app com,unicates with pyTivo using http, so as long as the correct version is running it can be either pure python or the compiled exe and it'll still work. (I use thw pure python version when doing development)
     
    mlippert and gonzotek like this.
  12. wdwms

    wdwms Member

    182
    0
    Jan 10, 2003
    I've been using PyTivo for years, however i can always get the bolt to see my share if I run pytivo in console mode. If i run it as a service, or just execute pytivo start it cannot be seen. I must use the console switch for it to work. What could be causing this?
     
  13. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    40,625
    1,236
    Apr 17, 2000
    Nevada
    Most likely your firewall.

    You also need to make sure that the service has access to the folder you're trying to share and the folder where your conf file is stored.
     
  14. Jul 5, 2017 #5894 of 5918
    marcosw

    marcosw New Member

    3
    0
    Jul 5, 2017
    I've been using pyTivo for a long time but recently I've run into a couple of problems:

    1. Every program is now unable to be transferred with the message "Transferring prohibited by copyright holder." This includes home videos for which I hold the copyright and that I've previously transferred without problem. The pyTivo log messages are:
    Code:
    INFO:pyTivo:192.168.0.40 [05/Jul/2017 09:21:46] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
    INFO:pyTivo:192.168.0.40 [05/Jul/2017 09:21:46] "GET /TiVoConnect?Command=QueryContainer&Container=MyVideos&Recurse=Yes&SortOrder=!CaptureDate&ItemCount=8&AnchorItem=%2FMyVideos%2Fzoe_dance_2009.m4v&AnchorOffset=-7&Filter=x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F*&SerialNum=7582001902Dxxxx HTTP/1.1" 200 -
    INFO:pyTivo:192.168.0.40 [05/Jul/2017 09:21:46] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg-ts HTTP/1.1" 200 -
    I haven't changed anything on my end at all, the same version of pytivo.py and no changes to pytivo.conf, so my guess is this was caused by a TiVo update.


    2. The "My Videos" folder routinely disappears from my TiVo Bolt. If I restart pyTivo.py it usually fixes the problems for a period of days but sometimes I need to restart pyTivo several times before it works. Here are the log message for when it works:
    Code:
    INFO:pyTivo:Last modified: Sun Jan  1 17:57:07 2017
    INFO:pyTivo:python: 2.7.12
    INFO:pyTivo:System: Linux-4.4.0-78-generic-x86_64-with-Ubuntu-16.04-xenial
    INFO:pyTivo.beacon:Scanning for TiVos...
    INFO:pyTivo.beacon:TiVo Bolt
    INFO:pyTivo.beacon:TiVo XL4
    INFO:pyTivo.beacon:Announcing shares...
    INFO:pyTivo.beacon:Registering: MyVideos
    INFO:pyTivo:pyTivo is ready.
    INFO:pyTivo:192.168.0.40 [05/Jul/2017 09:16:12] "GET /TiVoConnect?Command=QueryContainer&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
    INFO:pyTivo:192.168.0.37 [05/Jul/2017 09:16:12] "GET /TiVoConnect?Command=QueryContainer&Container=MyVideos&ItemCount=0&SerialNum=84900019023xxxx HTTP/1.1" 200 -
    INFO:pyTivo:192.168.0.40 [05/Jul/2017 09:16:12] "GET /TiVoConnect?Command=QueryContainer&Container=MyVideos&ItemCount=0&SerialNum=7582001902Dxxxx HTTP/1.1" 200 -
    INFO:pyTivo:192.168.0.37 [05/Jul/2017 09:16:45] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
    
    and when it does not:
    
    INFO:pyTivo:Last modified: Sun Jan  1 17:57:07 2017
    INFO:pyTivo:python: 2.7.12
    INFO:pyTivo:System: Linux-4.4.0-78-generic-x86_64-with-Ubuntu-16.04-xenial
    INFO:pyTivo.beacon:Scanning for TiVos...
    INFO:pyTivo.beacon:TiVo Bolt
    INFO:pyTivo.beacon:TiVo XL4
    INFO:pyTivo.beacon:Announcing shares...
    INFO:pyTivo.beacon:Registering: MyVideos
    INFO:pyTivo:pyTivo is ready.
    INFO:pyTivo:192.168.0.40 [05/Jul/2017 09:14:19] "GET /TiVoConnect?Command=QueryContainer&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
    INFO:pyTivo:192.168.0.40 [05/Jul/2017 09:15:39] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
    I would appreciate any suggestions for debugging these issues.

    marcos
     
    Last edited by a moderator: Jul 5, 2017
  15. Jul 5, 2017 #5895 of 5918
    lpwcomp

    lpwcomp Well-Known Member

    8,922
    161
    May 6, 2002
    John's...
    It could be caused by an ffmpeg update. Also, try setting ffmpeg_wait to 300 as 0 doesn't seem to work as advertised.
     
  16. Jul 5, 2017 #5896 of 5918
    marcosw

    marcosw New Member

    3
    0
    Jul 5, 2017
    Thanks, that was in fact the problem. ffmpeg couldn't find a shared library.

    I found and fixed the problem a couple of minutes after posting, so deleted my post before anyone spent any time on this.

    marcos
     
  17. Jul 5, 2017 #5897 of 5918
    marcosw

    marcosw New Member

    3
    0
    Jul 5, 2017
    While I'm thinking about pyTivo issues:

    Does anyone else have problems with the "My Videos" folder disappearing from their TiVo Bolt? Everything works for days/weeks and then the folder will be gone and I'll have to restart pyTivo.py to fix the problem. This isn't an issue on my other TiVo, an XL4.

    marcos
     
  18. Jul 5, 2017 #5898 of 5918
    unitron

    unitron Active Member

    16,470
    21
    Apr 28, 2006
    semi-coastal NC
    And by deleting your post your deprive future searchers of information.
     
    knarf829, mlippert and ClearToLand like this.
  19. whitepelican

    whitepelican Member

    677
    2
    Feb 14, 2005
    Thank you. This was my problem as well, and I'm glad I finally saw this comment after much frustration trying to get my new Bolt to see pyTivo shares. I have VMware installed, and I simply had to go into my network connections and disable the virtual network adapter.
     
  20. newsposter

    newsposter Poster of News

    35,227
    40
    Aug 18, 2002
    SE PA
    im reporting sometimes my transfers are fast now and sometimes slow. however the one thing that still befuddles me is that with 75% full i will get a message 'your show will not record because your show is recording' type message when i try to load up a 2 hour movie. is there a single movie out there that takes 25% of space?

    i get when it says 2 weeks out something wont record. but it gives the name of the thing i'm uploading 'now' as not being able to be uploaded now..very weird
     

Share This Page