HME/VLC video streamer, v1.0 -- watch NASA TV, etc.

Discussion in 'TiVo Home Media Features & TiVoToGo' started by wmcbrine, Aug 23, 2008.

  1. wmcbrine

    wmcbrine Well-Known Mumbler

    12,000
    1,015
    Aug 2, 2003

    Advertisements

    No, that's what you'd expect to see on a normal start. Now go to the Music, Photos & Showcases menu on your TiVo and see if "HME/VLC" is there.
     
  2. spellow

    spellow Damn! Winters coming

    130
    0
    Oct 31, 2003
    Northern, VA
    I looked, I don't see anything...
     
  3. wmcbrine

    wmcbrine Well-Known Mumbler

    12,000
    1,015
    Aug 2, 2003
    And you understand that it will be under MP&S, and not the NPL, right?

    If it's not there, it's probably a network problem, like a firewall on the PC blocking it.
     
  4. spellow

    spellow Damn! Winters coming

    130
    0
    Oct 31, 2003
    Northern, VA
    Yeah, I understand where it shoudl show up on the Tivo...I opend up my firewall, still nothign shows up...I am running vista, does it work on vista...I know it said XP, but I figured I would try it.
     
  5. wmcbrine

    wmcbrine Well-Known Mumbler

    12,000
    1,015
    Aug 2, 2003

    Advertisements

    I see no reason it wouldn't work on Vista, but I haven't tested it.

    There's not much to go on here. Do other HME apps work for you? Specifically, other HME apps hosted on your own PC? Have you Enabled Home Network Applications (last line on the MP&S menu)? Are your TiVo and your computer on the same subnet (what are their IPs)?
     
  6. spellow

    spellow Damn! Winters coming

    130
    0
    Oct 31, 2003
    Northern, VA
    Yeah, i view photos, MP3's no problem. Tivo desktop 2.7 works with no issues as well...

    Here is the first few lines of my config file, maybe I have somethign wrong.

    [hmeserver]
    port=9043
    datapath=
    apps=hmevlc

    [hmevlc]
    vlcport=9044
    vbitrate=2048
    abitrate=384

    [Videos]
    dir=f:/TVShows
    needs_vlc=True

    [Movies]
    dir=f:/TVShows

    [Liam Bedroom]
    rss=http://192.168.0.100

    [TED Talks]
    rss=http://feeds.feedburner.com/tedtalks_video

    [Tekzilla]
    rss=http://revision3.com/tekzilla/feed/quicktime-high-definition/

    [GeekBrief.TV]
    rss=http://geekbrief.podshow.com/feed.xml
     
  7. wmcbrine

    wmcbrine Well-Known Mumbler

    12,000
    1,015
    Aug 2, 2003
    Actually, none of those are HME, though it does seem to indicate that your computer is talking to your TiVo. Hmm. I don't know what to suggest, apart from rebooting your TiVo.

    Maybe TiVo Desktop is conflicting with Zeroconf.py? That doesn't happen under XP, but like I say, I haven't tested with Vista.

    That line certainly isn't useful, but it shouldn't keep HME/VLC from showing up, either. Given that your video shares are on the F: drive, you might want "datapath=f:\" here.

    Does your web cam really provide an RSS feed? Perhaps "url" would be more appropriate here. Of course you're not to that point yet.
     
  8. spellow

    spellow Damn! Winters coming

    130
    0
    Oct 31, 2003
    Northern, VA
    ok, so when I put a path for this field:

    [hmeserver]
    port=9043
    datapath=F:\TVShows\movies
    apps=hmevlc

    it shows up on my tivo, if I remove the path it does not show up.

    But even when it does show HME/VLC on my tivo when i select it it never goes past please wait.....
     
  9. wmcbrine

    wmcbrine Well-Known Mumbler

    12,000
    1,015
    Aug 2, 2003
    Strange.

    And what does it say on the console (DOS Box) when this is happening?
     
  10. spellow

    spellow Damn! Winters coming

    130
    0
    Oct 31, 2003
    Northern, VA
    It never says anything...still says this:

    HME Server for Python 0.17
    Tue Apr 21 14:59:52 2009 Server Starts
    Registering: hmevlc
     
  11. wmcbrine

    wmcbrine Well-Known Mumbler

    12,000
    1,015
    Aug 2, 2003
    So... when it does show up, it's without an icon, right?

    It still sounds like a network problem, then.
     
  12. ilwerath

    ilwerath New Member

    3
    0
    Dec 31, 2007
    @ wmcbrine
    I just wanted to delurk and say "Thanks!" Great program. I can't believe I just now discovered it. Maybe you should try to get some more publicity. I just happened across this thread by Google...

    Also, as a point of data for you, it works great with Python 2.6 for AMD64 on Windows Server 2003 64bit. :)

    @ spellow
    Two thoughts for you.

    First, in the .ini file, I specified all directory paths with backslashes, in the form
    d:\path\to\my\files\
    Windows doesn't much like front slashes...

    Second, do you have UAC enabled in Windows Vista? Are you trying to launch Python 2.6 with Administrator rights? It may need them to function properly. Logically, there is no reason the script should care much what version of Windows you call it from, but it might crash if it or Python doesn't have system rights.
     
  13. primehalo

    primehalo New Member

    12
    0
    Oct 17, 2002
    Redding, CA
    The instructions say "Python 2.4 or later (2.5 or later recommended)", but does that include Python 3.0.1, because the Python website says version 3 is incompatible with version 2?
     
  14. wmcbrine

    wmcbrine Well-Known Mumbler

    12,000
    1,015
    Aug 2, 2003
    Basically no Python program wants or will work with Python 3.x, unless explicitly marked as being for 3.x. 3 is the future... 2 is now.

    I have developed a 3.x-compatible version of my HME library, but I'd also need an updated Zeroconf.py for it to work. Since that doesn't seem to be forthcoming, I may have to do it myself.
     
  15. May 6, 2009 #235 of 481
    trashjunkid

    trashjunkid New Member

    20
    0
    Jan 20, 2009
    @spellow:
    I have vista too & it seems to work. I did have to install .86i VLC, of course. My cmd window shows "Registering" and nothing else until I actually click on the Music, Photos & Slideshows menu, then it actually connects.
    It worked without me specifying the data path- that is, it worked for the feeds. When I changed the config file datapath to C:\ and then made the Videos section \users\name\Videos, leaving the needs_vlc=True line below, my local videos worked great.

    @wmcbrine: Thank you for your awesome work here and with pytivo. Together both programs have really transformed our movie/tv/photo/music experience.

    Now, my questions. First time poster, longish time lurker.

    I liked the latest build of VLC- is it possible to have both versions installed (in windows vista), having hme/vlc server use the .86 and the rest of my system to use the latest build? I really don't know and during the install process it didn't seem possible- and I'd rather not lose the hme/vlc ability.

    Now the second question is a bit more mysterious to me. How can I tell which feeds will work in with this app and which will not?

    I tried the following feeds and none of them worked:

    Washington Post HD Video Podcast]
    rss=h t t p://w w w.washingtonpost.com/wp-srv/mmedia/hd_podcast.xml
    needs_vlc=True

    [Colbert Report Video Clips]
    rss=h t t p://f e e d s 2.feedburner.com/ColbertReportiFilm?format=xml
    needs_vlc=True

    [Hubblecast]
    rss=h t t p://w w w.spacetelescope.org/rss/vodcasthd.xml
    needs_vlc=True

    (I added extra spaces above to get the links to post, because I am a lowly 0 post-count lurker)

    I tried at least the first 2 without the needs_vlc=True line, and all three with the line. In any case, only the hubblecast displayed the episode titles. The other two simply didn't work. I can't see why the Washington Post and Hubblecast aren't working, as they apparently link directly to the files. I am sorry if the answer is already present in this thread or the forum- I may very well have overlooked it.

    Can anyone offer any suggestions on these points?

    Thanks,
    trashjunkid
     
  16. May 6, 2009 #236 of 481
    Allanon

    Allanon Well-Known Member

    1,055
    240
    Nov 2, 2005
    If you open the VLC.py file in a text editor and search the text for "vlcpath" you will find this code:
    Code:
    if sys.platform == 'win32':
        vlcpath = r'C:\Program Files\VideoLAN\VLC\vlc.exe'
    
    Just rename or move the folder that holds VLC version .86 then change the vlcpath. Then install the newer version of VLC.

    When you open the feed in an RSS reader and see the actual link to the video file then that feed will probably work, if there is just a link to another web page then it won't work.

    The Washington Post and Hubblecast feeds should work. The Colbert Report feed doesn't have a link to the actual video file so it won't work.
     
  17. May 6, 2009 #237 of 481
    wmcbrine

    wmcbrine Well-Known Mumbler

    12,000
    1,015
    Aug 2, 2003
    Hubblecast is working for me (and without needs_vlc), but the videos are coming in reeeeeeeally slowly. It may be that their server is overloaded.

    The Colbert Report feed is not in the right format for HME/VLC. It doesn't have video enclosures, only links to web pages with embedded Flash.

    The Washington Post feed is crashing HME/VLC. I haven't figured out why yet...

    Edit: I had this open while I tested and didn't refresh before I posted. To what Allanon said, I'll just add that you can set the path to VLC in your config.ini:

    [hmevlc]
    vlc = \where\ev\er

    Edit 2: OK, the Washington Post feed contains one enclosure that stupidly has no MIME type defined. That's what's breaking HME/VLC. I'll do a workaround...
     
  18. May 6, 2009 #238 of 481
    wmcbrine

    wmcbrine Well-Known Mumbler

    12,000
    1,015
    Aug 2, 2003
    The quickest workaround for the Post: Find the line in hmevlc/__init__.py that says:

    Code:
    if enc is not None and enc.get('type').startswith('video'):
    and change it to:

    Code:
    if enc is not None and enc.get('type', '').startswith('video'):
    The clips look great, and needs_vlc is not needed. There are some entries for nonexistent (404) videos, though.
     
  19. May 6, 2009 #239 of 481
    dennys48

    dennys48 New Member

    3
    0
    Feb 19, 2009
    That does work for the Washington Post but it causes CBN (Christian Broadcasting Network) to stop working. (I wasn't allowed to post the link because I have 0 posts here.
     
  20. May 7, 2009 #240 of 481
    wmcbrine

    wmcbrine Well-Known Mumbler

    12,000
    1,015
    Aug 2, 2003
    So, an improvement all around, then. :D
     

Share This Page

spam firewall

Advertisements