Streambaby - new streaming application

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

  1. moyekj

    moyekj Well-Known Member

    12,299
    949
    Jan 23, 2006
    Mission...

    Advertisements

    Thanks for posting! I tried adding the above such that the code is now the below, but login still fails:
    Code:
    Security.setProperty("jdk.certpath.disabledAlgorithms","TLS_RSA_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA");
    Security.setProperty("jdk.tls.disabledAlgorithms","SSLv3");
    
     
  2. Hyrax

    Hyrax Member

    119
    3
    Sep 1, 2007
    The discussion is a little fragmented, so I'll just ask what are probably dumb questions. Is this just related to pushing videos to my Tivo? I am using Java 8, Update 66, which isn't presenting any problems when downloading recordings from my Roamio Tivo.

    Can you give us an idea of which version 8 of Java you recommend? Also, is it possible to have two versions of Java installed on your computer? If not, should I be running KTTMG with old versions of Java in a VM?

    Thanks!
     
  3. moyekj

    moyekj Well-Known Member

    12,299
    949
    Jan 23, 2006
    Mission...
    This thread is about streambaby, not kmttg. The streambaby issue specifically is pushes don't work with recent versions of Java 8 because of changes in SSL authentication that Java has made and the fact that mind.tivo.com uses older less secure SSL authentication which is not compatible. If you don't care about pushes with streambaby then latest versions of Java 8 work fine for everything else. kmttg requires latest versions of Java 8 to work, so reverting back to older Java for kmttg would break it. I'm hoping perhaps trooper1 can post some working Java code for logging in to mind.tivo.com so that I can update streambaby code to work with latest Java 8 as well for pushes.
     
  4. trooper1

    trooper1 New Member

    9
    0
    Oct 15, 2009
    Oops! I had been trying different properties on the command line while debugging, and didn't realize https.cipherSuites was still being set and was also part of the solution. So this works for me with a bare command line:
    Code:
         System.setProperty("https.cipherSuites", "SSL_RSA_WITH_RC4_128_SHA"); 
         Security.setProperty("jdk.tls.disabledAlgorithms", "SSLv3");
     
  5. moyekj

    moyekj Well-Known Member

    12,299
    949
    Jan 23, 2006
    Mission...

    Advertisements

    Bingo! With these 3 set it seems to work again:
    Code:
    System.setProperty("https.cipherSuites", "SSL_RSA_WITH_RC4_128_SHA");
    System.setProperty("jdk.certpath.disabledAlgorithms","TLS_RSA_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA");
    Security.setProperty("jdk.tls.disabledAlgorithms", "SSLv3");
    
    Thank you very much! I guess it's time for an updated release with above fix.
     
  6. moyekj

    moyekj Well-Known Member

    12,299
    949
    Jan 23, 2006
    Mission...
    OK, version 0.47 is now released with fix to pushes so that they work with latest Java 8 releases. All thanks to trooper1.
     
  7. trooper1

    trooper1 New Member

    9
    0
    Oct 15, 2009
    No problem, happy to contribute back!

    And it doesn't matter so just FYI, the certpath.disabledAlgorithms doesn't need to be set to those ciphers since only the right one is enabled -- but it does need to be set to something to override the default of "MD2, RSA keySize < 1024". One of the certs in tivo's chain has a 512bit key, so that's why the default breaks.
     
  8. Hyrax

    Hyrax Member

    119
    3
    Sep 1, 2007
    Sorry for my confused posting. I think of the two programs almost as book-ends to my Tivo. Without them I might as well own my cableco's DVR. I don't use streambaby anywhere near as much as kmttg, but I do use it. Thanks for making & maintaining it, and thanks to you and trooper1 for getting it to work with the recent Java build.
     
  9. HarperVision

    HarperVision TiVo's Italian Cuz!

    5,275
    18
    May 14, 2007
    Paradise...
    @trooper1, thanks so much for helping moyekj and the community! You seem to know your stuff. Any chance you're good with optimizing VPN tunnels? :)
     
  10. Jan 2, 2016 #3290 of 3674
    AudioNutz

    AudioNutz Member

    320
    0
    Nov 9, 2008
    Moyekj,
    I wanted to say "Great Job" in continuing with Streambaby. I was a user some years ago, and my interest fell off. I recently discovered the improved version, and I'm back to being a regular user again. I like it!

    just a simple question... Can the list display sort by "Date". I typically have all of my NPL's sorted by date, and it would be great if Streambaby was able to do this.
     
  11. Jan 2, 2016 #3291 of 3674
    moyekj

    moyekj Well-Known Member

    12,299
    949
    Jan 23, 2006
    Mission...
    No, there's no configurable sorting option currently in the code.
     
  12. Jan 2, 2016 #3292 of 3674
    AudioNutz

    AudioNutz Member

    320
    0
    Nov 9, 2008
    Would you take this as a feature request, or is this not possible with this type of streaming device?
     
  13. Jan 3, 2016 #3293 of 3674
    moyekj

    moyekj Well-Known Member

    12,299
    949
    Jan 23, 2006
    Mission...
    The problem is how do you define date? Streambaby lists all video files with and without metadata, so Original Air Date may or may not be available (even if there is metadata for every file). About the only thing I can think of that always has an available date is last modified file date on disk, so that would be the only feasible way to sort by date.
     
  14. Jan 3, 2016 #3294 of 3674
    AudioNutz

    AudioNutz Member

    320
    0
    Nov 9, 2008
    Yes. File modified date is the way pytivo does it, so that would be just fine if you would do it that way.

    If you do it by metadata, that's fine with me too, but I'm not really needing anything that elaborate.
     
  15. Jan 3, 2016 #3295 of 3674
    moyekj

    moyekj Well-Known Member

    12,299
    949
    Jan 23, 2006
    Mission...
    OK, version 0.48 released with date sorting option available. Note that there are also options for displaying file names instead of titles and sorting alphabetically by file name that I've been using but were undocumented that I added to Wiki. To enable sort by date add following to streambaby.ini:
    sort.date=true

    The previously undocumented options I added to StreamBabyIni Wiki:
    use.title= (default:true)
    If false then display file names instead of titles

    sort.filename= (default:false)
    If true then sort displayed entries by alphabetic file name instead of alphabetic title.

    I've always liked this combination of options set so I simply get list of file names sorted alphabetically:
    use.title=false
    sort.filename=true
     
    Last edited: Jan 3, 2016
  16. Jan 3, 2016 #3296 of 3674
    AudioNutz

    AudioNutz Member

    320
    0
    Nov 9, 2008
    Thanks for the quickness! :)

    I'm noticing that it's going by the date of the metadata file in my case. This will work for me, because I usually make sure the video file and the metadata file are the same date. (touch) I'll just need to be diligent about this.
     
  17. elenaran

    elenaran Member

    42
    0
    Oct 17, 2006
    Any tips for a new linux user of streambaby? I had it working fine on Windows but wanted to set it up on my new NAS box. I've got java installed and it seems to run streambaby without any errors - starts up, says it's ready/listening, and finds my tivos, but when I go to streambaby from my tivo, it just hangs on "One moment..." and nothing ever happens. No error message on the server, nada.

    Any ideas?
     
  18. moyekj

    moyekj Well-Known Member

    12,299
    949
    Jan 23, 2006
    Mission...
    Turn on debug logging and post the debug log here. Instructions:
    https://sourceforge.net/p/streambaby/wiki/debugging_problems/
     
  19. mattack

    mattack Well-Known Member

    25,472
    651
    Apr 9, 2001
    sunnyvale
    Edit, brain fart, I was really talking about pytivo.. sigh...
     
    Last edited: Jan 14, 2016
  20. elenaran

    elenaran Member

    42
    0
    Oct 17, 2006
    Thanks - I figured it out. Turned out to be an issue with the linux64 service. I just ran the base streambaby executable from screen instead and it seems to work fine.
     

Share This Page

spam firewall

Advertisements