MP2 does not sort videos correctly (1 Viewer)

dfraga

Portal Member
June 8, 2015
45
1
Home Country
United States of America United States of America
I hope you didn't take what I said as a knock against anything to do with MP2 or any of the work you are all doing. My intention was only to help the OP get his ML scraping correctly. Does that mean that the series plugin is only scraping from TVDB? I assume that is why the IMDB number won't help but does with movies. If so, would it be helpful to scrape from both? I found that while TVDB does not find it's own series numbers in it's search function, IMDB does find it's own numbers when searched.
 

Lehmden

Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    Hi.
    I hope you didn't take what I said as a knock against anything
    Don't worry, all is fine. I only wanted to explain why it is impossible to get TVDB-ID working...

    Does that mean that the series plugin is only scraping from TVDB?
    Yes, exactly. And the Movies "plugin" only is scrapping from TheMovieDB. But opposite to series the IMDB-ID can be used as a search parameter on TheMovieDB so it really is helpful then. IMDB is commercial, did not provide fanart and only has a very little localized data. That's why IMDB is not ideal when it comes to Metadata and Fanart grabbing from within an OpenSource Media Software...

    I've added plugin in "" as in fact it is a so called "MetaData Extractor", short MDE that is doing the scrapping. Series or Movies are no separate plugins in MP2. They are both part of the core system. Only different MDE are used depending on what type it is.
     

    dfraga

    Portal Member
    June 8, 2015
    45
    1
    Home Country
    United States of America United States of America
    Don't worry, all is fine. I only wanted to explain why it is impossible to get TVDB-ID working...
    Good to know:) I figured as much, but sometimes in text, things don't always get interpreted the way they are meant. So I thought I'd be clear.
    I've added plugin in "" as in fact it is a so called "MetaData Extractor", short MDE that is doing the scrapping. Series or Movies are no separate plugins in MP2. They are both part of the core system. Only different MDE are used depending on what type it is.
    Sorry, I don't fully understand all of those things. Thanks for the explanation.
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    Sorry, I don't fully understand all of those things
    Me neither... Such a piece of software is so complicated inside... And MP2 really is different to all other software in this area.

    Opposite to MP1 you only have one Plugin for all types of Video. The different functionality is provided by different MDE. In MP1 you have MyVideos, MyFilms, MyTVSeries, Moving Pictures, MyAnime and MVCentral (or similar, forgot the name), all are different plugins with different GUI and config interface, different databases and so on. In MP2 all this is in a single plugin, Videos, with a single Database and a single interface to configure... Today MP2 only is supporting Movies and Series but not Anime or MusicVideos. If you want to add MusicVideos Support all that is needed is to write an MusicVideosMDE and you are done.
     

    dfraga

    Portal Member
    June 8, 2015
    45
    1
    Home Country
    United States of America United States of America
    That makes sense. I think I misunderstood the concept slightly. I thought that MP2 was setup that everything was a separate plugin, but implemented in a different way than MP1. I thought by keeping everything separate and modular, anything could be added or changed without damaging other components. Which I guess is the idea, I just didn't realize that all of the different components in video are actually one plugin, regardless of separate areas in the GUI. :cool:
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    Hi.
    that everything was a separate plugin,
    There isn't such a thing as one "Videos Plugin". If you want to have a deeper look:, there are 17 plugins used for the Video section of MP2. And those are only the server side plugins... This is much more modular than you may expect... And that's why I call it a core component, not a plugin.
     

    dfraga

    Portal Member
    June 8, 2015
    45
    1
    Home Country
    United States of America United States of America
    Ok, now I'm really confused :confused:
    Opposite to MP1 you only have one Plugin for all types of Video. The different functionality is provided by different MDE. In MP1 you have MyVideos, MyFilms, MyTVSeries, Moving Pictures, MyAnime and MVCentral (or similar, forgot the name), all are different plugins with different GUI and config interface, different databases and so on. In MP2 all this is in a single plugin, Videos, with a single Database and a single interface to configure...
    I know absolutely nothing when it comes to coding or software development. It's possible I'll never really understand it. I'm interested in learning but not really sure where to start, or if I should even try. Maybe I'm just not wired for it. That's OK, I do appreciate you trying to educate this illiterate noob.;)
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    HI.
    now I'm really confused

    The easy answer is: It is all the same "plugin", no matter if it comes to movies or series (or any other type of video like Anime, Documentary, MusicVideos,... anyone may add later to the program). That's how it is working if you look from the outside.

    An average user normally don't need to know more, but it can be helpful to know more a bit, even for an average user. Especially if it comes to fixing issues one may have...

    The complicated answer is: The Video section is split into many parts, many plugins that are all doing different things but all are working together to provide the functionality needed for a nice video database.

    Some examples and what those plugins are doing: There is the VideoMetadataExtractor that is called on every video file and collects informations about the video file itself like video codec, duration,... This is needed for series and movies too, so why developing or implementing it three times? Then there is the FanartHandler plugin that delivers fanart to a client. In fact there are 3 different FanartHandler plugins, one for general, basic purposes, one for Fanart stored locally near the video file and a third one specialised for downloaded fanart. Then there is the VideoThumbnalier plugin that is generating thumbnails for videos without any other fanart. There is the NfoMetadataExtractor that is collecting informations from a .nfo file if one is available near to the video. We have a NetworkNeighborhoodResourceProvider that is needed to access media files stored on another computer in the home network, and so on...

    The nfo support was added only a few month ago. Adding this plugin to the system improves the usability of the whole program only by adding this MDE. That's why the main components are split into such a lot of pieces...

    The type of plugin you may be familiar with from MP1 that provides a complete feature in one plugin (like MovingPictures or TVSeries) is existing in MP2 too. As example the OnlineVideos plugin (nearly a 1:1 port from the MP1 OnlineVideos plugin) or the Cinema Plugin. Both are adding an complete feature to MP2 and both are doing this (nearly) by themselves. This plugin type, also it is possible, is not too often done (or needed) in the MP2 world..
     

    dfraga

    Portal Member
    June 8, 2015
    45
    1
    Home Country
    United States of America United States of America
    Thanks for elaborating. I think I'm starting to understand.:cool:
     

    Users who are viewing this thread

    Top Bottom