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 25, 2009 #481 of 1437
    TadK

    TadK New Member

    19
    0
    Oct 19, 2007
    I'll keep an eye out for anything funny and report back. Thanks again guys for the amazing support.
    Tad
     
  2. Apr 26, 2009 #482 of 1437
    farble1670

    farble1670 New Member

    25
    0
    Feb 6, 2007
    thanks for the awesome software.
     
  3. Apr 26, 2009 #483 of 1437
    catbastet

    catbastet New Member

    13
    0
    Mar 30, 2006
    Since at least 1.2b12 lots of videos on my pytivo server do not show up in the list anymore. The last time I checked it, and transferred stuff was probably late last week so I don't know for sure with which release it started.

    The videos that do and do not show up seem random to me (but I'm sure its not). If I go look at the same lists with Streambaby or the 1.1 version of pytivox, they all show up.

    For example it lists:

    folder (15)

    but when I go into that folder nothing is there. Sometimes there will be a few of them, maybe 2 or 3 of the 15 that should be.
     
  4. Apr 26, 2009 #484 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Is it always the same videos that are not listed, or is it a different set each time?
    Have you tried hitting 'apply' and does that fix anything up?

    Can I get you to try getting the list again from pyTivo, and then attach the contents of
    Code:
     <user>/Library/Logs/pyTivoX/pytivo.log 
    So we can see if anything interesting is going on?

    Thanks again.
     
  5. Apr 26, 2009 #485 of 1437
    catbastet

    catbastet New Member

    13
    0
    Mar 30, 2006
    Yes its always the same videos that are and are not displayed. Hitting apply doesn't help and I even tried rebooting the computer (just in case).

    There are 18 folders in the first level. In some of the folders all the videos show up fine, some of them a few of the videos show, and in some none of them show up.

    The files are mostly all either .avi or .mkv (and it shows and doesn't show different combinations of these)
     

    Attached Files:

  6. Apr 26, 2009 #486 of 1437
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    I don't see anything there. (As I post this, BTW, it says 0 views, but I did actually download it.) Maybe something would show up with debug on?

    Show us a directory listing and indicate which ones don't appear.
     
  7. Apr 26, 2009 #487 of 1437
    catbastet

    catbastet New Member

    13
    0
    Mar 30, 2006
    I'm not sure how you might want me to show a directory listing, I don't know if a screenshot would really work. Here is a new logfile though with debug turned on (I hope).

    Also I checked with an older copy I had and it definitely still worked the way it is supposed to work with 1.2beta10. I don't have beta11 anywhere so I'm not sure about that one.
     

    Attached Files:

  8. Apr 26, 2009 #488 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Nope that log doesn't seem to have debug turned on.
    I built a version of pytivox that will turn on debug for you (you'll need to run it and hit 'apply'). Download it from http://yoav.org/files/pyTivoX-beta.dmg and drag the pyTivoX inside to your Applications folder (over the old pyTivox presumably). Make sure to hit the 'Apply' button, then go to your tivo, try and see the folders on the tivo, and then re-send us the logs...


    To get a directory listing you can just copy here, open up Terminal.app, and run
    Code:
     ls -lR "Location"  > ~/Desktop/full_list.txt
    Location is where pyTivoX claims your movies are. (The first thing in Shared Directories). This will generate a complete recursive list of your movies into a file named "full_list.txt" on your desktop which you can then attach here..

    For example, for my setup I would type
    Code:
    ls -lR "/Volumes/External Disk/movies" > ~/Desktop/full_list.txt
    
     
  9. Apr 26, 2009 #489 of 1437
    catbastet

    catbastet New Member

    13
    0
    Mar 30, 2006
    Alright, here is the new log and a directory listing. I also installed that special debug version, but the log looks the same to me.

    in the 30rock folder, only videos 17, 18, and 19 show in the list on my TiVo.

    in the greek folder (and the sub directory 720) none of the videos show up.

    in the my boys folder everything is listed exactly as it should be
     

    Attached Files:

  10. Apr 26, 2009 #490 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Did you hit 'apply' after installing it? (that is required to activate the debug logging).
    Did you get the log out of <user>/Library/Logs/pyTivoX/pytivo.log ?

    Looking at the list, I notice that the 'greek' folder has extended information about it. You probably
    need to open up the folder using the option-click , 'get info', and see what the permissions on that
    folder are...

    can you run
    Code:
     mdls /Volumes/dot/TV/active/test/greek 
    and show us the output. *something* in there is preventing pytivo from seeing those files.
     
  11. Apr 26, 2009 #491 of 1437
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    The listing shows ampersands, single quotes, commas and umlauts -- one or more of these could be a problem. I'll see if I can duplicate your issue.
     
  12. Apr 26, 2009 #492 of 1437
    catbastet

    catbastet New Member

    13
    0
    Mar 30, 2006
    I was wondering about that, and I can certainly change it, but I did check and most of the folders, even all the ones that show up fine have files with those characters as well.

    Also, it just started happening with this version, so it used to not be a problem. If it had been a problem from the start I probably would have just left those characters out, I don't really need them they just look nicer to me. I realize they can sometimes cause problems

    yes and yes

    kMDItemContentCreationDate = 2008-09-02 20:34:10 -0500
    kMDItemContentModificationDate = 2009-03-31 13:54:35 -0500
    kMDItemContentType = "public.folder"
    kMDItemContentTypeTree = (
    "public.folder",
    "public.directory",
    "public.item"
    )
    kMDItemDisplayName = "greek"
    kMDItemFSContentChangeDate = 2009-03-31 13:54:35 -0500
    kMDItemFSCreationDate = 2008-09-02 20:34:10 -0500
    kMDItemFSCreatorCode = ""
    kMDItemFSFinderFlags = 0
    kMDItemFSHasCustomIcon = 0
    kMDItemFSInvisible = 0
    kMDItemFSIsExtensionHidden = 0
    kMDItemFSIsStationery = 0
    kMDItemFSLabel = 0
    kMDItemFSName = "greek"
    kMDItemFSNodeCount = 2
    kMDItemFSOwnerGroupID = 20
    kMDItemFSOwnerUserID = 501
    kMDItemFSSize = (null)
    kMDItemFSTypeCode = ""
    kMDItemKind = "Folder"
    kMDItemLastUsedDate = 2009-03-31 13:54:35 -0500
    kMDItemUsedDates = (
    2009-03-21 00:00:00 -0500,
    2009-03-31 00:00:00 -0500
    )
     
  13. Apr 26, 2009 #493 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Hmm.
    Looking at the metadata nothing jumps at me as to why it would deny pytivo the right to read those files.

    However, I'm 99&#37; sure that if debug is enabled, a bunch of "DEBUG:" lines would show up in the pytivo.log, and I'm not seeing any. Can you look at <user>/Library/Application Support/pytivo.conf and tell me if you see a line with "debug=True" in there?
     
  14. Apr 26, 2009 #494 of 1437
    fishtank22

    fishtank22 New Member

    80
    0
    Jan 4, 2004
    North Jersey
    Hey gang.. LOVE PYTIVO!!!!!

    Just wondering if it would be possible to allow pytivoX to be able to read smart folders that are set up on my system. So if I created a "recent videos" smart folder than only showed videos from the past month that were a movie type.

    This would be helpful for viewing videos show with my Panasonic Lumix cam that are sitting in my iphoto library.

    Just a thought.

    Thanks

    Fish
     
  15. Apr 26, 2009 #495 of 1437
    catbastet

    catbastet New Member

    13
    0
    Mar 30, 2006
    Its very strange, I know. This is what the pytivo.conf that I got from
    <user>/Library/Application Support/pytivox/pytivo.conf
    says:

    # Created by pyTivoX, edits here WILL BE OVERWRITTEN

    [Admin]
    type=admin

    [Server]
    debug=True
    ffmpeg=/Applications/pyTivoX.app/Contents/Resources/ffmpeg.bin
    beacon=10.0.1.255
    [kori Movies]
    type=video
    path=/Volumes/dot/Movies

    [kori TV]
    type=video
    path=/Volumes/dot/TV/active

    [test]
    type=video
    path=/Volumes/dot/TV/active/test
     
  16. Apr 26, 2009 #496 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    That would be an extremely cool thing, but I don't think that's going to happen :(.

    Basically, a smart folder isn't really a folder. It's a description of a 'spotlight search', which tools that use the MacOS API can use and it appears to be a folder to them. However, if you look 'inside' this folder using standard unix calls, it just looks like a simple file with a lot of XML search options.

    since streambaby and pytivo were both written using portable unix API calls, they can't look inside a smart folder.

    There may be some hacks using folder actions that you can use to copy the newest files from a smart folder to a real folder, but I'm an expert in neither one ...
     
  17. Apr 26, 2009 #497 of 1437
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    There have been some recent changes that may be relevant.
     
  18. Apr 26, 2009 #498 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ok, I'm stumped, the config file is correct...

    On the upside, wmcbrine has a hint about what may be going on (related to some code that was checked in recently). Hopefully he will chime in soon with a fix and all will be good...

    It's remotely possible that there's some old pytivo still running which is why the config file is never being re-read. Fully quitting pyTivoX and starting it again is supposed to kill it... but *hmm*.

    For now lets wait for wmcbrine to chime in. Maybe no 'debug-level' log-lines were being written out and everything is as it should-be. I'll build a new pyTivoX when he does and hopefully it will fix the problem.
     
  19. Apr 26, 2009 #499 of 1437
    catbastet

    catbastet New Member

    13
    0
    Mar 30, 2006
    That was the main reason why I tried restarting the computer, but even that probably isn't a 100% foolproof way of making sure an old copy of something isn't running.

    Just to test it then, I removed all of the ampersands, single quotes, commas and umlauts from the file names, still the same results.
     
  20. Apr 26, 2009 #500 of 1437
    fishtank22

    fishtank22 New Member

    80
    0
    Jan 4, 2004
    North Jersey
    I see... That's a bummer. Maybe a folder action that runs a unix script that creates a symbolic link in a different folder. But thats a bit beyond me.... I may do some research on that.

    Thx for the reply
     

Share This Page