Possible to scan folders instead of files? (2 Viewers)

stoked

MP Donator
  • Premium Supporter
  • December 14, 2007
    297
    8
    Home Country
    Canada Canada
    Solis66,

    Could we get a update for RC2? Thanks in advance!
     

    solis66

    MP Donator
  • Premium Supporter
  • January 22, 2007
    141
    20
    Home Country
    Sweden Sweden
    That wouldnt be to hard, but I cant find the source code for RC2.
    Dunno if its the same as RC1 trunk rev 19675. Cant find any newer.

    Otherwise its no problem...
     

    egg

    Portal Member
    June 9, 2008
    25
    0
    Hi,

    I love this plugin. However, the way it searches into sub-folders and outputs some weird options is strange.

    Can it be configured, so it only looks at the top level folder for the name? :D
     

    egg

    Portal Member
    June 9, 2008
    25
    0
    sorry.. my current folder structure is as follows:

    /movies/
    /movies/blade.runner/
    movies/blade.runner/sample/
    movies/blade.runner/sample/sample.mkv
    movies/blade.runner/b-r.mkv
    movies/blade.runner/otherjunk.xzy

    in cases like this, often the movie is picked up as "sample" and imdb calles is simple men or some other random film :)

    So I'm thinking, how can it be forced to use the foldername in this case? Or simply turn off the subfolder feature? (which i guess causes some of the issue)?
     

    solis66

    MP Donator
  • Premium Supporter
  • January 22, 2007
    141
    20
    Home Country
    Sweden Sweden
    Hi
    I see your point here.

    Don't you think Sample is a good movie?;)
    *joking*

    Well, I think the subfolder structure has to be there to be able to scan a hierarchy of moviefolders.

    /movies/
    /movies/action/blade.runner/
    /movies/action/die.hard/
    /movies/comedy/MontyPython/

    The easiest fix is to just exclude some hardcoded foldernames like "sample". The next step could be to add a section in xml file and read data from the xml file where a user could add his own names to exclude.

    I'll think about it, but I will release the dll file in few days based on the RC1 trunk code, since RC2 is not labeled yet, so i just stick to the hardcoded part right now.

    Any other suggestions for names besided 'sample'?
     

    stoked

    MP Donator
  • Premium Supporter
  • December 14, 2007
    297
    8
    Home Country
    Canada Canada
    My samples are usually kept in the same directory as the movie folder so I guess I don't see this problem, but can see how it would affect it. BTW, it'd be nice if MP would be able to just play the movie file when the folder is selected and if there's more then one movie file in the folder then drilldown into the folder like it does now. I'm guessing this may be beyond the scope of your patch Solis66.

    That wouldnt be to hard, but I cant find the source code for RC2.
    Dunno if its the same as RC1 trunk rev 19675. Cant find any newer.

    Otherwise its no problem...

    I asked the devs which SVN RC2 is, it's 19657 and they said they tagged it now.
     

    solis66

    MP Donator
  • Premium Supporter
  • January 22, 2007
    141
    20
    Home Country
    Sweden Sweden
    Ok, i'll use 19657.
    I will release the patch later this week
    it'd be nice if MP would be able to just play the movie file when the folder is selected
    Yes, you are right about that and I don't think its too hard to implement, but I'm going away for a three week holiday on Saturday so that feature will have to wait till after the vacation.

    Btw, stoked. If you have sample files named sample.avi or something like that, then there must be wrong file added to db when scanning if you have two files named
    /sample.avi
    /Terminator.avi
    in the same folder, or...
     

    stoked

    MP Donator
  • Premium Supporter
  • December 14, 2007
    297
    8
    Home Country
    Canada Canada
    Ok, i'll use 19657.
    I will release the patch later this week
    it'd be nice if MP would be able to just play the movie file when the folder is selected
    Yes, you are right about that and I don't think its too hard to implement, but I'm going away for a three week holiday on Saturday so that feature will have to wait till after the vacation.

    Btw, stoked. If you have sample files named sample.avi or something like that, then there must be wrong file added to db when scanning if you have two files named
    /sample.avi
    /Terminator.avi
    in the same folder, or...

    Thanks Solis66! Got your PM as well. As to the the sample video file, I don't have a problem like egg does. My files are usually like:

    ./Terminator/Terminator.avi
    ./Terminator/Terminator-sample.avi

    If you do manage to add the play movie when movie folder is selected, adding an exclusion for *sample* should suffice.

    Anyhow thanks again! Have a good vacation! :D
     

    egg

    Portal Member
    June 9, 2008
    25
    0
    looking forward to any updates. As a workaround, I'm just gonna scrap all my extra files that i dont need.

    I'm also trying to remember how my XBMC setup worked... that seemed to have some good logic, as I dont recall having to mess too much with files etc. Just made the folder names correct and it was all good...
     

    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