tv library [Beta]

Last post 09-07-2010 2:28 PM by kevintroy. 400 replies.
Page 1 of 27 (401 items) 1 2 3 4 5 Next > ... Last »
Sort Posts: Previous Next
  • 06-11-2010 7:40 PM

    tv library [Beta]

     

    Disclaimer: *** This is a BETA version. ****

    Stuff happens. Things break. Not all features are fully fleshed out. If you're not ok with this then don't download. There are several high-quality video collection plug-ins out there. Also, this app is for tinkerers and is completely user-friendly at the moment. If you don't mind "...seeing where it keeps its brains.." then read on.

    Screenshots: http://cid-bc8c4296c2addc53.office.live.com/browse.aspx/Public/tvlibrary/Screenshots 

    Installer: http://cid-bc8c4296c2addc53.skydrive.live.com/browse.aspx/Public/tvlibrary

    Requirements:

     

    -----------------------------------------------------------

    README

    Last updated: 9/4/2010

    Current Version: 1.98.0904

    -----------------------------------------------------------

    TV Library

     

    Requirements:

    -Windows 7

    -NET Framework 3.5 SP1

    -SQL Server Compact Edition 3.5 SP1. http://www.microsoft.com/downloads/details.aspx?FamilyId=DC614AEE-7E1C-4881-9C32-3A6CE53384D9&displaylang=en

    -For x64 bit installs, you need to download and install the x64 bit version of SQL Server Compact Edition 3.5 SP1 in addition.x64 bit installs require both the x86 and x64 installs of SQL Server Compact.

     

    DISCLAIMER:

    -Does NOT support multiple HTPCs pointing to the same library folders.

    -Does not fully support multiple extenders watching dvds at the same time. (work in progress)

    Latest Changes:

    1. Library WILL include content without metadata. Previous to this build, those content would not be loaded into the library.

    2. Recorded TV series should now show up in the library as well even if there is no match on thetvdb.com.

    3. -Episodes and Series are linked internally via a system-generated GUID. They are no longer linked via Provider Series ID. This key change makes #1 and #2 possible.

    4.Play All, Play Random, Series Play, and Season Play will now correctly advance automatically to the next episode in the list. If you hit STOP, the

    playback will stop but the series or season will keep the bookmark of the last episode you saw.

     

    Section A. Overview

    -Plug-in for tv shows only

    -Windows 7 only

    -Configuration file is \ProgramData\VideoLibraryEngine\VideoLibraryEngine.config. This is an xml file.

    -You can specify folders to include in the library by editing the configuration file. If the setting <LibraryFolders> is not there then create it and set its value to a comma-separated list of

    paths. For example, <LibraryFolders>C:\users\public\downloads, \\MyServer\MyShare\MyFolders</LibraryFolders>

    -The plug in shows up under it's own "TV Shows" strip in Windows 7.

    -Supports movie metadata from themoviedb.org, dvdid.xml files, and windows dvd info cache.

    -Supports tv series metadata from thetvdb.com.

    -Metadata is downloaded and cached in the \.metadata\ under each content's parent folder

    -Metadata is also aggregated into a SQL Server Compact database, \ProgramData\VideoLibraryEngine\Content.sdf

    -Will aggregate series-based *.wtv, *.dvrms content along with regular non-Microsoft formats. For example, if you have

    Chuck as archived tv Xvids but you're also recording them, then tv library will try to find extended metadata (season number, episode number) from thetvdb.com and include it in the library.

    -Uses slide decks for series, episode, and movie details.

    -Uses a now playing slidedeck similar to the built-in one.

    -Detailed logging can be turned on by setting "EnableDebugging" to "true" in VideoLibraryEngine.Config. For example, change "<EnableDebugging/>" to "<EnableDebugging>true</EnableDebugging>"

    -Supports a playback playlist that can contain episodes or movies

    -Uses mencoder to transcode dvds when playing on extenders. The transcoder is also used by the Movie Library (Windows 7). It's currently set up to default to Japanese audio and system language subtitles when playing anime/japanese movies. I am still working on the transcoder side of it to properly detect the correct forced subtitle track.

    -When downloading movie metadata for dvds, the plugin will look for dvdid.xml files and use the id to get the info from the dvd info cache. If no dvdid.xml files are present the n the app will use themoviedb.org.

    -By default, it will recognize ripped tv shows using either of the following naming formats:

    Babylon 5 S01E02 Soul Hunter.avi

    Babylon 5-S01E02-Soul Hunter.avi

    Babylon 5 - S01E02 - Soul Hunter.avi

    Babylon 5.S01E02.Soul Hunter.avi

    Babylon 5.s01e02.Soul Hunter.avi

    Babylon 5-S01x02-Soul Hunter.avi

    Babylon 5-01x02-Soul Hunter.avi

    Inspector Morse - 04x02 - The Sins of the Fathers.avi

    \\SERVER\Heroes\Season 01\01. Genesis.avi

    \\SERVER\Heroes\Season 01\01.Genesis.avi

    \\SERVER\Heroes\Season 01\01 Genesis.avi

    \\SERVER\Heroes\Season 01\01-Genesis.avi

    \\SERVER\Heroes\Season 01\01 - Genesis.avi

    \\SERVER\Heroes\Season 01\S01E01.Genesis.avi

    \\SERVER\Heroes\Season 01\S01E01-Genesis.avi

    \\SERVER\Heroes\Season 01\S01E01 - Genesis.avi

    \\SERVER\Heroes\Season 01\S01E01 Genesis.avi

    \\SERVER\Heroes\Season 01\01x01.Genesis.avi

    \\SERVER\Heroes\Season 01\01x01-Genesis.avi

    \\SERVER\Heroes\Season 01\01x01 - Genesis.avi

    \\SERVER\Heroes\\S01x01 - Genesis.avi

    \\SERVER\Heroes\\S01E01 - Genesis.avi

    D:\TV Shows\Star Trek\Season 1\S01E04 The Naked Time.avi

    Dexter S01E02.avi

    DexterS01E02.avi

    Dexter-S01E02.avi

    Dexter.S01E02.avi

    Dexter.01x02.avi

    Dexter-01x02.avi

    Dexter - 01x02.avi

     

     

    Section B. Tips/Notes

    -Press play on a video to play it

    -Press play on a series to play the whole series in episode order

    -Press play on a season to play the whole season in episode order

    -Use Channel +/- to move through the now playing play list

    -Mkvs with subtitles will be automatically transcoded on extenders (not 100% stable yet due to some MKVs just not transcoding)

    -When transcoding, pausing or skipping forward past the available buffer duration will trigger a refresh on the buffer duration.

     

     

     

    Section C. Disclaimers and Known Issues

    -Includes some code from the wonderful OML Project. Specifically, but not only, the dvd IFO parsing stuff and proper usage of MediaInfo. I updated the IFO parsing code to get the proper audio and subtitle stream numbers that mencoder would use.

    -Transport controls still disappears under Windows 7 from time to time. Blame Microsoft eHome or whatever the heck they are called now.

    -Gallery is still slow for 50 - 100 + items. I am currently rebuilding this use IVirtualList

    -Not all MKVs with subtitles will work. This is due to how they are encoded.

    -UI glitches with pivots

    -On extenders (primarily Linksys extenders), it takes a full 60 seconds for video start. This is due to a transport bug in Windows 7.

     

     

    Section D. Shoutouts and Other things.

    -Major thank yous to MSBob and Mikinho for their insight and crucial support!

    -Much thanks to: Translucent, the other good folks at the OML Project, and all the users who provide good critique, useful feedback and words of encouragement.

    -Don't forget to support themoviedb.org and thetvdb.com.

  • 06-12-2010 7:50 AM In reply to

    Re: tv library [new thread]

    Thanks Jack and a quick question; can this new version be used for x64 as well? Btw...enjoying your World Cup?

    Regards,

    Paul

     

  • 06-12-2010 8:41 AM In reply to

    • MrNorth
    • Top 100 Contributor
    • Joined on 04-01-2007
    • Karlskrona, Sweden
    • Active Member

    Re: tv library [new thread]

    Hi!

     Great stuff! May I ask, why not use SQLite for the db? Doesnt require an installer...

    And can you please post some screenies?

     

    kind regards

    Henrik

  • 06-12-2010 10:22 AM In reply to

    Re: tv library [new thread]

    Not yet. I've held off on worrying about x64 until I do more research into the issues with program paths and installers and all that. This version is not 100% stable but it's usable, I think. I am now starting on the now playing slide deck. I really want that in there so that I can totally change up the interface for the "Dvd Extender" plugin.

    Yup, loving the World Cup so far. I have VERY happy that South Africa didn't lose the opener and made a great goal to boot. I'm also loving South Korea's performance. I'm basically rooting for the under dogs and none of the traditional powerhouses.

  • 06-12-2010 10:24 AM In reply to

    Re: tv library [new thread]

    Mainly because I don't know SQLite and I doubt it has support for Linq (I could be wrong). I use SQL Server Compact because I do a lot of Linq-to-SQL and it works nicely.

    I am taking several screenshots now and will upload them to my skydrive.

     

    [Update] Screenshots are up:

    http://cid-bc8c4296c2addc53.office.live.com/browse.aspx/Public/tvlibrary/Screenshots

  • 06-12-2010 11:25 AM In reply to

    • mikinho
    • Top 10 Contributor
    • Joined on 12-26-2006
    • Houston, TX
    • Elite Member
    • Media Center MVP

    Re: tv library [new thread]

    Hi Jack, screenshots look great. Let me know if I can help with any x86-64 tweaks. I'm x86-64 only =)

    JackLuminous:
    Mainly because I don't know SQLite and I doubt it has support for Linq (I could be wrong).

    It does not have native support but dblinq is an open-source generic Linq provider that adds Linq support to SQLite.

    Mikinho | Missing Remote | Microsoft MVP
  • 06-13-2010 1:23 PM In reply to

    Re: tv library [new thread]

    Damn i just made a big mistake and nuked my x64 install of the last version! Is there anyway of making this release work with x64 or could you possibly put the last x64 release back up for download so i can reinstall?

    Thanks in advance,

    Si

  • 06-13-2010 1:51 PM In reply to

    • nuker
    • Not Ranked
    • Joined on 06-13-2010
    • Member

    Re: tv library [new thread]

     Hi, whenever I open Tv Library I get a "Media Cener Extensibility Host has stopped working" error

    Description:
      Stopped working

    Problem signature:
      Problem Event Name:    CLR20r3
      Problem Signature 01:    ehexthost.exe
      Problem Signature 02:    6.1.7600.16385
      Problem Signature 03:    4a5bb6d3
      Problem Signature 04:    mscorlib
      Problem Signature 05:    2.0.0.0
      Problem Signature 06:    4a275af7
      Problem Signature 07:    41bf
      Problem Signature 08:    a3
      Problem Signature 09:    System.Data.SqlServerCe.SqlCe
      OS Version:    6.1.7600.2.0.0.256.1
      Locale ID:    2057

    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt


    Running Windows 7 Ultimate - 32bit, on a basic Dell Inspiron 1525 laptop, all media is hosted on a vista Pc and accessed over the network.

    Nuker...
  • 06-13-2010 2:17 PM In reply to

    Re: tv library [new thread]

    Inside VideoLibraryEngine.config, set <EnableDebugging>true</EnableDebugging>, then try again. Send or post the contents of the videolibraryengine.log file.

  • 06-13-2010 3:29 PM In reply to

    Re: tv library [new thread]

    ◦Configuration file is \ProgramData\tvLibrary\tvlibrary.config. This is an xml file.

    I cannot seem to find this location on my PC. Can anyone offer assistance. When  click on the TV Library in WMC, nothing happens so I need to reconfigure where my tv episodes are stored. Thanks Matt

  • 06-13-2010 3:36 PM In reply to

    Re: tv library [new thread]

    My mistake. I had old information in the first post. I have made the necessary corrections. Also look at the previous post. 

    Shelbrain:

    ◦Configuration file is \ProgramData\tvLibrary\tvlibrary.config. This is an xml file.

    I cannot seem to find this location on my PC. Can anyone offer assistance. When  click on the TV Library in WMC, nothing happens so I need to reconfigure where my tv episodes are stored. Thanks Matt

  • 06-13-2010 3:53 PM In reply to

    Re: tv library [new thread]

    I edited the config file with my watched folder, I changed the debugging line to "true" as indicated in a previous post, but nothing happens when I click on tv shows in WMC.

  • 06-13-2010 4:00 PM In reply to

    • alton987
    • Top 100 Contributor
    • Joined on 05-14-2006
    • Belton, TX
    • Active Member

    Re: tv library [new thread]

    Is this right expression to change a watched folder. Its a mapped drive X:

    <WatchedFolders>X:</WatchedFolders>

    "I am still holding out hope"
  • 06-13-2010 4:05 PM In reply to

    • alton987
    • Top 100 Contributor
    • Joined on 05-14-2006
    • Belton, TX
    • Active Member

    Re: tv library [new thread]

    ? will this read WTV\DVRMS meta data? Then this could replace the default recordedtv built in app. It looks great.
    "I am still holding out hope"
  • 06-13-2010 4:59 PM In reply to

    • nuker
    • Not Ranked
    • Joined on 06-13-2010
    • Member

    Re: tv library [new thread]

     

    JackLuminous:

    Inside VideoLibraryEngine.config, set <EnableDebugging>true</EnableDebugging>, then try again. Send or post the contents of the videolibraryengine.log file.

    Didn't really help at all, was still crashing and no information given in the log... I deleted the log, config and content DB reloaded MC and it started working but now I have another issue.

    I cant seem to get it to find any content at all either local or remote.

    When I change the config file I get

    14/06/2010 00:49:49 [Thread Id:30 ] - Config file changed
    14/06/2010 00:49:49 [Thread Id:30 ] - LoadConfiguration()
    14/06/2010 00:49:49 [Thread Id:30 ] - DisposeFileSystemWatchers()
    14/06/2010 00:49:49 [Thread Id:30 ] - StopWatching()
    14/06/2010 00:49:49 [Thread Id:30 ] - AddWatchedFolder(C:\Users\Nuker\Downloads, *.*, True)
    14/06/2010 00:49:49 [Thread Id:30 ] - StartWatching()

     for around 7 seconds over and over, when I boot MC and open TVL I get

    14/06/2010 00:53:14 [Thread Id:1 Application] - TVLibrary.AddIn.Launch()
    14/06/2010 00:53:14 [Thread Id:1 Application] - LibraryApplication.Start()
    14/06/2010 00:53:14 [Thread Id:1 Application] - CreateStorage()
    14/06/2010 00:53:14 [Thread Id:1 Application] - HasContent([query])
    14/06/2010 00:53:14 [Thread Id:1 Application] - No content found
    14/06/2010 00:53:14 [Thread Id:1 Application] - HasContent([query])
    14/06/2010 00:53:14 [Thread Id:1 Application] - No content found
    14/06/2010 00:53:14 [Thread Id:1 Application] - HasContent([query])
    14/06/2010 00:53:14 [Thread Id:1 Application] - No content found
    14/06/2010 00:53:14 [Thread Id:1 Application] - HasContent([query])
    14/06/2010 00:53:14 [Thread Id:1 Application] - No content found
    14/06/2010 00:53:14 [Thread Id:1 Application] - GotoPage(resx://VideoLibraryEngine.UI/VideoLibraryEngine.UI.Resources/BrowsePage#BrowsePage, [6 properties], True)
    14/06/2010 00:53:17 [Thread Id:13 ] - QueryContent(2 queries)
    14/06/2010 00:53:18 [Thread Id:13 ] - 0 items found

     I've so far tried adding whole genre folders that have 5 shows or more, I've tried to add a single season of a show, and single shows with all seasons but nothing seems to be working and I keep getting No Videos Found.

     All the videos I've tried to add follow the same format of ShowName\Season 00\ s00e00 - Title.ext and are located at c:\ or \\servername\, I'll also note I've tried to rename some files to match the stuff you have listed in the first post but had no luck.

Page 1 of 27 (401 items) 1 2 3 4 5 Next > ... Last »


Terms of Service | Privacy Statement | Code of Conduct | About