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. Feb 9, 2009 #381 of 3415
    kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    As of last night's SVN it should be ok to leave out both of those INI settings. (It was definitely a good idea to have them before). Now it will only used meta-titles in the selection screen if the title has already has been cached. (It is cached via two mechanisms, either by selecting the movie, or by pressing the enter key on the remove when in the selection screen, which will generate meta-titles for all files in that directory).

    I'm not sure which versions of streambaby people are using, but are people who are using SVN versions that need the above INI files at least seeing the metadata information when they select the movie to play (on the play screen) or when pressing the info button when playing? If not, I need to figure out why because even with those ini settings, that part of the metadata code should still be active.

    EDIT: I just saw rfryar's message about not seeing the metadata, so I guess some people are having issues. I'll need to do some more testing tonight, but it should look for the metadata either as:
    filename.ext.txt (in the same directory as the original file)
    or
    .meta/filename.ext.txt (so in a subdirectory of the directory the original file was in called .meta)

    I've been testing 95% of the time with the files in the .meta directory, so it's possible I broke it for files that aren't in there. I'll need to check. It could also be many other things (linux vs windows line terminators, etc.) I'll post if I figure anything more out.
     
  2. Feb 9, 2009 #382 of 3415
    jannlinder

    jannlinder New Member

    106
    0
    Oct 17, 2004
    San Jose, CA
    I saw no metadata with PyTivoX 1.1b10 but I never knew I had to press enter on the remote or whatever...

    Is there a particular reason why? Is there a default we can add to ensure that we don't have to do that? I subdirectory-divide my TV by show then season...ie:

    Reba
    - Season 01
    - Season 02

    So there should not be enough .txt files to read that it should slow down StreamBaby by that much... (20-25 files max)

    EDIT: My .txt are in the same dir as the original file. I do not use the .meta dir
    J
     
  3. Feb 9, 2009 #383 of 3415
    kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    This is definitely on the agenda, but I didn't find it quite so easy when I initially tried. I struggled a bit (I'd never used HME before streambaby) with hme/bananas/bananas-plus to get it to work. The issue wasn't the font (I can easily make the font smaller), but the selection bar and hint arrows.

    I also at some people need to make streambaby work at higher resolutions. It's hard coded at 640x480 at the moment. Again, something I toyed with in the beginning but gave up and decided I would look at it in the future.
     
  4. Feb 9, 2009 #384 of 3415
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    +1 vote for higher resolution!! :)

    Also, would it make sense to change the following defaults:
    ffmpegexe.transcode.sameqargs=-sameq -ab 384k
    quality.highestabr=384
    quality.highres=1080

    192 for audio is pretty low, and I suspect most HD's out there by now are 1080?
     
  5. Feb 9, 2009 #385 of 3415
    kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    re: Metadata

    It looks like there are some problems under windows (not sure what it is yet). Depending on what the issue is, it could conceivably be a problem on the Mac also. I'll see what I can do an post when I push a new version to SVN.

    And to jannlinder, once I get the issues worked out as to why metadata isn't working at for most people at the moment, setting this in your INI
    use.title.cachedonly=false

    Will tell streambaby to always parse the metadata so it can use the title on the selection screen.
     
  6. Feb 9, 2009 #386 of 3415
  7. Feb 9, 2009 #387 of 3415
    rfryar

    rfryar My Media, My Way

    222
    0
    Feb 15, 2008
    Cottage...
    I can not get metadata to show up at all. I used the 20beta, as well as the code from the SVN from Sunday night. I have tried in the simulator of hitting "e", or "i" on the play screen. On my lastest SVN when hitting e on the selection screen I get an Array Index OUt Of Bounds exception:

    02/09/09 14:30:12 Listener: Unexpected error: java.lang.ArrayIndexOutOfBoundsExc
    eption: 0

    Can you release another beta build just to ensure I have everything packaged correctly?

    Thanks,
    Rick.
     
  8. Feb 9, 2009 #388 of 3415
    jannlinder

    jannlinder New Member

    106
    0
    Oct 17, 2004
    San Jose, CA
    I am now getting metadata from .txt file in the main dir (same dir as the file).

    Knowing that the information is limited (as this is a beta) we are getting title and description so far.

    I would LOVE to have all the logic that is available in the meta files to be used (as in: show the episode name if IsEpisode is true, etc)

    Anyway, thanks to whomever implemented this feature.

    PS: I love the black foreground with the blue surround around the text box. Nice touch.

    Next thing i would love is that streambaby could pull titles from the files to display so we do not have to read the filename and guess what the file is :) (no, i dont expect miracles from betas...just hoping!!!)

    J
     
  9. Feb 9, 2009 #389 of 3415
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    If you mean while in file browser mode I wouldn't want that, so perhaps it would have to be a config option. In some cases I have different encodings of same file name (same file name, different extensions) so I like to see full file name & extension in file browser to know which one I am playing back.
    Also, some titles are too long which would not make for a nice visual while browsing.
     
  10. Feb 9, 2009 #390 of 3415
    jannlinder

    jannlinder New Member

    106
    0
    Oct 17, 2004
    San Jose, CA
    So, for instance browsing your library using PyTivoX is not good for you (just wondering cos this is the exact option I would LOVE for StreamBaby.

    It will not pass the "Spouse Test" without this option (in my opinion).
     
  11. Feb 9, 2009 #391 of 3415
    kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    I'm a little confused, but I think this is what the option
    use.title=(true/false, with default=true) does.

    In the selection screen if use.title=true it displays using titles parsed from metadata, otherwise it uses the filename. (This isn't quite true, as unless you set use.title.cachedonly it only uses the meta-title if it is cached).

    If use.title=false, then the old style of using filenames is used. If it set to true, it tries to use the titles parsed from the metadata.
     
  12. Feb 9, 2009 #392 of 3415
    windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    So wait, we should be seeing meta data? Or only in the current SVN build and not 0.20beta?
     
  13. Feb 9, 2009 #393 of 3415
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    Haven't used pytivo in a while, ever since HME video streaming capability became possible and back when I did I didn't have metadata files anyway so I always saw file names.
    I can certainly understand the desire for that feature for some which is why I suggest it should be an option instead of one way or another as it looks like Keary already has made it. (With last SVN build I tried enabling use.title was causing streambaby to hang for me in Windows so I had to set it to false so I never got to see what it was supposed to do).
     
  14. Feb 9, 2009 #394 of 3415
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    I think the metadata updates are only in SVN not 0.20beta or earlier.
     
  15. Feb 9, 2009 #395 of 3415
    windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    Cool, thanks. I'll wait for the next beta release. :up:
     
  16. Feb 10, 2009 #396 of 3415
    jannlinder

    jannlinder New Member

    106
    0
    Oct 17, 2004
    San Jose, CA
    Then consider this my request to Yoav to remove the use.title=false from the current PyTivoX beta build .ini file since kearygriffin seems to think that option is no longer required.... (see post #381 in thread #416858 for kearygriffin's response)

    :)

    J
     
  17. Feb 10, 2009 #397 of 3415
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ermm.. it's already been removed in the last beta. You may want to use the 'check for updates' menu option, and hit 'Apply' after installing it.
     
  18. Feb 10, 2009 #398 of 3415
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    Not 100% sure but I believe in latest SVN the metadata caching is off by default. However if you hit "enter" while in file browsing mode it will build the cache as Keary mentioned. Or as Keary mentioned you can set the following in INI:
    use.title.cachedonly=false
    For me the metadata parsing is still hanging on Windows and I believe others have had the issue as well which is why I think Keary has disabled it by default until that gets worked out. (I haven't really been able to test out these settings to know exactly what they do because of the hangs).
     
  19. Feb 10, 2009 #399 of 3415
    kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    I've uploaded a new version of streambaby:
    http://code.google.com/p/streambaby/

    The main features in this version are metadata parsing and CCing (thanks to moyekj).
    CCing is turned on/off via the ASPECT button on the remote, and defaults to ON if a SRT file is found. There are also some config settings, which I'll document tomorrow on the wiki.

    I fixed a few issues that I think were causing problems with the metadata on windows, so hopefully most people will be able to get the metadata information now. If not please let me know.

    The selection screen will use titles parsed from the metadata as opposed to filenames by default, but it will not use them until they have been cached. They are cached when you select a movie to be played, or you can cache all of the entries for a directory by pressing the ENTER key in the selection screen. (This key will probably change in the future...) There are also some config settings to automatically force the caching of metadata when a directory is entered.

    All of the metadata is parsed using XSL, so if anyone wants to take a stab at better XSLT stylesheets, please feel free. I'll try to post up some basic instructions tomorrow, but basically the stylesheets are located in the stylesheets directory. In some cases multiple stylesheets are provided, with one generating HTML and one generating text. HTML supports images, but text stylesheets text looks nicer (HTML stylesheets render text on the PC side, while text stylesheets render the text on the Tivo).
    meta-html.xsl & meta-text.xsl: XSLT for MP4 metadata. html version is default. change with ini setting xsl.meta=xxx.xsl
    pytivo-html.xsl & pytivo-text.xsl: pytivo-text.xsl is the default. change with xsl.pytivo=xxx.xsl

    Tivo XML files are also supported by way of tivo-pyxml.xsl which transforms them into a format that the pytivo-xxx.xsl scripts can transform.

    (GIF/JPG/PNG are also supported, and rendered as-is)
    Plain text .txt files that are not pytivo files are also supported (autodetected) and rendered as-is.

    I know the above is confusing, and I'll try to post a better description on streambaby wiki tomorrow.
     
  20. Feb 10, 2009 #400 of 3415
    jannlinder

    jannlinder New Member

    106
    0
    Oct 17, 2004
    San Jose, CA
    Arghhh...

    Okay, so i just noticed something...

    CAVEAT: We were warned that the current code only gets title and desc from the meta file so this is not a bug...it is a feature request :)

    With the current meta code (which works as of b15 of pytivox) streambaby grabs the title meta tag. This is bad for tv shows as it does not acknowledge the isEpisode : true meta tag (which should then grab the episodeTitle and display the episode title instead -- or at least concatenate the episodeTitle onto the title -- which is in all actuality the series name (maybe with a dash or colon in between)).

    I wish I knew Java. I am a perl programmer and really wish I had the time to pick up Java! :)

    ps: In case I had not said it before: Thanks to all pytivo, pytivoX and StreamBaby programmers! Your work allowed me to ditch my appletv and use my Tivo for my personal library!

    J
     

Share This Page