Page 1 of 7 123 ... LastLast
Results 1 to 10 of 65

Thread: Movies beta

  1. #1
    Join Date
    Jun 2008
    Location
    Los Angeles, CA, USA
    Posts
    27

    Movies beta

    Here's a new release - Movies 2.0,


    1. Changed content rating (certification) extraction from nfo. In setup you can specify a comma separated list of countries to look for a country specific rating in certification tag. It's case-sensitive. The default is USA. e.g.: "West Germany,Germany,Hungary,USA". For this to take effect you need to run the build with rebuild checked in setup (see below).
    2. Added <moviname>-poster.jpg to posters lookup
    3. Use plot or outline if the other is empty (plot used for listview and details, outline for covers and iconsview)
    4. Added a "rebuild" check box to setup to build completely from scratch (ignores already existing output.xml)
    5. Build externally: ExtBuild.exe - Parameters /s: silent (not attempting to open movies.log at the end of the build), /u: update, /r: rebuild. You need to copy ExtBuild.exe to the same directory as NUtility.dll (C:\Program Files\NPVR\).
    6. Build from menu (runs with /s: silent, /u: update). You can't rebuild from menu.
    7. Handling multiple genre tags in nfo. For this to take effect, you need to run the build with rebuild checked in setup (see above).
    8. Identify/display updates during build instead of displaying them as consecutive remove and add.
    9. Categories:
      You can specify categories in setup with the following attributes:
      - Name (required field)
      - Description (optional field)
      - Background: Background Image (optional field)
      - Contains Filter for File Location, (case-sensitive): this will filter the movies based on their fullname(including path) containing the specified value (hence you can filter on directories). In case it's empty then all movies showed.
      E.g.:
      - filter: HD Movies\ for directory C:\Movies\HD Movies\
      - filter: HD Movies2\ for directory C:\Movies\HD Movies2\
      When there are no categories specified then you go straight to movies. When there's any category specified then it will appear before displaying the movies for you to select. It's a simple coversview, but the skin is defined to look similar to the horizontal menu. Note: The "Movies" button suppose to be at the same location as in the Main menu. For some reason the active menu item in the main menu is not centered in the rectangle, at least not centered for me, hence you may need to tweak either the categories.xml or the menu/horizontal.xml if you wish to line them up.


    vik
    ------------------------------------------------------------------------------------------------

    Hi guys,

    Iíve ended up creating a simple Movies plugin. It doesnít scrape the metadata from the web instead it relies on already existing nfo files. e.g.: I used Ember Media Manager to create them, and to grab fan and cover art. On the Settings screen you need to specify your movie directories and an output xml (defaults to: <data directory>/Plugins/Movies/output.xml). This output xml is going to store all your movies like a "database" (basic metadata, video file location, cover and fan art location). After you specified the movie directories and the output xml you may choose the Update Mode (see checkbox) and hit the Build XML button. Itís going to generate a log (<data directory>/Plugins/Movies/Movies.log) of the potential changes itís going to make or it has made (in case Update Mode was selected). I recommend running it without update and if youíre happy with the result seen in the Movies.log then you may run it in Update Mode to create/update your output xml. The last 3 output xmlís are also saved in case of any issue.

    Upon build itís going to go through the specified directories recursively and look for *.nfo files and related video files, cover and fan arts in the following order and grab the first one available:
    • nfo: movie.nfo, <moviename>.nfo.

    • video file: for movie.nfo it grabs the first *.<videoextension>, for <moviename>.nfo the first <moviename>*.<videoextension>, where <videoextension> based on VideoLibrary extensions in config.xml

    • cover art: movie.tbn, movie.jpg, movie.png, poster.tbn, poster.jpg, poster.png, folder.tbn, folder.jpg, folder.png, <moviename>.tbn, <moviename>.jpg, <moviename>.png

    • fan art: fanart.jpg, fanart.png, <moviename>-fanart.jpg, <moviename>-fanart.png, <moviename>.fanart.jpg, <moviename>.fanart.png


    The movie must have:
    • nfo file,

    • Video file (based on VideoLibrary extensions in config.xml),

    • ID (IMDBID from nfo),

    • Title (from nfo)

    to make it to the the "database" (output xml).

    If you already have an output xml (i.e. Build XML has been run multiple times), itís going to compare the already existing output xml with the current data read from the movie directories and remove missing items and/or add new ones, changed items handled by subsequent remove and add.

    Movies identified based on their
    • ID (IMDBID)

    • the fullname (with path) of their nfo file,

    • the timestamp (last write time) of the nfo file.


    Hence, in case you rename the original nfo file, or change the content of it (timestamp changes), itís going to remove the old record from the output xml and re-add it based on the current nfo file. Also you can tweak the output xml manually as long as you wonít change the above values in the output xml, and the original nfo file itself, your manual changes should stick through multiple builds.

    Features:
    • There are 3 views (list, covers, icons), see View button, ALT-B, blue button

    • Thereís a Details screen, which pops up when an item is selected (this feature can be turned on/off for the different views on Settings). Thereís also a button for it: Details button, ALT-R, Red button

    • You can sort by Title, SortTitle, Year, see Sort button, CTRL-S, ALT-Y, yellow button, (You can choose to display SortTitle instead of Title when sorted by SortTitle)

    • 0-9, Jump to 0-90 percent of the way through the list (for any sort)

    • A-Z Jump to the first item that starts with that letter (for Title and SortTitle sorts)


    Here are some screenshots:
    Name:  1.jpg
Views: 618
Size:  95.5 KB

    Name:  2.jpg
