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

Streambaby - new streaming application

Discussion in 'TiVo Home Media Features & TiVoToGo' started by kearygriffin, Jan 20, 2009.

  1. JamieP

    JamieP Member

    991
    0
    Aug 2, 2004
    Doesn't look like anything was added since 11.0b:
    Code:
    supportedEncodingType
    avcL41MP4
    vc1ApL3
    mpeg2ProgramStream
    That's the list from the 11.0c tivoapp right arfter "supportedEncodingType".
     
  2. kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    As alluded to in previous messages, and thanks to moyekj taking the initiative to port the required pyTivo python code to Java, the newest version of streambaby:
    http://streambaby.googlecode.com/files/streambaby-svn-r228.zip

    Allows you to push content to your TiVo (instead of streaming) without the requirement of having pyTivo running.

    The current version will still use pyTivo for pushes by default, but this is likely to be removed in the future.

    To activate the internal push, simply add the following entries in streambaby.ini:
    tivo.username=yourusername@somewhere.com
    tivo.password=yourpassword

    Where yourusername@somewhere.com and yourpassword are the username and password you use to login to your account at tivo.com

    Streambaby should auto-detect all of the TiVo's on the network and allow you to push videos to them. When selection a video from the selection screen, you should see the "Push" option in addition to the standard play/resume play options. If you have multiple TiVo's you can use the left/right arrows to toggle between them.

    For a more advanced configuration (or if the auto-discovery does not work for some reason) you can individual designate some/all of the TiVo's:
    tivo.1=NameOfThisTivo
    tivo.1.username=username for tivo.com
    tivo.1.password=password for tivo.com
    tivo.1.tsn=serial number of the tivo without dashes/spaces
    tivo.2.=xxxx
    ...
    ...etc...
    ...

    (tivo.x.username= and tivo.x.password= are optional, and if not specfied tivo.username= and tivo.password will be used)

    There are probably still a few loose ends and some bugs, but it seems to work pretty well. It should include the title and description from the pyTivo metadata in the push.
     
  3. conan76

    conan76 New Member

    15
    0
    Jul 17, 2008
    Adelaide, SA
    Excellent work kearygriffin! I'm looking forward to using this, but won't be testing as StreamBaby is too important to my family for taking any risks :rolleyes: Hope the next stable release comes out soon.

    BTW, one other enhancement my wife keeps asking for is to be able to play a folder & for all videos in subfolders to be played. Is this possible?
     
  4. rfryar

    rfryar My Media, My Way

    222
    0
    Feb 15, 2008
    Cottage...
    This is already a feature. While the folder is highlighted just hit the play button, just like in the TiVo Now playing screens. It will then play each video in the folder.

    Regards,

    Rick
     
  5. reneg

    reneg Member

    699
    0
    Jun 19, 2002
    I loaded the new version of Streambaby up and it worked great. It saw all three Tivos on my net and I was able to push videos.

    Also, You can use FF to play all the videos in a folder. Not sure if it works or not with nested folders. Streambaby Remote Button Summary Link
     
  6. Sicklybutsexy

    Sicklybutsexy New Member

    179
    0
    May 5, 2007
    One enchancement that could use work, unless I missed it, is fixing the metadata...Is there a way to have it arrange by episode number or by date aired?
     
  7. TheAmigo

    TheAmigo New Member

    13
    0
    Dec 28, 2001
    Glendale...
    Sorry if this is a FAQ, but I didn't see a FAQ page on the wiki (BTW, the GettingStarted link is broken)

    When I run streambaby, it says:
    Code:
    Initializing...
    04/25/09 20:03:24 Listener: added factory
    04/25/09 20:03:24 Main: streambaby ready & listening.
    and nothing else. When I click on Music, Photos & more, I see my pyTivo photo and music shares, but no Streambaby.

    streambaby.ini:
    Code:
    dir.1=/space/Videos
    dir.1.name=Videos on Snoopy
    OS:
    Linux snoopy 2.6.28-ARCH #1 SMP PREEMPT Tue Mar 17 06:42:43 UTC 2009 i686 AMD Athlon(tm) XP 1800+ AuthenticAMD GNU/Linux​
    Java:
    java version "1.6.0_13"
    Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
    Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)​
    TiVo:
    S3​

    Netstat shows streambaby listening on 7290, but tcpdump sees no packets going between my PC's port 7290 and the TiVo.

    Attached is my debug log file... any susggestions?
     

    Attached Files:

  8. jasa

    jasa New Member

    23
    0
    Nov 5, 2008
    Earth
    Hey guys and thanks for great app!!!!!!!!!

    I was wondering when the new stable version will be released with all the great features you have added ????

    I have been using it since version.19 and it has been great app Keary and moyekj and all the others who are doing it you guys rock !!!!!!!!!
     
  9. gonzotek

    gonzotek tivo_xml developer

    2,402
    3
    Sep 24, 2004
    Outside...
    Are you running IPv6? The TiVo HME SDK isn't compatible with it. I think you'll have to disable it, if that's the problem.
     
  10. kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    I did some testing with IPV6 a couple of weeks go, when it was first mentioned and indeed it did not work. The newer SVN versions however *should* work (I only tested on my main dev environment which is Ubuntu 8.10-amd64).

    The newer versions have -Djava.net.preferIPv4Stack=true in the bash/.bat script which seemed to take care of the problem.

    You may also want to make sure streambaby is listening on the correct IP address by editing streambaby.ini and adding:
    ip=xxx.xxx.xxx.xxx

    Where xxx.xxx.xxx.xxx is the main IP address on your PC.

    The only other thing I have seen that may cause the issue noted (Streambaby not showing up in movies, photos, & showcases) is multicast issues having to do with the particular router(s) setup on the network. When I first started developing streambaby I was running OpenWRT in bridge mode, and it was not passing the mDns multicast broadcast across the bridge. My final solution for this was to change my network setup ;-)
     
  11. gonzotek

    gonzotek tivo_xml developer

    2,402
    3
    Sep 24, 2004
    Outside...
    Ah, cool, I hadn't noticed the preferIPv4Stack change in streambaby. I have no use for IPv6, but it was annoying having to disable it on Ubuntu.

    I ran into a similar problem with bridging on my network and the solution was the same for me. In the end, it was simpler to wire everything together, except the two notebooks, and serve everything from the att fios router and a simple 5-port switch.
     
  12. westside_guy

    westside_guy Annoyingly ephemeral

    464
    1
    Mar 13, 2005
    The soggy...
    I have noticed that streambaby doesn't seem to read titles from the pyTivo metadata files until you've actually selected down to a single file. Is there a way to change this so it behaves more like pyTivo, and reads the metadata for the entire current directory?

    That might not be clear :D so here's the example. I have a "Movies" folder, and inside that I've got a "James Bond" folder. When I first go into the Bond folder, I see the files listed by actual filename:

    01_DrNo.mpg
    02_FromRussiaWithLove.mpg
    03_Goldfinger.mpg
    04_Thunderball.mpg
    ...

    If I select the second one, I'll of course see the title and all the rest of the pyTivo metadata for the movie. Then if I come back up a level, I see...

    01_DrNo.mpg
    James Bond - From Russia With Love
    03_Goldfinger.mpg
    04_Thunderball.mpg

    Now with the Bond movies this is only a small annoyance - but with some TV series I ripped to names like "Season01Episode01.mpg", trusting the pyTivo metadata to provide an actual useful title on the Tivo. Works fine when I browse using pyTivo, but with streambaby it can be a significant problem. It's easy to remember that I last watched "Third Party Ripoff", but not so easy to remember that it was episode 18 of Season 3 of La Femme Nikita. :p

    Thanks!
     
  13. AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    I have seen this issue as well. To solve this, I wrote an AppleScript (Folder Action Script) to actually edit the first line of the MetaData, and add " - " and the EpisodeTitle to the first line of the MetaData file. This script also removes "EpisodeTitle" line in the MetaData file.

    This makes pyTivo and pyTivoX display the title and episode name when you're browsing through the list from your TiVo.

    I assumed that there was something wrong with my setup, because I was the only one complaining about this, so I just wrote the script to solve it.
     
  14. conan76

    conan76 New Member

    15
    0
    Jul 17, 2008
    Adelaide, SA
    I was actually referring to videos in subfolders... ie, if you have a top level called 2009 and press play on this then it plays all videos in folders below this (eg "2009_03 - holiday in Bali"). Currently I get a 'Cannot Open Stream' error when I try to do this.
     
  15. westside_guy

    westside_guy Annoyingly ephemeral

    464
    1
    Mar 13, 2005
    The soggy...
    In my case I haven't seen any issues with pyTivo - so I'm thinking it's a metadata parsing (or caching?) issue specific to streambaby.
     
  16. Sicklybutsexy

    Sicklybutsexy New Member

    179
    0
    May 5, 2007
    Just put these two things in your streambaby.ini file:

    meta.vidinfo.disable=false
    use.title.cachedonly=false
     
  17. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I'm curious: assuming that's the fix, why is that not the default?
    It seems like it would be confusing to have titles change depending on whether they were previously clicked on or not...
     
  18. westside_guy

    westside_guy Annoyingly ephemeral

    464
    1
    Mar 13, 2005
    The soggy...
    Perfect - that does fix it. Thank you VERY much!

    I'd like to second Yoav's question - the current default behavior seems broken and counter-intuitive, IMNSHO.

    Edit: I'd like to rescind my use of the word "broken" - that was a bit strong. But I do think it's counter-intuitive.
     
  19. moyekj

    moyekj Well-Known Member

    11,144
    32
    Jan 23, 2006
    Mission...
    Personally I like to always see file names instead of titles since I organize everything with file names in a format that will list series in proper order. The following settings will make streambaby always show file names and sort them alphabetically.
    use.title=false
    sort.filename=true

    Agreed that default behavior with no extra config settings can be confusing/undesireable.
     
  20. Sicklybutsexy

    Sicklybutsexy New Member

    179
    0
    May 5, 2007
    I second. Also, wish there was a way to arrange the order of the metadata, but date aired, etc...not sure if it's possible. but at least something like wmcbrine has it in pytivo where the most recent file is at the top.
     

Share This Page