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

pyTivoX

Discussion in 'TiVo Home Media Features & TiVoToGo' started by Yoav, Dec 10, 2008.

  1. Jan 21, 2009 #121 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    You're welcome, glad to make life easy for people, but you should thank the pytivo and streambaby devs.. they did the hard part :)
     
  2. Jan 22, 2009 #122 of 1437
    Ladd Morse

    Ladd Morse Member

    791
    0
    Feb 21, 2002
    Yes, I did and it works fine now. No more ffmpeg quitting.
     
  3. Jan 22, 2009 #123 of 1437
    herbman

    herbman Member

    118
    0
    Apr 8, 2008
    Hi there, I'm trying out the beta (great work so far!). The pytivo portion still works (I get my movies folder link in now showing), but nothing new is showing up under music, photos, and showcases. Nothing is firewalled as far as I know, and I have home network applications enabled. How should I begin to diagnose?

    Thanks!

    *Edit* I see the problem, in /tmp/pyTivoX-SB.log:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/unwiredappeal/tivo/streambaby/StreamBabyMain

    Any ideas? FWIW, I have this installed in a subfolder to /Applications.

    *Edit 2* I was able to manually start the distributed streambaby by opening a shell to the streambaby dir underneath the pyTivoX.app tree, moving the streambaby.ini to streambaby.ini.dist, and creating a symlink to the version in ~/Application Support/pyTivoX. This enabled the start, with no issue with the classpath working. Perhaps something in pyTivoX has a small bug in instantiating the java class for streambaby?

    Unfortunately, while it's now starting without a JVM error, it's still not working. It's just hanging on "Initializing..."

    *Edit 3* OK, so the path was causing the issue, because it had a colon in it (which is acceptable under mac os X). I tried running the streambaby shell script from the Application Support/pyTivoX dir and got the same error I saw earlier. I moved back to vanilla /Applications, nuked the prefs just in case, restarted and now it is starting both daemons.

    Sadly, same as above.. hung on Initializing..
     
  4. Jan 23, 2009 #124 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ermm, be careful. A colon is not 'acceptable' under MacOS (for certain definition of acceptable). a colon is similar to a slash, in that it is a directory component seperator...

    I dunno *why* they made the decision to use colons.. I'm sure they had some reason, but it's caused no end of headaches... Can you try putting it in a location without a colon?
     
  5. Jan 23, 2009 #125 of 1437
    herbman

    herbman Member

    118
    0
    Apr 8, 2008
    Yeah, this was an "Audio/Video" dir I had underneath the /Applications in the Finder GUI. It translated to a colon in the shell. I moved back to regular /Applications and it worked. After that it was all about issues with streambaby, which I've been posting in that thread. I made the change that he talked about (the not autodeleting previews thing) and so as long as I never click 'Restart' in your app it won't overwrite that file, right?
     
  6. Jan 23, 2009 #126 of 1437
    bedelman

    bedelman Call me Bob

    3,564
    0
    Feb 26, 2001
    Crystal...
    To contribute about the use of a colon...

    Colon was the separator used in the Mac OS before OSX -- it goes back to the implementation of HFS (Hierarchical File System) which began back in version 4 of the operating system if I recall correctly (about 1989)
     
  7. Jan 23, 2009 #127 of 1437
    herbman

    herbman Member

    118
    0
    Apr 8, 2008
    I was aware of that. I honestly didn't put it in myself, it was what the Finder did to the path. This seems like a JDK bug if anything.
     
  8. Jan 23, 2009 #128 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    That is correct. Restart will re-write the config file. Otherwise, nothing else will. The newest beta (1.1b4) fixes the 'autodelete' bug too btw...
     
  9. Jan 23, 2009 #129 of 1437
    herbman

    herbman Member

    118
    0
    Apr 8, 2008
    Great. I'll try it out when I get home. Any other updates?
     
  10. Jan 23, 2009 #130 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    the shared libraries should work with this update, although kearygriffin is probably going to post a new release of his code, after which I'll integrate it and put up another beta..
     
  11. Jan 23, 2009 #131 of 1437
    kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    And I actually just made the autodelete code a little smarter so it won't fail on recursive symlinks, and also should be faster/use less memory in general. (It was brain-dead in many many ways... ;-) The new version should be up tonight.
     
  12. Jan 23, 2009 #132 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    So can I re-enable autodelete in the next release?
     
  13. Jan 23, 2009 #133 of 1437
    kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    I believe so, but I'll let herbman be the final judge of whether or not my fixes work ;-)
     
  14. Jan 23, 2009 #134 of 1437
    pkscout

    pkscout Active Member

    3,928
    0
    Jan 10, 2003
    Honolulu, HI
    I like the addition of the option to stream and/or have stuff in the Now Playing list. I wonder if there would be value in being able to assign a specific share as streamed versus in Now Playing (or both) rather than having it a global setting. I have some shares that make sense as folders in Now Playing and a couple that really make more sense as streaming.
     
  15. Jan 23, 2009 #135 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Hmm.. I guess I can add a type called 'video - stream' , 'video -download' , and 'video both'.. or.. ermm.. trying to figure how to do this while keeping the interface basic and simple..

    Edit: Ok, just added video:stream, video:pytivo (and the old video setting will apply to both). Not sure it's a good idea yet... but we'll see -- can always back the changes out if people seem confused... Trying to keep this program *VERY simple*. If you generally want to play with more advanced values, you may want to edit the files in
    ~/Library/Application Support/pyTivoX/
    and avoid hitting the 'restart' button (that overwrites them).
     
  16. Jan 23, 2009 #136 of 1437
    luvmytivo

    luvmytivo New Member

    15
    0
    Nov 13, 2000
    Burbank,...
    Geez,
    It seems I'm jumping back into the SA TiVo world at the right time - the availability of these features on MacOS is very nice, and you've done a great job simplifying and implementing them. Hat tip to you my good man.
     
  17. Jan 24, 2009 #137 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ok, the next beta is up, with the latest streambaby code, some new icons for the buttons, and the ability to select videos that are only streamed or only downloaded... Bug reports appreciated...
     
  18. Jan 24, 2009 #138 of 1437
    pkscout

    pkscout Active Member

    3,928
    0
    Jan 10, 2003
    Honolulu, HI
    It's working well for me. And I like the selection drop down. I agree that you need to keep it simple, and I think you found a good balance by setting a default that is easy for a beginning user.

    I also like the APPLY button instead of RESTART. I know RESTART is technically right, but APPLY makes me feel like the program actually saved my changes.

    Did you change something with the network detection stuff? Before this beta I used to have to restart pyTiVoX a couple of times before the shares would show up in the NP list. Now it seems to work consistently on the first restart.
     
  19. Jan 24, 2009 #139 of 1437
    herbman

    herbman Member

    118
    0
    Apr 8, 2008
    Works for me! Also, love the new log format.
     
  20. Jan 24, 2009 #140 of 1437
    Sevenfeet

    Sevenfeet Gentle Giant

    164
    0
    Jun 24, 2000
    Nashville, TN
    More like version 3 of the OS, circa 1986. System 3.2 was the first stable HFS release back then...it was widely used in my Mac lab in college. :)
     

Share This Page