TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Main TiVo Forums > TiVo Home Media Features & TiVoToGo
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 02-09-2009, 08:38 PM   #391
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
Quote:
Originally Posted by jannlinder View Post
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).
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.
kearygriffin is offline   Reply With Quote
Old 02-09-2009, 08:41 PM   #392
windracer
joined the 10k club
 
windracer's Avatar
 
Join Date: Jan 2003
Location: St. Pete, FL
Posts: 11,199
So wait, we should be seeing meta data? Or only in the current SVN build and not 0.20beta?
__________________
840~Roamio Pro (TA, MoCA) + two A92~Minis
S/old: 746~Premiere, 658~HDXL, 648~OLED S3, 565~TX20, 230~S2, 140~S2

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
windracer is offline   Reply With Quote
Old 02-09-2009, 08:44 PM   #393
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,510
Quote:
Originally Posted by jannlinder View Post
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).
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).
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 02-09-2009, 08:48 PM   #394
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,510
Quote:
Originally Posted by windracer View Post
So wait, we should be seeing meta data? Or only in the current SVN build and not 0.20beta?
I think the metadata updates are only in SVN not 0.20beta or earlier.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 02-09-2009, 08:54 PM   #395
windracer
joined the 10k club
 
windracer's Avatar
 
Join Date: Jan 2003
Location: St. Pete, FL
Posts: 11,199
Cool, thanks. I'll wait for the next beta release.
__________________
840~Roamio Pro (TA, MoCA) + two A92~Minis
S/old: 746~Premiere, 658~HDXL, 648~OLED S3, 565~TX20, 230~S2, 140~S2

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
windracer is offline   Reply With Quote
Old 02-09-2009, 11:52 PM   #396
jannlinder
Registered User
 
Join Date: Oct 2004
Location: San Jose, CA
Posts: 106
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

Last edited by jannlinder : 02-10-2009 at 12:04 AM. Reason: adding thread and post id for information
jannlinder is offline   Reply With Quote
Old 02-10-2009, 12:17 AM   #397
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
Quote:
Originally Posted by jannlinder View Post
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
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.
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Yoav is offline   Reply With Quote
Old 02-10-2009, 12:54 AM   #398
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,510
Quote:
Originally Posted by jannlinder View Post
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
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).
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 02-10-2009, 01:05 AM   #399
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
Streambaby V0.22beta

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.
kearygriffin is offline   Reply With Quote
Old 02-10-2009, 01:12 AM   #400
jannlinder
Registered User
 
Join Date: Oct 2004
Location: San Jose, CA
Posts: 106
Quote:
Originally Posted by Yoav View Post
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.
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

Last edited by jannlinder : 02-10-2009 at 01:15 AM. Reason: a thank you added
jannlinder is offline   Reply With Quote
Old 02-10-2009, 01:28 AM   #401
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
Quote:
Originally Posted by jannlinder View Post
Arghhh...
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 assume you are talking about pyTivo metadata files. I'll have to look at some more pyTivo metadata files. The ones I have (which I think were all actually generated with kmttg) seem to look like this for episodes:

title : 30 Rock - Retreat to Move Forward
seriesTitle : 30 Rock
episodeTitle : Retreat to Move Forward

So the title seemed to be the appropriate piece of information to use, since it already had all the information in it.
kearygriffin is offline   Reply With Quote
Old 02-10-2009, 02:15 AM   #402
jannlinder
Registered User
 
Join Date: Oct 2004
Location: San Jose, CA
Posts: 106
Quote:
Originally Posted by kearygriffin View Post
I assume you are talking about pyTivo metadata files. I'll have to look at some more pyTivo metadata files. The ones I have (which I think were all actually generated with kmttg) seem to look like this for episodes:

title : 30 Rock - Retreat to Move Forward
seriesTitle : 30 Rock
episodeTitle : Retreat to Move Forward

