Streambaby - new streaming application

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

  1. dchomak

    dchomak New Member

    27
    0
    May 3, 2015
    Not much action in this thread anymore, but I do want everyone to know that I, for one, use StreamBaby almost every day!

    More that 2 years ago, I posted a question on how to link more than one drive to the search function within StreamBaby. I was given a couple of suggestions but they were not what I was looking for.
    I have many, many videos stored on 2, 8TB external drives and when I search for a video I wanted to be able to search both drives with just one search. I finally figured out how to do just that with the MSDOS "mklink" command.
    I store all of my videos on 2 drives In these 2 locations.
    "G:\StreamBaby root" and "M:\Music Videos"
    For some reason I have found that the search function in StreamBaby doesn't seem to work properly when trying to search for files in a root directory of a drive, at least not for me.

    I am running Windows 7 and I opened up a command prompt as administrator and typed in this command:

    mklink /J "M:\Music Videos\common" "G:\streambaby root"

    This only has to be done once.
    a link will be created in M:\Music Videos named "common" and you will see it there after running the command. It will survive shutdowns and reboots.
    Now when I search "M:\Music Videos" the search will extend to the second drive and also search in "G:\StreamBaby root"

    Because of the spaces in the directories, it is necessary to use the quotes in the paths.
    to remove the link, should you want to, simply delete the "common" link.

    One more important thing I had to do is increase the amount of memory StreamBaby is allocated in the "Streambaby.bat" command.
    in stock form it uses 256M, I had to change mine to 4G! You will have to experiment to find the right amount for your configuration. If you don't have enough you will get an error in the streambaby.bat console. Use Windows Task Manager to see just how much you need.

    I edited mine from this:

    @echo off
    set LAUNCHDIR="%CD%"
    pushd "%~dp0\native"
    java -Djava.net.preferIPv4Stack=true -Xmx256m -Xmx256m -jar "%~dp0/jbin/streambaby.jar" %1 %2 %3 %4 %5 %6 %7 %8
    echo Exited.
    pause
    popd

    to this: (changes in bold)

    @echo off
    set LAUNCHDIR="%CD%"
    pushd "%~dp0\native"
    java -Djava.net.preferIPv4Stack=true -Xmx4096m -Xmx4096m -jar "%~dp0/jbin/streambaby.jar" %1 %2 %3 %4 %5 %6 %7 %8
    echo Exited.
    pause
    popd

    In my case this does suck 4GB from my system memory during the first search, and that first search does take some time. However, each successive search during that same SB session is cached and is just about instantaneous.
    VERY NICE

    Bumping up the allocated memory for SB solved all the search issues I had in the past.
    That 4G of memory allocated is released once my SB session is ended.

    A question I have is why is there 2 identical memory commands in Streambaby.bat?
    Should there be a min and max command?
     
  2. tluxon

    tluxon Member

    327
    4
    Feb 28, 2002
    Kirkland, WA
    Yes, mklink is not well-advertised but extremely useful and powerful.

    I use streambaby (0.54) several times a week to access programs primarily recorded with Windows Media Center on any of several 6TB drives. I haven't actually noted how much memory is being consumed to load all the shows, but perhaps it's different for me as I'm running streambaby as a service as opposed to via the batch file.
     
  3. reneg

    reneg Well-Known Member

    1,119
    221
    Jun 19, 2002
    I think the default should be -Xms256m -Xmx256m. It looks like it should define initial and maximum heap size. Though not recommended to have different values, you might get away with just modifying the second parameter to set the maximum. like -Xms256m -Xmx4096m. It might not take as long for that first search unless you truly are consuming 4GB of memory. Glad you found something that works for you
     
    Last edited: Aug 29, 2019
  4. kflinch

    kflinch Member

    43
    3
    May 19, 2004
    Philly Suburbs
    I didn't know Streambaby has a search function.
     
  5. Sep 7, 2019 #3645 of 3662
    sonnymiles6

    sonnymiles6 New Member

    7
    0
    Jun 17, 2015
    What does a streambaby.ini file look like with mp3 in the list of extensions?
     
  6. dchomak

    dchomak New Member

    27
    0
    May 3, 2015
    just add it in like so..

    extensions=mp4,mpeg,vob,mpg,mpeg2,mp2,avi,wmv,asf,mkv,tivo,m4v,raw,3gp,mov,flv,ts,m2ts,mts,webm,mp3

    You will see the mp3's and they will play. Progress bar doesn't advance and you can't fast forward (instant crash)
    my point was that they do play. I even messed around trying to configure the streambaby.ini options to remove the preview pane, etc.
    it sure would be nice to use the TiVo to play mp3's again.
     
  7. HoosontheTeevo

    HoosontheTeevo Member

    47
    8
    Feb 9, 2015
    Hello Streambaby creators/gurus- I have a lot of archived shows from my tivo roamio that I'd like to quickly and efficiently be able to 'play' to my main tv/tivo - that the tivo is not reliably able to pull. I did get streambaby to work from my macbook. and can get it to install/compile/find tools and launch from two windows 7 machines (via apps and by kmttg) - and I see all folders that I specify from directory names including network external drive and networked computers - but every time I select any video - .ts, .mpg, .mp4 to play I get etc. - "Failed to Open Stream" in red letters. I've rolled back to java 32 bit, tried older streambaby versions, lowered quality, etc. Any ideas?
     
  8. reneg

    reneg Well-Known Member

    1,119
    221
    Jun 19, 2002
    Sounds like it could be a permission or ffmpeg issue. There should be some error output from streambaby if you are running it from a command line. If you a running streambaby as a service, stop the service and run it from a command line so you can see the streambaby output. Also, try to remove the network aspect for now, copy a video file locally to the same machine that is running streambaby and add that directory to streambaby.ini.
     
  9. vanclute

    vanclute Member

    221
    8
    Aug 3, 2003
    Streambaby has completely stopped working for me this evening. 24 hours ago it worked perfectly, now it doesn't even show up on any of our TiVos (Premiere and Roamio Pro). Have rebooted TiVos, the streaming server, and the cable modem... no change at all.

    Anyone else having problems with SB now? I'm scared to death of the day they might decide to just kill HME apps completely once and for all...

    EDIT: For reasons completely unknown to me... now it's back just like always. I did absolutely nothing except let time pass. Weird.
     
    Last edited: Dec 11, 2019
  10. dchomak

    dchomak New Member

    27
    0
    May 3, 2015

    I believe your problem is you lack the proper files in the "native" directory of your Streambaby folder.
    streambaby - Browse /tools at SourceForge.net
    download the zip file and expand it there.
     
  11. dchomak

    dchomak New Member

    27
    0
    May 3, 2015
    It seems that last nights Windows 10 Update 1909 KB4528760
    broke Streambaby for me.
    Streambaby loads but can not find my TiVo's
     
  12. kflinch

    kflinch Member

    43
    3
    May 19, 2004
    Philly Suburbs
    I installed the update and Streambaby works OK for me. In the past I have seen there is often a Java update after the Windows update. The Java update requires a new exception to the Windows firewall.
    I don't know if this is your problem, but following is what I do.

    I run Streambaby as a service. I would stop the service. Start Streambaby from the command line. As streambaby is loading a Windows firewall window pops up and prompts to allow an exception. I select to allow the exception. Then Streambaby completes loading. Then I close the command line window and restart the service.
     
  13. dchomak

    dchomak New Member

    27
    0
    May 3, 2015
    You are right, today Java updated from Java 8 update 231 to 241.
    I had problems before that though. The new firewall exception popped up just after the new Java update and I did allow that.
    However there was no change.

    I tried your running as a service, etc but that did not work. I usually run SB from the BAT file.
    This is the console output. SB never finds the TiVos

    Initializing StreamBaby v0.54...
    01/15/20 16:50:24 StreamBabyMain: 130 STARTING StreamBaby v0.54...
    01/15/20 16:50:29 Listener: 125 added factory
    01/15/20 16:50:29 Main: 275 MDNS: http://192.168.56.1:7290/streambaby/
    01/15/20 16:50:29 Main: 276 streambaby ready & listening.
     
  14. kflinch

    kflinch Member

    43
    3
    May 19, 2004
    Philly Suburbs
    I didn't mean to imply that running streambaby would solve your problem. I simply meant that if you run streambaby as a service, you need to stop the service before you start streambaby from the command line.

    Could the Windows update have effected the network settings? If you connect the computer to the network via wifi, is wifi turned off? Or did wifi connect to a different network when the computer rebooted? Can you access the Internet from the computer?
     
  15. moyekj

    moyekj Well-Known Member

    12,129
    796
    Jan 23, 2006
    Mission...
    If you have a VPN running on machine running streambaby it can prevent TiVo discovery from working.
     
  16. dchomak

    dchomak New Member

    27
    0
    May 3, 2015
    Well. I did install Oracles Virtual Box.......
    So I uninstalled all of that and holy cow, SB has found my TiVo's again.
    I would NEVER have guessed that.
    Thank you very much!
     
  17. vanclute

    vanclute Member

    221
    8
    Aug 3, 2003
    Was this quote aimed at me? If not then it's a very spooky coincidence, so I'm gonna assume it was!

    This seems to be exactly the problem I'm having. No matter what I try, if a VPN is active on my StreamBaby machine, TiVo cannot find SB.

    Does anyone have any idea how to get around this? I just want to be able to leave the VPN active all the time and not think about it, but still have my TiVos able to find SB.
     
    Last edited: Jan 26, 2020
  18. kflinch

    kflinch Member

    43
    3
    May 19, 2004
    Philly Suburbs
    I tried it. I added the entire extensions line above to the ini file and restarted the service. Now I can play MP3s via Tivo. True the progress bar doesn't show any progress and disappears after a few seconds too. Also, no metadata or album art. So the TV is totally black screen while the music plays. But better than nothing. Thanks for the suggestion.

    I've been experimenting with playing music via Plex. But I haven't mastered organization. It's difficult to find what I want.
     
    Last edited: Apr 21, 2020
  19. dougdingle

    dougdingle HD Tech

    892
    58
    Jul 4, 2007
    West Coast
    Plex's 'organization' abilities are pathetically awful for both music and videos. Just a basic understanding of folder structures on the source would be helpful. Perhaps it's the (multitude of various) players I'm using, but whether on a TiVo, or my Terra Master NAS, or the apps that load onto my dumb 'smart' TV's it's always just garbage. Don't understand why that should be after all this time, but that's how it is.
     
  20. kflinch

    kflinch Member

    43
    3
    May 19, 2004
    Philly Suburbs
    Regarding Plex, I've read that file naming is important. The correct file name format allows Plex to recognize the file and add metadata. For movies - movie name, then year in parentheses. I have 522 movie files. I rename a bunch at a time. I also have a lot of TV episodes. I don't know what to do with them.

    Regarding playing MP3s on Tivo, some don't play. Have any idea why not?
     

Share This Page