Possible to scan folders instead of files? (1 Viewer)

solis66

MP Donator
  • Premium Supporter
  • January 22, 2007
    141
    20
    Home Country
    Sweden Sweden
    Hi guys.
    Vacation is over and I'm back with a release for RC2.

    This WindowPlugins.dll now supports:
    * Enhanced stacking option, allows files including name.cd1.avi (with a dot) to get stacked, not only [_- ]cd1.

    * Option to not show the filestackingdialog that asks you which part to play, just resume or start from the beginning. (default: Not show dialog)

    * Option to scan movies at IMDB (or similar) with foldername instead of filename as search option. It is now possible to exclude files or folders from scanning that contains specific strings, like 'sample' to avoid some weird results from search. It is also possible to remove specific words (user defined) from from the search string, (like divx, 720p). (Default: Use foldername).

    * OneClickOption. If folder contains only one movie, there is no need to drill down into this folder and then click on the movie. This fixes this. If folder has files like:
    /MovieName/movie.avi
    /MovieName/movie-sample.avi, it's possible to exclude the sample file with the
    exclude option, or a folder named sample (or whatever, configurable). (Default: on)
    Thanks Stoked, for this idea. This is a very nice feature in my eyes:)

    The downloadfile includes the Windowplugins.dll and a small tool to configure all settings.
    Replace the original WindowPlugins.dll in <MP-path>\plugins\windows\, or rename the old one first.
    Put MyModdedVideosConfig.dll in <MP-path>\plugins\process\.

    Now there is possible to configure these settings in MP Configuration - plugins - processplugins - Modded MyVideos.

    I have now fixed some bugs and added the new files for download:
    Download here

    Edit: The folder scanning only works like this from within MP itself, since no changes are done to MP Configuration.

    Enjoy...
     

    RoXoR

    MP Donator
  • Premium Supporter
  • August 3, 2008
    347
    23
    B-W
    Home Country
    Germany Germany
    awesome! I'll check this this out, now
    hope you had a great holiday

    edit:
    hm, I copied the 2 files to my folder and enabled the plug-in
    I also added some expressions: r5, ld, xvid, dvd5, 720p, bluray, x264, dts, proper...
    but the scanner in the "movie database" still uses the filenames instead of foldernames

    databasekopiexs0.gif

    do I have to change anything here?

    the imdb scan in MP itself works fine
     

    solis66

    MP Donator
  • Premium Supporter
  • January 22, 2007
    141
    20
    Home Country
    Sweden Sweden
    Sorry RoXoR

    Never mentioned that the foldername scanning only works in MP itself.

    I never changed anything in Configuration so that uses the regular MP scanning.
    My thought was that it is somewhat overkill to update the MP Configuration part also when new changes is added by the MP devs since this is not a standalone plugin, but an update of the internal MP components.

    Yes, I agree that it would be nice but I'm not sure I will get into that.

    Hope it works satisfactory anyway.
     

    solis66

    MP Donator
  • Premium Supporter
  • January 22, 2007
    141
    20
    Home Country
    Sweden Sweden
    Hi Stoked. 15 countries in 18 days, some wonderful alpine roads on motorcycle trough whole Europe. Yes,it was great.

    I see that gamejester seems to be doing some great work. However, his changes seems to go through several core parts of MP. which makes it harder to keep MP up to date with svn's.
    All my mods, but the IMDB scanning, are related to MyVideos plugin for more simplicity. This makes it easier to keep the system up to date so I don't have to mess around too much with the original MP dll:s. The imdb part is a little hack where I moved some imdb functionality to MyVideos part. That is also why it don't work in MP Config.

    I'll guess we'll see how it goes with his mod, could be great. I see that another exciting plugin, Moving Pictures, also is under development for movies.

    The downside is that its hard to use db driven design when you have a lot of small movie clips without any special information. It's almost impossible to get them into a db correctly.
    In this case, one would have to trust the shares view and a very good order in the file structure to be able to navigate booth movies and all small movie clips in a easy way.

    That is why my small mod got developed in the first way, an easy way to get a little better order, but not perfect, of course.
    I'll keep this mod updated, and perhaps add some feature if someone has a good request.
    We'll see how it goes in the future...
     

    stoked

    MP Donator
  • Premium Supporter
  • December 14, 2007
    297
    8
    Home Country
    Canada Canada
    Wow, sounds like fun! Haven't been on a motorcycle in years. I assume you weren't on a sportbike, :D

    BTW, I don't know if this is possible, but I was wondering if you can change the behaviour of sorting in My Videos. My problem is I'd like to use sort by Date to see what my latest additions are. However, when you IMDB scan, MP puts a folder.jpg file in the folder which updates the modify time of the directory. Since MP is sorting directories and not files, it sorts by the modify time of the folders. Ideally, it would ignore the folder modify time and use the movie file modify time instead. Sounds like this may be outside the scope of this plugin but thought I'd ask.
     

    solis66

    MP Donator
  • Premium Supporter
  • January 22, 2007
    141
    20
    Home Country
    Sweden Sweden
    Not really a sport bike. Yamaha FJ1200 is categorised as a sport-touring, powerfull enough so we had fun with it. even though i actually had a passenger with me the whole time.

    Why not ask. I'm starting to think that nothing concerning movies is outside the scope any more. Can it be done so why not...
    I will look into that to see if its possible. right now I have no idea were this check is done but i can try to do this.

    We'll see...;)
     

    stoked

    MP Donator
  • Premium Supporter
  • December 14, 2007
    297
    8
    Home Country
    Canada Canada
    Thanks Solis66, your plugin definitely works great. BTW, think I found a bug, if I'm playing a x264 movie, push the back button to show my videos but still have the movie playing in the small preview screen, and then select a folder that has an iso, it crashes MP. I tested iso to iso, and iso to x264, both work fine. It only crashes x264 to iso.

    UPDATE: mediaportal.exe is still running, but I only see desktop when it "crashes".
     

    Users who are viewing this thread

    Similar threads

    My problem is that I would like to switch from Kodi to Mediaportal. In Kodi, putting an Extras folder in the same folder as the movie automatically manages all the extras on the Bluray, so my library is organized in this way. Moving everything would be a very long job (I have more than 2800 movies), plus I would lose the Extras...
    My problem is that I would like to switch from Kodi to Mediaportal. In Kodi, putting an Extras folder in the same folder as the...
    Hello, is it possible to exclude some folders from the Moving Pictures scan? My movies are organized in separate folders...
    Replies
    4
    Views
    983
    I've updated dlls in first post. Fixes: Summary / Overview was always empty Collections were not filtered to official ones Studios were not populated Fallback to english tagline didn't work Score / Popularity now empty instead of dummy rating and unknown popularity numbers Also I've tried to compile plugin against MP 1.34 x64 and...
    I've updated dlls in first post. Fixes: Summary / Overview was always empty Collections were not filtered to official ones Studios...
    Hi! TheTVDB.com has movies in their API now. API itself looks ok now so I decided to add TVDB to Moving Pictures. Check it if you...
    Replies
    2
    Views
    798
    I don't organise my media in the way that you do, so I don't know whether MediaPortal provides the capability that you want. All that I can suggest is that you read this page in the MP Wiki and experiment to see if it will merge the separate folders to give you a unified view of the media. -- from CyberSimian in the UK
    I don't organise my media in the way that you do, so I don't know whether MediaPortal provides the capability that you want. All...
    Hi i have a collection of 9208(Still growing on a daily basis)) music videos(ripped in m2ts format from blu-rays) which are stored...
    Replies
    1
    Views
    1K
    I removed all sign of MySQL, rebooted, did a clean reinstall. It reinstalled 5.6, But I've still got both the same problem - unable to connect to any of the specified MySQL hosts. And Hostname is still in red. I don't understand - this is a dedicated TV computer. Unless an update did this I don't know why there's a problem in the...
    I removed all sign of MySQL, rebooted, did a clean reinstall. It reinstalled 5.6, But I've still got both the same problem -...
    I've been using MediaPortal for 20 or so years. Last night it recorded perfectly. This arvo it doesn't - will run videos but not...
    Replies
    2
    Views
    867
    Mistake
    Mistake
    I've been using MediaPortal for 20 or so years. Last night it recorded perfectly. This arvo it doesn't - will run videos but not...
    Replies
    26
    Views
    4K
    Top Bottom