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. Apr 26, 2009 #501 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Well, so back to the only thing I noticed that was strange from your full listing: greek had some metadata that the other folder didn't.. so lets try this. Open up Terminal.app, and run the following commands:
    Code:
    cd /Volumes/dot/TV/active/test
    
    mkdir newgreek
    
    mv "greek/season 2" "newgreek/"
    
    This should create a new directory named newgreek, and move the contents of greek into it. Restart pyTivoX, and see if the newgreek directory works as it should. If so, then there's something odd with the actual 'greek' directory. Do you know how it was created?
    If not, then at least we know it has nothing to do with the odd metadata thing.
     
  2. Apr 26, 2009 #502 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Oh, also, can you run in that Terminal.app
    Code:
    xattr greek
    
    I'm wondering if that folder is being quarantined or something...
     
  3. Apr 26, 2009 #503 of 1437
    catbastet

    catbastet New Member

    13
    0
    Mar 30, 2006
    I made the new directory, its the same. I can see any video files, but the subfolder is visible.

    When I run xattr nothing comes back at all, looking into it further it looks like the extra thing was showing up because I had it highlighted. I took off the highlighting so that extra tag isn't showing up any more
     
  4. Apr 26, 2009 #504 of 1437
    catbastet

    catbastet New Member

    13
    0
    Mar 30, 2006
    Ok, I figured it out, sorry for all the trouble. The problem is in the text files and not the video files. I should have tried eliminating those first.

    This new version doesn't like smart quotes in the text files. Ampersands, commas and umlauts are all fine, but if it has any smart quotes in it then it just won't show that the file is even there (for me at least).

    Now I just need to decide if I want to change all my files to straighten the quotes (which might be best practice anyway). I should be able to use something like text wrangler to batch it, but I have tons of them.
     
  5. Apr 26, 2009 #505 of 1437
    wmcbrine

    wmcbrine Ziphead

    10,363
    22
    Aug 2, 2003
    The TiVo can't digest those "smart quotes" anyway, AFAIK -- just shows them as boxes. But I'm surprised to hear that it's causing this problem, or that there's any difference in how they're handled now. Can you send me an example file?
     
  6. Apr 26, 2009 #506 of 1437
    catbastet

    catbastet New Member

    13
    0
    Mar 30, 2006
    That was sort of how I noticed that might be the problem. I saw the odd characters that showed up when I used the older versions. I think I will just change them all though, in the long run they will look nicer on the TiVo if I do them that way. I never noticed that they were even smart quotes when I made them, I just copied and pasted and didn't really pay attention.
     

    Attached Files:

  7. Apr 27, 2009 #507 of 1437
    wmcbrine

    wmcbrine Ziphead

    10,363
    22
    Aug 2, 2003
    OK, so, that file is in the Mac Roman encoding. Since I'm now flagging the description as UTF-8 instead of ISO 8859-1, the non-ASCII characters turn into invalid UTF-8 sequences, and apparently this confuses the TiVo. (The ISO 8859-1 mapping wasn't right either, but in that case, they still appeared as valid characters.) I'll see what I can do to address this.

    Meanwhile, if you resave the files as UTF-8, they should work, although the "smart quotes" still won't show up on the TiVo.
     
  8. Apr 27, 2009 #508 of 1437
    wmcbrine

    wmcbrine Ziphead

    10,363
    22
    Aug 2, 2003
    I have a workaround in my repo now. Text is checked for valid UTF-8ness; if it fails, it's treated as either Mac Roman (for the Mac) or ISO 8859-1 (all other platforms). I think this will handle most cases, and at a minimum, will send no more bogus UTF-8 to the TiVo.
     
  9. Apr 27, 2009 #509 of 1437
    wmcbrine

    wmcbrine Ziphead

    10,363
    22
    Aug 2, 2003
  10. Apr 27, 2009 #510 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Oh nice :)
    I actually have MacFuse but haven't tried this..

    I guess all it would take would be to create a filesystem that is the spotlight search, and pyTivoX should happily accecpt it as a new source folder. Then pyTivo and streambaby will both stream files from there.

    So fishtank: looks like there is a solution and it shouldn't be that hard to use... (crossing fingers)
     
  11. Apr 27, 2009 #511 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ok, new test build up on

    http://yoav.org/files/pyTivoX-beta.dmg

    Is it doing the right thing?
     
  12. Apr 27, 2009 #512 of 1437
    catbastet

    catbastet New Member

    13
    0
    Mar 30, 2006
    Seems to work great, thanks everyone for the help.

    On a completely separate topic, is there any easy way to make the pytivo list alphabetical even in the now playing list is by most recent?
     
  13. Apr 28, 2009 #513 of 1437
    wmcbrine

    wmcbrine Ziphead

    10,363
    22
    Aug 2, 2003
    I have one more question for you, if you don't mind: What editor did you use to produce these Mac Roman-encoded metadata text files? See, I'd read this:

    But I guess that isn't entirely true, is it?

    Not yet...
     
  14. Apr 28, 2009 #514 of 1437
    catbastet

    catbastet New Member

    13
    0
    Mar 30, 2006
    I just used text edit, and I just pressed save and kept everything default not changing anything. When I straightened the quotes I used text wrangler (bbedit), again all defaults.
     
  15. May 2, 2009 #515 of 1437
    solutionsetc

    solutionsetc Member

    762
    0
    Apr 2, 2009
    Northern...
    First... Thanks Yoav for this.

    I am having an issue that I have not seen discussed here so maybe I am doing something stupid. When I try to stream I am getting an http failure error after what seems like a timeout on the TiVo.

    I am guessing this is a firewall issue for if I turn my firewall off to allow all incoming connections streaming seems to work fine. But I would prefer not to do that.

    If the firewall is on, downloading of shows works from "Now Playing" but trying to stream from "Showcases etc." brings up the http connection error after a minute or two of "Please wait".

    Edit... Ok it was stupid. I see Streaming is a java based app and I had Java set to disallow incoming connections.
     
  16. May 2, 2009 #516 of 1437
    solutionsetc

    solutionsetc Member

    762
    0
    Apr 2, 2009
    Northern...
    So for now just one more question...

    When streaming I don't seem to be able to jump ahead and have the stream reset. It acts like it is going to (Please wait) but then just resets the stream to 0.
     
  17. May 2, 2009 #517 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    If I understand correctly, you're saying that when you use streambaby (under Photos, Music, Showcases) and hit the fast forward to a point which hasn't been downloaded yet, it instead rewinds to the beginning of the movie?

    Normally, it will 'clean up' the buffer (so it will look like you have nothing downloaded) but it's supposed to resume playing from where it is.. not from the beginning of the movie.

    I haven't seen this happen before, but your previous posting seems to mention a bunch of firewalling going on and it might be confusing streambaby. Please make sure you're running the beta: http://code.google.com/p/pytivox/downloads/list (streambaby has had a lot of code changes go in). If it's still happening under the beta, can you attach the log file (under <user>/Library/Logs/pyTivoX/streambaby.log ).. maybe we can see something useful in there...
     
  18. May 3, 2009 #518 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    pushed out 1.2 .. includes latest streambaby and pytivo-wmcbrine
     
  19. May 3, 2009 #519 of 1437
    dejardin

    dejardin New Member

    9
    0
    May 3, 2009
    Hello--

    I've been trying to get pytivoX to work for the last couple of days with no luck. I just updated pytivo to 1.2 on my new Intel Mac Mini running Python 2.5.1. I have both Series 2 and Series 3 HD TiVos, and so far no luck with anything showing up in either NPL. I've used pytivo successfully in the past on a PC, but it has been shut down the whole time I've worked on pytivoX. Both TiVos and the Mac show up in the DHCP clients table and there's only one network. I have one shared folder set up with files in it. No help from a TiVo restart, either. pyTivoX.log only shows the "pyTivo is ready" message, nothing else. Any help appreciated. Thanks!

    dejardin
     
  20. May 3, 2009 #520 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Did you hit 'apply'?
     

Share This Page