So the title seemed to be the appropriate piece of information to use, since it already had all the information in it.
The spec (http://pytivo.armooo.net/wiki/MetaData) for it says:

seriesTitle

Name of series (The Simpsons, Seinfeld, etc.). This should be included if the show is episodic. For movies, you may repeat the name of the movie (The Mummy, Spiderman, etc), leave blank, or omit.

title

Title of the series (The Simpsons, Seinfeld, etc.) or title of the movie (The Mummy, Spiderman, etc). Seemingly endless number of characters can be entered, only so many will be shown on the Program screen, but all are shown on the Details screen.

episodeTitle

Title of the episode (Pilot, Homer's Night Out, Episode 02, etc.) Should be included for episodic shows. Leave blank or omit for movies.

So when I see these three similar meta headings I am assuming the only place the episodeTitle goes is episodeTitle

(by the way...do not take any of this personally...I am simply trying to put forward that to be true to the spec for pytivo meta files we need to stick to the wiki and not to what another programmer has done in the past. That is the only way that we can maintain true compatibility)

J
jannlinder is offline   Reply With Quote
Old 02-10-2009, 02:41 AM   #403
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,510
Quote:
Originally Posted by jannlinder View Post
The spec (http://pytivo.armooo.net/wiki/MetaData) for it says:

seriesTitle

Name of series (The Simpsons, Seinfeld, etc.). This should be included if the show is episodic. For movies, you may repeat the name of the movie (The Mummy, Spiderman, etc), leave blank, or omit.

title

Title of the series (The Simpsons, Seinfeld, etc.) or title of the movie (The Mummy, Spiderman, etc). Seemingly endless number of characters can be entered, only so many will be shown on the Program screen, but all are shown on the Details screen.

episodeTitle

Title of the episode (Pilot, Homer's Night Out, Episode 02, etc.) Should be included for episodic shows. Leave blank or omit for movies.

So when I see these three similar meta headings I am assuming the only place the episodeTitle goes is episodeTitle

(by the way...do not take any of this personally...I am simply trying to put forward that to be true to the spec for pytivo meta files we need to stick to the wiki and not to what another programmer has done in the past. That is the only way that we can maintain true compatibility)

J
Well, with (an admittedly old version of) pyTivo things don't work out for me with metadata file unless I have the following configuration example (which is why I made kmttg do what it does):
title : The O'Reilly Factor - Coverage of the DNC
seriesTitle : The O'Reilly Factor
episodeTitle : Coverage of the DNC
With above settings pyTivo gives me following in short description:
The O'Reilly Factor <--- This in big letters
"The O'Reilly Factor - Coverage of the DNC" ....

If however I make the metadata file with the more logical settings:
title : The O'Reilly Factor
seriesTitle : The O'Reilly Factor
episodeTitle : Coverage of the DNC
Then I get:
The O'Reilly Factor <--- This in big letters
"The O'Reilly Factor" .... <--- missing episode description

Various other combinations I tried either don't give the right name in NPL or don't look right under description and extended description.

i.e. Only the first case most closely emulates what I see on Tivo which is why I make the metadata file like that in kmttg. Could be more recent versions of pyTivo behave differently, but at the time I added metadata support to kmttg that was the behavior (and still is with the old version of pyTivo I have installed).
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 02-10-2009, 02:53 AM   #404
jannlinder
Registered User
 
Join Date: Oct 2004
Location: San Jose, CA
Posts: 106
Quote:
Originally Posted by moyekj View Post
Well, with (an admittedly old version) of pyTivo things don't work out for me with metadata file unless I have the following configuration example (which is why I made kmttg do what it does):
title : The O'Reilly Factor - Coverage of the DNC
seriesTitle : The O'Reilly Factor
episodeTitle : Coverage of the DNC
With above settings pyTivo gives me:
The O'Reilly Factor <--- This in big letters
"The O'Reilly Factor - Coverage of the DNC" ....

If however I make the metadata file with the more logical settings:
title : The O'Reilly Factor
seriesTitle : The O'Reilly Factor
episodeTitle : Coverage of the DNC
Then I get:
The O'Reilly Factor <--- This in big letters
"The O'Reilly Factor" .... <--- missing episode description

Various other combinations I tried either don't give the right name in NPL or don't look right under description and extended description.

i.e. Only the first case most closely emulates what I see on Tivo which is why I make the metadata file like that in kmttg. Could be more recent versions of pyTivo behave differently, but at the time I put that into kmttg that was the behavior.
Hmmm

Cos for me the following happens:

description : Reba is happy to find out that she and Kyra are closer than ever since Krya moved in with Brock and Barbra Jean. Kyra's behavior is driving Brock and Barbra Jean crazy. Meanwhile, Cheyenne's snoring is causing problems for Van.
episodeNumber : 302
episodeTitle : War and Peace
isEpisode : true
originalAirDate : 2003-09-19T00:00:01Z
seriesId : SH71550
seriesTitle : Reba
showingBits : 2
title : Reba
vWriter : Matt Berry

WIKI WAY:
Reba <-- big Letters
"War and Peace" (2003) Reba is happy to find out that she and Kyra are closer than ever since Krya moved in with Brock and Barbra Jean. Kyra's behavior is driving Brock and Barbra Jean crazy. Meanwhile, Cheyenne's snoring is causing problems for Van. <-- small letters

KMTTG WAY:
Reba <-- big Letters
"Reba" (2003) Reba is happy to find out that she and Kyra are closer than ever since Krya moved in with Brock and Barbra Jean. Kyra's behavior is driving Brock and Barbra Jean crazy. Meanwhile, Cheyenne's snoring is causing problems for Van. <-- small letters



Oh well...

Maybe an option in the ini file as follows:


use.kmttg.meta.parsing=true/false

if true, then it parses the title as it currently does -- and is compatible with the older PyTivo
if false, then it follows the PyTivo Wiki description for the fields (and the new PyTivo and PyTivoX) and is standard as far as the wiki is concerned.


PyTivoX would have to, of course, set this to false to be compatible with the way it currently displays information so as to make it's own non-streaming descriptions the same as the StreamBaby descriptions...

My goal is to make both PyTivoX and StreamBaby (since it is now included) display meta info the same way. It is odd, after all, to view the same show 2 different ways and get 2 different displays of data.

Spouse.Test=false



J
jannlinder is offline   Reply With Quote
Old 02-10-2009, 09:31 AM   #405
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
Quote:
Originally Posted by jannlinder View Post
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
Unfortunately I have seen isEpisode set to true for movies as well. Tivo metadata is such entirely black magic it's a pain in the butt to deal with. May I suggest divorcing the wife instead? I suspect that would pass the spouse test more easily...
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Yoav is offline   Reply With Quote
Old 02-10-2009, 09:38 AM   #406
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,510
Sounds like newer branches of pyTivo have fixed the issue and behave the expected way. I'm not sure which particular branch of pyTivo is used by pyTivoX or if it really matters? For my installation I see I have this version that was installed using Windows installer: "pyTivo 2008.05.02". That version behaves the way I describe. I'll have to try a more recent version to confirm the fix.

EDIT: I just updated to following version: wgw-2008.10.15-RC1
I can confirm it now behaves as expected so no need to include episodeTitle content in title.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by moyekj : 02-10-2009 at 10:03 AM.
moyekj is offline   Reply With Quote
Old 02-10-2009, 10:16 AM   #407
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
Quote:
Originally Posted by moyekj View Post
I'm not sure which particular branch of pyTivo is used by pyTivoX or if it really matters?
Not sure if it really matters (I'm not using metadata so I'm not really contributing much here) but pyTivoX is using the latest git version of pyTivo-wgw (generally re-pulled with every build).
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Yoav is offline   Reply With Quote
Old 02-10-2009, 11:24 AM   #408
jannlinder
Registered User
 
Join Date: Oct 2004
Location: San Jose, CA
Posts: 106
Quote:
Originally Posted by Yoav View Post
Unfortunately I have seen isEpisode set to true for movies as well. Tivo metadata is such entirely black magic it's a pain in the butt to deal with.
Yes, but as programmers aren't we *supposed* to code for the standard and then put options (if we wish) to handle the misbehaving applications?

Quote:
Originally Posted by Yoav View Post
May I suggest divorcing the wife instead? I suspect that would pass the spouse test more easily...
husband...and yes, he would *love* a divorce as then he could have a simpler life and not worry about how I want to set up the electronics and computer controlled lights and garage door opener sensors (grin).

All I am really saying is that if we code for misbehaving or misunderstood applications in order to make them work we are gonna have other programmers say 'Well, since StreamBaby does it that way, we should too". PyTivo handles this condition correctly. Why shouldn't StreamBaby?

J
jannlinder is offline   Reply With Quote
Old 02-10-2009, 11:28 AM   #409
jannlinder
Registered User
 
Join Date: Oct 2004
Location: San Jose, CA
Posts: 106
Quote:
Originally Posted by moyekj View Post
EDIT: I just updated to following version: wgw-2008.10.15-RC1
I can confirm it now behaves as expected so no need to include episodeTitle content in title.

Please define "as expected". If the wiki needs to be changed, lets change it ...

I wrote my own app that pulls data from thetvdb.com and builds my own .txt metadata files for PyTivo. I would LOVE to know what the "official" explanation of title is. If it is supposed to be "display title" then it needs to morph depending on whether or not it is a tv show or movie, etc. I can fix my app to work correctly, however, as it stands my displays in b14 and b15 (as well as the current release version of pyTivoX), are all displaying correct information insofar as the Wiki is concerned -- so this means to me that pyTivoX is using a version of pyTivo that follows the Wiki for the definition of title (meaning use episodeName in both the selection screen and place episodeName in quotes below seriesTitle on the description page of the Tivo.)



Last edited by jannlinder : 02-10-2009 at 11:37 AM. Reason: describing how the current pyTivo operates
jannlinder is offline   Reply With Quote
Old 02-10-2009, 12:45 PM   #410
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
Quote:
Originally Posted by jannlinder View Post
All I am really saying is that if we code for misbehaving or misunderstood applications in order to make them work we are gonna have other programmers say 'Well, since StreamBaby does it that way, we should too". PyTivo handles this condition correctly. Why shouldn't StreamBaby?
I'm all for making things work. don't get me wrong. But the reason pyTivo handles it 'correctly' is because pyTivo just passes all the data back to the tivo, and the tivo does what it always does with the data (all those variable names were not made up by pyTivo.. They are the original variables that tivo stores as its metadata with every show it records). Streambaby is actually trying to parse the data and handle all the interesting / undocumented situations... and I'm just warning that it's not as simple as it sounds... -- Tivo hasn't actually published a document detailing the metadata and what it means (afaik). We've just been playing a guessing game that we mostly have right.
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by Yoav : 02-10-2009 at 12:57 PM.
Yoav is offline   Reply With Quote
Old 02-10-2009, 01:04 PM   #411
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,510
Quote:
Originally Posted by jannlinder View Post
Please define "as expected". If the wiki needs to be changed, lets change it ...
My definition of expected is that when viewing program details & extended details on the Tivo it should mimic as closely as possible how non-transferred programs look on Tivo. I think the recent pyTivo implementations and the wiki are now in sync so I don't see a reason to update it other than perhaps clarify what each field actually does. As Yoav stated though there is no official Tivo document on any of this metadata stuff so current implementations are a best guess at what the different fields do and future Tivo software updates can easily change the behavior without warning.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 02-10-2009, 06:29 PM   #412
windracer
joined the 10k club
 
windracer's Avatar
 
Join Date: Jan 2003
Location: St. Pete, FL
Posts: 11,199
Love the new metadata feature in 0.22!

Unrelated: I have a small (8mb) mp4 file that crashes streambaby when I select it from the menu (to go to the details screen) or press Play on it. The error in the log is:

Code:
INFO   | jvm 1    | 2009/02/10 19:25:02 | SEVERE: Plausibility check failed: offset + size > file size (size = 50435192). Stop parsing!
ffmpeg reports the file as:

Code:
FFmpeg version SVN-r17019, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/usr --enable-gpl --enable-postproc --enable-libvorbis --enable-libtheora --disable-debug --enable-libmp3lame --enable-libfaad --enable-libfaac --enable-pthreads --enable-libx264 --disable-ffplay --disable-ffserver --enable-libxvid --enable-shared
  libavutil     49.14. 0 / 49.14. 0
  libavcodec    52.13. 0 / 52.13. 0
  libavformat   52.25. 0 / 52.25. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Feb  6 2009 08:58:52, gcc: 4.3.2
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'testing.mp4':
  Duration: 00:02:25.52, start: 0.000000, bitrate: 495 kb/s
    Stream #0.0(eng): Video: h264, yuv420p, 512x384, 25.00 tb(r)
    Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16
Any ideas? At first I thought it was because there was no corresponding metadata file for this video in the .meta directory, but I have tested that on other videos on my NAS and they all work as expected.
__________________
840~Roamio Pro (TA, MoCA) + two A92~Minis
S/old: 746~Premiere, 658~HDXL, 648~OLED S3, 565~TX20, 230~S2, 140~S2

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
windracer is offline   Reply With Quote
Old 02-10-2009, 07:06 PM   #413
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,510
Quote:
Originally Posted by Sicklybutsexy View Post
There's no way to get this program to support closed captions is there? It has become my primary mode of adding .srt subtitles to movies using T2sami (very easy and quick ie...no re-encoding).
P.S. In case you missed it Keary released closed captioned capability in 0.22beta. So if you have file.xxx and an accompanying T2Sami file.srt file then by default captions will be enabled and displayed. You can toggle captions on/off using "Aspect" button. It works surprisingly well if the T2Sami file is generated properly.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 02-10-2009, 08:29 PM   #414
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
Quote:
Originally Posted by windracer View Post
Unrelated: I have a small (8mb) mp4 file that crashes streambaby when I select it from the menu (to go to the details screen) or press Play on it. The error in the log is:

Code:
INFO   | jvm 1    | 2009/02/10 19:25:02 | SEVERE: Plausibility check failed: offset + size > file size (size = 50435192). Stop parsing!
..
Any ideas?
Is there anything after that in the log? That's definitely an error, and streambaby won't be able to parse the metadata from the that file, but I am not sure why it would crash (from looking at the code it should handle it OK, but of course I don't have an easy way to test). What exactly are the symptoms of the crash? (hanging, exiting program, etc...)
kearygriffin is offline   Reply With Quote
Old 02-10-2009, 08:36 PM   #415
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
I haven't updated SVN yet, but I added the following logic for pyTivo metadata files, as far as displaying them in the selection screen. For the actual display of what I call the "info" on the playscreen and while playing it is determined by the XSL template, which I am hoping someone who knows XSLT better than me can make work. (Either that or I'll need to implement an alternative to XSLT which I can work in easier)

IF isEpisodic and we have a seriesTitle and we have an episodeTitle
-- Use "seriesTitle - episodeTitle"
else if we have a title:
-- use title:
else if we have a seriesTitle:
-- use seriesTitle:
else if we have episodeTitle
-- use episodeTitle

Hopefully that should work for most situations.
kearygriffin is offline   Reply With Quote
Old 02-10-2009, 08:37 PM   #416
windracer
joined the 10k club
 
windracer's Avatar
 
Join Date: Jan 2003
Location: St. Pete, FL
Posts: 11,199
I should clarify: the streambaby app keeps running, but I get the 0x50006 error ("the application closed during a read").

I'm starting to see this on more files now ... even ones with metadata. Hmmm.
__________________
840~Roamio Pro (TA, MoCA) + two A92~Minis
S/old: 746~Premiere, 658~HDXL, 648~OLED S3, 565~TX20, 230~S2, 140~S2

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
windracer is offline   Reply With Quote
Old 02-10-2009, 08:55 PM   #417
reneg
Registered User
 
Join Date: Jun 2002
Posts: 444
Finally got around to trying this app out, so I loaded version .22 and am seeing an error when I select a video on the Tivo. I get 0x50006 error ("the application closed during a read"). I have Windows XP with SP3. I made sure I had Java 1.6 installed. Will play around with it some more to see if I can get it running.

Code:
Initializing...
02/10/09 20:24:42 Listener: added factory
02/10/09 20:24:42 Main: streambaby ready & listening.
02/10/09 20:25:46 Listener: 192.168.1.92 icon.png HTTP GET - to factory /streamb
aby/
log after close : initContext version=47
02/10/09 20:25:57 Factory: HME receiver connected
StreamBabyStream[#1,uri=null] warning: resource 2057 not found.
StreamBabyStream[#1,uri=null] warning: resource 2057 not found.
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77c4709c, pid=452, tid=1760
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode, sharing windows-x86)

# Problematic frame:
# C  [msvcrt.dll+0x3709c]
#
# An error report file with more information is saved as:
# C:\temp\streambaby-0.22beta\native\hs_err_pid452.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Exited.
Press any key to continue . . .
Partial data from the log file:
Code:
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77c4709c, pid=452, tid=1760
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode, sharing windows-x86)
# Problematic frame:
# C  [msvcrt.dll+0x3709c]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x02c54400):  JavaThread "Acceptor" [_thread_in_native, id=1760, stack(0x03330000,0x03380000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x0319cf00

Registers:
EAX=0x0319cf04, EBX=0x26a5eaf8, ECX=0x00000001, EDX=0x00000000
ESP=0x0337f380, EBP=0x0337f388, ESI=0x0319cf00, EDI=0x0337f45c
EIP=0x77c4709c, EFLAGS=0x00010297

Top of Stack: (sp=0x0337f380)
0x0337f380:   26a5eaf8 02c54400 0337f468 10005376
0x0337f390:   0337f45c 0319cf00 00000004 02c54400
0x0337f3a0:   00a12ec5 0000009c 00000000 00000000
0x0337f3b0:   17d61c78 0337f3b4 2a9d1394 0337f3e4
0x0337f3c0:   2b1f3a18 02c54400 16a85078 0337f43c
0x0337f3d0:   02c54400 6d8f07e8 0337fcfc 6d9b1d02
0x0337f3e0:   02c54400 00000006 00000004 02c54400
0x0337f3f0:   2a9d0ab8 0337f43c 2b1f3ed0 00a19cf1 

Instructions: (pc=0x77c4709c)
0x77c4708c:   8b 44 8e f4 89 44 8f f4 8b 44 8e f8 89 44 8f f8
0x77c4709c:   8b 44 8e fc 89 44 8f fc 8d 04 8d 00 00 00 00 03 


Stack: [0x03330000,0x03380000],  sp=0x0337f380,  free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [msvcrt.dll+0x3709c]
C  [jna371831539367682850.tmp+0x5376]
j  com.sun.jna.Pointer._getPointer(J)Lcom/sun/jna/Pointer;+0
j  com.sun.jna.Pointer.getPointer(J)Lcom/sun/jna/Pointer;+6
j  com.sun.jna.Structure.readValue(ILjava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;+566
j  com.sun.jna.Structure.readField(Lcom/sun/jna/Structure$StructField;)Ljava/lang/Object;+164
j  com.sun.jna.Structure.read()V+79
j  com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+311
j  com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+344
j  $Proxy0.av_close_input_file(Lnet/sf/ffmpeg_java/v52a/AVFormatLibrary$AVFormatContext;)V+16
j  com.unwiredappeal.tivo.vm.ffjava.FFmpegJavaVideoModule.fillVideoInformation(Ljava/net/URI;Lcom/unwiredappeal/mediastreams/VideoInformation;)Z+1015
j  com.unwiredappeal.tivo.modules.VideoModuleHelper.fillVideoInformation(Ljava/net/URI;Lcom/unwiredappeal/mediastreams/VideoInformation;)Z+67
j  com.unwiredappeal.mediastreams.VideoInformation.<init>(Ljava/net/URI;)V+123
j  com.unwiredappeal.mediastreams.VideoInformation.getVideoInformation(Ljava/net/URI;)Lcom/unwiredappeal/mediastreams/VideoInformation;+72
j  com.unwiredappeal.tivo.dir.DirEntry.getVideoInformation()Lcom/unwiredappeal/mediastreams/VideoInformation;+12
j  com.unwiredappeal.tivo.dir.DirEntry.getMetadata(Lcom/unwiredappeal/tivo/metadata/MetaData;)Z+41
j  com.unwiredappeal.tivo.streambaby.PlayScreen.<init>(Lcom/tivo/hme/bananas/BApplicationPlus;Lcom/unwiredappeal/tivo/dir/DirEntry;)V+61
j  com.unwiredappeal.tivo.streambaby.SelectionScreen.moveRight()V+82
j  com.unwiredappeal.tivo.streambaby.SelectionScreen.handleKeyPress(IJ)Z+122
j  com.tivo.hme.sdk.HmeObject.handleEvent(Lcom/tivo/hme/sdk/HmeEvent;)Z+69
j  com.tivo.hme.bananas.BView.handleEvent(Lcom/tivo/hme/sdk/HmeEvent;)Z+74
j  com.tivo.hme.bananas.BScreen.handleEvent(Lcom/tivo/hme/sdk/HmeEvent;)Z+57
j  com.tivo.hme.sdk.View.postEvent(Lcom/tivo/hme/sdk/HmeEvent;)V+2
j  com.tivo.hme.sdk.View.postEvent(Lcom/tivo/hme/sdk/HmeEvent;)V+20
j  com.tivo.hme.sdk.View.postEvent(Lcom/tivo/hme/sdk/HmeEvent;)V+20
j  com.tivo.hme.sdk.View.postEvent(Lcom/tivo/hme/sdk/HmeEvent;)V+20
j  com.tivo.hme.bananas.BApplication.dispatchKeyEvent(Lcom/tivo/hme/sdk/HmeEvent$Key;)V+52
j  com.tivo.hme.bananas.BApplication.dispatchEvent(Lcom/tivo/hme/sdk/HmeEvent;)V+29
j  com.tivo.hme.bananas.BApplicationPlus.handleChunk(Ljava/io/InputStream;)Z+412
j  com.unwiredappeal.tivo.streambaby.host.Listener.readEvents(Lcom/tivo/hme/interfaces/IApplication;Ljava/io/InputStream;)V+33
j  com.unwiredappeal.tivo.streambaby.host.Listener.handleHME(Lcom/tivo/hme/host/http/server/HttpRequest;Lcom/tivo/hme/interfaces/IFactory;)V+498
j  com.unwiredappeal.tivo.streambaby.host.Listener.handle(Lcom/tivo/hme/host/http/server/HttpRequest;)V+221
j  com.tivo.hme.host.http.server.HttpConnection.run()V+259
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

reneg is offline   Reply With Quote
Old 02-10-2009, 09:09 PM   #418
Sicklybutsexy
Registered User
 
Join Date: May 2007
Posts: 179
Quote:
Originally Posted by moyekj View Post
P.S. In case you missed it Keary released closed captioned capability in 0.22beta. So if you have file.xxx and an accompanying T2Sami file.srt file then by default captions will be enabled and displayed. You can toggle captions on/off using "Aspect" button. It works surprisingly well if the T2Sami file is generated properly.
will try it out. thanks.
Sicklybutsexy is offline   Reply With Quote
Old 02-10-2009, 09:20 PM   #419
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,510
Quote:
Originally Posted by reneg View Post
Finally got around to trying this app out, so I loaded version .22 and am seeing an error when I select a video on the Tivo. I get 0x50006 error ("the application closed during a read"). I have Windows XP with SP3. I made sure I had Java 1.6 installed. Will play around with it some more to see if I can get it running.
If you don't have any luck getting 0.22beta perhaps try 0.20beta for now to see if that gets you any further.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 02-10-2009, 09:31 PM   #420
reneg
Registered User
 
Join Date: Jun 2002
Posts: 444
Quote:
Originally Posted by moyekj View Post
If you don't have any luck getting 0.22beta perhaps try 0.20beta for now to see if that gets you any further.
Same error with .20beta as .22beta.

So I went and changed com.unwiredappeal=Warn to com.unwiredappeal=Verbose in the simplelog.properties file and now it works under both .20beta and .22beta. Go figure.

Limping along for now. Very impressed with what I've seen so far.

Last edited by reneg : 02-10-2009 at 10:03 PM.
reneg is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media

(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 03:22 AM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |