|
|
|
video library app for viewing videos/movies and tv episodes with metadata
Last post 5 hours, 2 minutes ago by JackLuminous. 1239 replies.
-
05-11-2008, 4:08 PM |
|
|
Re: Proof-of-concept for a tv library app for watching series in order
JJohnson:I don't know if you've already seen these scenarios, but in a list of movies or tv shows, if I go immediately left, to the end of the list, the app crashes. The other is in my list of movies, once I move past folders to files, it crashes. I think that's the same situation you're describing there. Also, I went into the folder for a movie, then clicked on the file, then it stopped responding (I:\movies\Gen 13\Gen13.avi).
And I do think this app is gonig to be a nice replacement for the former tv library I used... :)
James
James,
Please send me your log. Jagowar had the same problem I think. Is it a timing thing where if you wait a second or so it's ok? Side question: how many movies or tv series do you guys have? Can you give me ballpark figure ? I have not really tested to see how bad it does with large numbers of movies/etc.....
|
|
-
05-11-2008, 4:15 PM |
|
|
Re: Proof-of-concept for a tv library app for watching series in order
Ogre, are you saying that the title shows up as "Bionic.Woman" and thus, wouldn't match anything? If that's the case, then I can at least do a fixup (replace "." with " ") in the show title. Would this suffice for now?
|
|
-
05-11-2008, 5:01 PM |
-
jagowar
-
-
-
Joined on 01-17-2006
-
College Station, TX
-
Member
-
-
|
Re: Proof-of-concept for a tv library app for watching series in order
JackLuminous: JJohnson:I don't know if you've already seen these scenarios, but in a list of movies or tv shows, if I go immediately left, to the end of the list, the app crashes. The other is in my list of movies, once I move past folders to files, it crashes. I think that's the same situation you're describing there. Also, I went into the folder for a movie, then clicked on the file, then it stopped responding (I:\movies\Gen 13\Gen13.avi).
And I do think this app is gonig to be a nice replacement for the former tv library I used... :)
James
James,
Please send me your log. Jagowar had the same problem I think. Is it a timing thing where if you wait a second or so it's ok? Side question: how many movies or tv series do you guys have? Can you give me ballpark figure ? I have not really tested to see how bad it does with large numbers of movies/etc.....
my problem ended up having something to do with the metadata.... for movies i would suggest doing the metadata manually. it really works better than having the program try to find metadata.
|
|
-
05-11-2008, 5:16 PM |
|
|
Re: Proof-of-concept for a tv library app for watching series in order
jagowar: my problem ended up having something to do with the metadata.... for movies i would suggest doing the metadata manually. it really works better than having the program try to find metadata.
ok, but could you give a little more info. Even if it's the metadata, it should be bombing...it should just ignore it gracefully.
|
|
-
05-11-2008, 5:46 PM |
-
jagowar
-
-
-
Joined on 01-17-2006
-
College Station, TX
-
Member
-
-
|
Re: Proof-of-concept for a tv library app for watching series in order
JackLuminous: jagowar: my problem ended up having something to do with the metadata.... for movies i would suggest doing the metadata manually. it really works better than having the program try to find metadata.
ok, but could you give a little more info. Even if it's the metadata, it should be bombing...it should just ignore it gracefully.
yeah im betting the ignore is what was causing the problem. i fixed my issue by moving all my movies into a separate folder and copying them back over one by one doing the metadata manually.... put that basic xml folder in the metadata folder containing the movie id and a force update set to true. doing that solved my problem.
|
|
-
05-11-2008, 5:53 PM |
-
JJohnson
-
-
-
Joined on 04-07-2008
-
-
Member
-
-
|
Re: Proof-of-concept for a tv library app for watching series in order
One more issue I found. I have a number of German-language series, often of American tv. I put the German Buffy in this path:
I:\TV Shows\Buffy - Im Bann der Dämonen\Staffel 5\Buffy-s05e15-Auf Liebe Programmiert.avi
and I got his error message in VMC:
System.NullReferenceException: Object reference not set to an instance of an object.
at TVLibrary.GallerySeries.LoadImages() at TVLibrary.GallerySeries..ctor(IModelItemOwner owner, Videofile video) at TVLibrary.FolderGalleryPage.LoadGalleryItems(Object Args) at TVLibrary.GalleryPage.LoadGalleryItemsHandler(Object Args) at Microsoft.MediaCenter.UI.Application.DeferredInvokeItem.Dispatch() at Microsoft.MediaCenter.UI.Dispatcher.MainLoopBody(Feeder feeder) at Microsoft.MediaCenter.UI.Dispatcher.MainLoop(LoopCondition condition, LoopBody body) at Microsoft.MediaCenter.UI.Dispatcher.MainLoop(LoopCondition loopCondition) at MediaCenter.Extensibility.Host.Main(String[] args)
And the logfile:
05/11/2008 20:45:56.836 - Object reference not set to an instance of an object. at TVLibrary.GallerySeries.LoadImages() at TVLibrary.GallerySeries..ctor(IModelItemOwner owner, VideoFile video) at TVLibrary.FolderGalleryPage.LoadGalleryItems(Object Args) at TVLibrary.GalleryPage.LoadGalleryItemsHandler(Object Args)
...unrelated, but it thought Doctor Who - 401 - Partners In Crime was a 1966 episode...
James
|
|
-
05-11-2008, 6:45 PM |
|
|
Re: Proof-of-concept for a tv library app for watching series in order
James,
The problem is that there's no series folder for the files. ie "I:\TV Shows\Buffy\Buffy - ......avi". I added code to give a more accurate error message because, for now, I am going to still require a series folder. Unfortunately, not requiring a series folder would require alot of changes that I don't want to tackle yet....
JJohnson:One more issue I found. I have a number of German-language series, often of American tv. I put the German Buffy in this path:
I:\TV Shows\Buffy - Im Bann der Dämonen\Staffel 5\Buffy-s05e15-Auf Liebe Programmiert.avi
and I got his error message in VMC:
System.NullReferenceException: Object reference not set to an instance of an object.
at TVLibrary.GallerySeries.LoadImages() at TVLibrary.GallerySeries..ctor(IModelItemOwner owner, Videofile video) at TVLibrary.FolderGalleryPage.LoadGalleryItems(Object Args) at TVLibrary.GalleryPage.LoadGalleryItemsHandler(Object Args) at Microsoft.MediaCenter.UI.Application.DeferredInvokeItem.Dispatch() at Microsoft.MediaCenter.UI.Dispatcher.MainLoopBody(Feeder feeder) at Microsoft.MediaCenter.UI.Dispatcher.MainLoop(LoopCondition condition, LoopBody body) at Microsoft.MediaCenter.UI.Dispatcher.MainLoop(LoopCondition loopCondition) at MediaCenter.Extensibility.Host.Main(String[] args)
And the logfile:
05/11/2008 20:45:56.836 - Object reference not set to an instance of an object. at TVLibrary.GallerySeries.LoadImages() at TVLibrary.GallerySeries..ctor(IModelItemOwner owner, VideoFile video) at TVLibrary.FolderGalleryPage.LoadGalleryItems(Object Args) at TVLibrary.GalleryPage.LoadGalleryItemsHandler(Object Args)
James
|
|
-
05-11-2008, 6:50 PM |
|
|
Re: Proof-of-concept for a tv library app for watching series in order
New build is up that contains a first-pass attempt for the following:
- Apply regex to filename and if that doesn't match, apply regex to full path.
- Allow movie metadata download for *.dvr-ms. For this to work the IsMovie attribute in the *.dvr-ms file must be set to true. The side-effect would be if you have actual movies recorded from tv, the app will try to find metadata for them --even though this would be a complete waste. At present, the issue would be how to differentiate between a DVD ripped to dvr-ms and an actual recorded movie. I'll come up with something --maybe look at the station name or something like that.
- Before metadata providers are searched, the title is cleaned up a bit. "." and "_" are replaced by spaces, " ".
- A better error message for the scenario where the series folder for an archivedtv file doesn't exist.
Ogre, Schlep, and jagowar, you can thank me if it works :-D. Just kidding.
|
|
-
05-11-2008, 6:56 PM |
|
|
Re: Proof-of-concept for a tv library app for watching series in order
jagowar:if you are going to create a new version... any chance you could enable dvr-ms to be a real movie title? it sorta works now but will not get metadata (and i read somewhere in this thread/help file that you made it so dvr-ms is only a tv show).
problem is i and many others rip to dvr-ms for movies (through videoredo). i was able to trick it into having album art in the movie folder but it wont download proper metadata when i put in the id and force it to update metadata.
Technically, once the *.video.xml file exists, you can make it pull down any metadata you want. Just set the ID to the appropriate value and set NeedsMetadata. You can go to thetvdb.com or movie-xml.com and i think it shows the ID there. As long as the xml has already been generated, the library engine underneath it all will use the xml info.
|
|
-
05-11-2008, 8:45 PM |
-
JJohnson
-
-
-
Joined on 04-07-2008
-
-
Member
-
-
|
Re: Proof-of-concept for a tv library app for watching series in order
I'm still fiddling with the regex (I figured out how to preserve spaces), but aside from that, for foreign language versions of TV shows, what can we set so we pull the German or other language versions of a show? In thetvdb.com, they've got the same id, but the first airdate will definitely be different.
Another strange thing...even though it will give a 'no videos found' message (still working on keeping 'Chuck - 101 - Pilot.avi'), it will pull thumbnails for episodes from that specific episode, though I don't know whence...
Also, a suggestion - for a season banner to override the series banner, perhaps with an xml tag. In Doctor Who, this would be good to reflect the seasons' changes in cast.
James
|
|
-
05-11-2008, 9:24 PM |
-
jagowar
-
-
-
Joined on 01-17-2006
-
College Station, TX
-
Member
-
-
|
Re: Proof-of-concept for a tv library app for watching series in order
JackLuminous: jagowar:if you are going to create a new version... any chance you could enable dvr-ms to be a real movie title? it sorta works now but will not get metadata (and i read somewhere in this thread/help file that you made it so dvr-ms is only a tv show).
problem is i and many others rip to dvr-ms for movies (through videoredo). i was able to trick it into having album art in the movie folder but it wont download proper metadata when i put in the id and force it to update metadata.
Technically, once the *.video.xml file exists, you can make it pull down any metadata you want. Just set the ID to the appropriate value and set NeedsMetadata. You can go to thetvdb.com or movie-xml.com and i think it shows the ID there. As long as the xml has already been generated, the library engine underneath it all will use the xml info.
its not quite working like that..... ive tried to do what you said (and it works flawlessly on wmv files) but for some reason it will not get all the metadata (most of it infact) and no cover images. ive even tried to edit the xml manually putting the right data into the right spot in the xml and that causes the application to crash. downloading the covers manually will atleast get me that working and its the biggest thing to get since this program is visual and the covers are the biggest aspect to visual but it would be nice to get the rest of the metadata in there.
|
|
-
05-11-2008, 10:27 PM |
-
schleppel
-
-
-
Joined on 09-26-2005
-
Melbourne, AUS
-
Member
-
-
|
Re: Proof-of-concept for a tv library app for watching series in order
JJohnson,
I think you need to look at something like the following to get you 101 concept working, but this will only work with seasons up to 9, if you go over, it won't work..
"(?<seriesname>.+?)\s-\s(?<seasonnumber>\d{1,1})(?<episodenumber>\d{1,2})\s-\s(?<episodename>.+?)(?<extension>\.avi|\.mpg|\.rmvb)"
I can't guarantee this will work, as I'm at work, and haven't had a chance to test it, but I THINK it might do what you're after.
I'll check back when I get hom and test it, and make adjustments to get it to work then.
Schlep :D
UPDATE: Confirmed this Regex works perfectly.
Not too sure what can be done about the different languages, you'll simply have to go with the best matches the search finds. As far as the "Season" folders (written in German etc..) go, As long as you've got everything in your filename, scraping isn't an issue. It's just going to need to find a Series folder to put the actual Metadata folder into...
|
|
-
05-11-2008, 11:50 PM |
-
Ogre
-
-
-
Joined on 10-26-2005
-
Spine of God, Mars
-
Member
-
-
|
Re: Proof-of-concept for a tv library app for watching series in order
Dude, thanks! It seems to be working. (More or less.)
Strange new bug. Using the Bionic Woman example again. Seems to find both shows called Bionic Woman. Adds a .seriesmatches.xml and series.xml. series.xml has NeedsMetaData set to true.
Here's the strange thing, in the Images folder, it seems that the plug-in is now trying to download every banner file from the TV DB site. On the screen I see the spinning thing and the drive is churning. I have to kill the process to keep it from downloading what I assume will eventually be every banner file on the site.
Just tested with Doctor Who 2005 and the same thing is happening. (In the DB, there's an English version and a German version, thus two shows are detected.)
The . replacement stuff seems to work like a charm as Chuck and Masters of Science Fiction have all of their metadata.
Media Browser (Formally Video Browser) Developer http://code.google.com/p/videobrowser/
|
|
-
05-11-2008, 11:54 PM |
-
Ogre
-
-
-
Joined on 10-26-2005
-
Spine of God, Mars
-
Member
-
-
|
Re: Proof-of-concept for a tv library app for watching series in order
Strange new bug. When the plug-in finds more than one show in the DB with the same title (Bionic Woman, Doctor Who 2005 (English) and Doctor Who 2005 (German), etc.), it wants to download every banner file available on the site instead of just the banner files for that show. (There's also an extra XML file that has all of the matched shows found.)
Media Browser (Formally Video Browser) Developer http://code.google.com/p/videobrowser/
|
|
-
05-12-2008, 5:59 AM |
|
|
Re: Proof-of-concept for a tv library app for watching series in order
Ogre:Strange new bug. When the plug-in finds more than one show in the DB with the same title (Bionic Woman, Doctor Who 2005 (English) and Doctor Who 2005 (German), etc.), it wants to download every banner file available on the site instead of just the banner files for that show. (There's also an extra XML file that has all of the matched shows found.)
Check the readme.doc on the link. If it can't find an exact match it'll create a .seriesmatches.xml. It should only pulldown timages when there is an exact match. I 'll take a look when I get home. Also, I think i'll make the 'pull down all images' a configurable setting (true/false)
|
|
Page 7 of 83 (1,240 items)
... 7 ...
|
|
|
|
|
|