Views: 611
Size:  79.3 KB

    Name:  3.jpg
Views: 613
Size:  100.9 KB

    Name:  4.jpg
Views: 614
Size:  94.5 KB
    Attached Files Attached Files
    Last edited by vik; 2013-02-23 at 08:22 AM. Reason: New release

  2. #2
    Join Date
    Jan 2005
    Location
    London
    Posts
    2,829
    This looks fantastic and your first post !! (you can stay...)

    I will download and install as soon as I am allowed on the mediapc (so about june then)
    thank you and welcome
    Silverstone LC17 Case,
    ASUS P5Q, Intel E7200, 4GB RAM
    Blackgold DVB-T2, ATI 7750, Windows 7 64-bit
    SAF codec pack,Sony 40" Z5500

  3. #3
    Join Date
    Sep 2005
    Location
    Ottawa, ON, Canada
    Posts
    603
    This looks and works great for the little testing I did. Are you taking feature requests?
    E6400, 2 GB RAM ,500 GB + 250 GB HD, PVR150+ Adaptec 3610, RW 2 + HIP, Antec 2480 w/ mini ninja ...still using v 0.99

  4. #4
    Join Date
    Jun 2008
    Location
    Los Angeles, CA, USA
    Posts
    27
    Thanks. I'm open to good ideas.

  5. #5
    Join Date
    Sep 2005
    Location
    Ottawa, ON, Canada
    Posts
    603
    I have a few requests.

    1. Add categories. I'd like the first screen to show the categories. For example it would be Kids, Feature Films, Home Movies, Music Videos. I already have my directories set up like that so I'd like to also show fan art for those categories or at least a thumbnail.

    2. External app to update/build library so we can make a shortcut to auto refresh the library

    3. Make it compatible with xbmc export (essentially use xbmc as a scraper) - I actually think it's already capable

    Other questions:
    what happens with DVD folders and video_ts.iso files?


    Thanks again for the great looking plugin!!
    E6400, 2 GB RAM ,500 GB + 250 GB HD, PVR150+ Adaptec 3610, RW 2 + HIP, Antec 2480 w/ mini ninja ...still using v 0.99

  6. #6
    Join Date
    Jan 2005
    Location
    London
    Posts
    2,829
    works perfect out of the box. quality code there vik.

    regarding above suggestions:
    #1 I agree with the above of having categories but it is not clear to me how you would assign a film to a certain category given that this is driven from the external xml files.
    Let me illustrate how my family access movies atm (via the built in videos plugin)
    My movie folders are configured as moves\adult and movies\family. All the R-rated films go in adults (no "daddy" movies I might add) as well as movies only the wife and I would ever want to watch (the Piano for example) and the rest go in family (i.e. all the kids and family films).

    Now I have 2 kids aged 13 and 16 so the 16 year old gets to watch movies rated as [15] so I and they need to see the classification (MPAA). So all my movies (and movie folders) are named in format [movie] (year) [MPAA] so they can see the age rating for a film. Historically I did the renaming automatically using the free media centre master program but it does tend to get the MPAA rating plain wrong (and doesnt read UK ratings) so I usually have to fix manually... This is what you have to do without a database driven front-end!!

    so the kids just look in the family folder when the want to watch a movie and aren't traumatized by scary/racy folder art and also don't have to wade though list of films that they aren't allowed to watch
    (or interested in).

    #2. yes the plugin needs to auto-refresh without recourse to the settings screen (system should run without needing a mouse, just the remote)
    #3 yes

    many tx again, I appreciate all the hard work you have put into creating a really excellent plugin.
    Silverstone LC17 Case,
    ASUS P5Q, Intel E7200, 4GB RAM
    Blackgold DVB-T2, ATI 7750, Windows 7 64-bit
    SAF codec pack,Sony 40" Z5500

  7. #7
    Join Date
    May 2006
    Location
    Canada
    Posts
    20,751
    Do you guys see any value in imageGrabLite creating the full nfo file and d/ling the fanart and poster for NextPVR movie captures or do you plan on using this mainly for files made outside NextPVR?

    Martin

  8. #8
    Join Date
    Jan 2005
    Location
    London
    Posts
    2,829
    i think the more we can do with less (3rd party, non-npvr utilities) the better.
    With this movie plugin and an effective "built-in" fanart/image/nfo grabber for npvr-recorded movies, this would be very neat and really make npvr much more xbmc-like in its built in handling of movies and movie bling.

    btw: Unless you can auto-record movies to a separate movie recording folder such as \recordings\movies, I assume people still need to manually drag their npvr-recorded movies over to their separate "movie folder" that this plugin accesses.

    Ember media manager is good and downloads nice high res images but fails to find loads of my movies. Media center master finds most of the movies but throws a tantrum periodically and it another util that can steal focus from npvr and screw up the remote.
    Silverstone LC17 Case,
    ASUS P5Q, Intel E7200, 4GB RAM
    Blackgold DVB-T2, ATI 7750, Windows 7 64-bit
    SAF codec pack,Sony 40" Z5500

  9. #9
    Join Date
    May 2006
    Location
    Canada
    Posts
    20,751
    For xbmc purposes I use a distinct folder for movies anyway, which I select when I record the movie.

    Martin

  10. #10
    Join Date
    Nov 2006
    Location
    Louisville, KY, USA
    Posts
    7,690
    Can someone post an example of their .nfo file for me?

    Edit: NM, I figured out that it needed to be "<id>" and "<title>" and was case sensitive. vik, can you post an example with all the elements that you read.
    Last edited by whurlston; 2012-12-13 at 12:11 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •