home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
General
this view could not be built
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MJGraf" data-source="post: 1164581" data-attributes="member: 17886"><p>I have to admit, I don't agree on that one. people like you and me and probably most people in this forum love their media collection and spend way too much time in making it "nice" (folder structure, tagging, etc.). But most people out there nowadays don't want to be bothered with that. They just have media files, don't care about where they are on their computer but expect the software they use to take care of this mess and automatically give it a structure they understand. I know a lot of people like that and we should make MP2 take care of them as well.</p><p></p><p>I didn't know that MovPic is able to handle these kinds of nfo-files. Since it does, we should make MP2 handle them as well... <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>In general you are right. But you don't have to change the file name. Just use a tool to set the "last modified date" of the files in question to "now" and start a refresh import from Settings. It will re-import all files, the last-modified-date of which is newer than the date of the last import.</p><p></p><p>If you just want to find out how the two known movies with import issues are doing, this sounds like overkill to me. Just copy the directories with these two movies in it to some scratch space, change whatever you want to test (nfo-file, file-name) and add the scratch space's path as new MediaSource. That seems much quicker to me...</p><p></p><p>Finally - for the records - some results from analyzing our code:</p><ul> <li data-xf-list-type="ul">We can use SeriesTvDbMatcher.FindAndUpdateSeries(SeriesInfo seriesInfo) with only IMDB-ID in the SeriesInfo parameter to check if the IMDB-ID belongs to a series (then it returns true) or not (e.g. for a movie - then it returns false).</li> <li data-xf-list-type="ul">We can use MovieTheMovieDbMatcher.FindAndUpdateMovie(MovieInfo movieInfo) with only IMDB-ID in the MovieInfo parameter to check if the IMDB-ID belongs to a movie (then it returns true) or not (e.g. for a series - then it returns false).</li> </ul><p>I wasn't completely sure in particular about the second bullet-point above, because TheMovieDb also has series in their database. But I tested with "Game of Thrones" (tt0944947), which is (as series) in their database (<a href="https://www.themoviedb.org/tv/1399-game-of-thrones" target="_blank">https://www.themoviedb.org/tv/1399-game-of-thrones</a>) and the API method we use for searching for movies did not return a result. Very good...</p><p></p><p>So the idea would be:</p><ul> <li data-xf-list-type="ul">If the NfoMovieMDE cannot parse a nfo-file as xml-file<ul> <li data-xf-list-type="ul">Treat the nfo-files as string and parse for a valid IMDB-ID. (If multiple are found, we just take the first one and assume the others are the same)</li> <li data-xf-list-type="ul">If one is found, check via MovieTheMovieDbMatcher whether the IMDB-ID belongs to a movie.</li> <li data-xf-list-type="ul">If yes, add the IMDB-ID to the MovieAspect and let the MovieMDE do the rest (lookup will then come much faster from cache because NfoMovieMDE already downloaded the metadata)</li> </ul></li> <li data-xf-list-type="ul">If the NfoSeriesMDE cannot parse a nfo-file as xml-file<ul> <li data-xf-list-type="ul">Treat the nfo-files as string and parse for a valid IMDB-ID. (If multiple are found, we just take the first one and assume the others are the same)</li> <li data-xf-list-type="ul">If one is found, check via TvDbMatcher whether the IMDB-ID belongs to a series.</li> <li data-xf-list-type="ul">If yes, add the IMDB-ID to the SeriesAspect and let the SeriesMDE do the rest (lookup will then come much faster from cache because NfoSeriesMDE already downloaded the metadata)</li> </ul></li> </ul><p>This shouldn't affect performance for those who have well-formed xml in their nfo-files, because all the above is only done when parsing xml is not possible.</p></blockquote><p></p>
[QUOTE="MJGraf, post: 1164581, member: 17886"] I have to admit, I don't agree on that one. people like you and me and probably most people in this forum love their media collection and spend way too much time in making it "nice" (folder structure, tagging, etc.). But most people out there nowadays don't want to be bothered with that. They just have media files, don't care about where they are on their computer but expect the software they use to take care of this mess and automatically give it a structure they understand. I know a lot of people like that and we should make MP2 take care of them as well. I didn't know that MovPic is able to handle these kinds of nfo-files. Since it does, we should make MP2 handle them as well... ;) In general you are right. But you don't have to change the file name. Just use a tool to set the "last modified date" of the files in question to "now" and start a refresh import from Settings. It will re-import all files, the last-modified-date of which is newer than the date of the last import. If you just want to find out how the two known movies with import issues are doing, this sounds like overkill to me. Just copy the directories with these two movies in it to some scratch space, change whatever you want to test (nfo-file, file-name) and add the scratch space's path as new MediaSource. That seems much quicker to me... Finally - for the records - some results from analyzing our code: [LIST] [*]We can use SeriesTvDbMatcher.FindAndUpdateSeries(SeriesInfo seriesInfo) with only IMDB-ID in the SeriesInfo parameter to check if the IMDB-ID belongs to a series (then it returns true) or not (e.g. for a movie - then it returns false). [*]We can use MovieTheMovieDbMatcher.FindAndUpdateMovie(MovieInfo movieInfo) with only IMDB-ID in the MovieInfo parameter to check if the IMDB-ID belongs to a movie (then it returns true) or not (e.g. for a series - then it returns false). [/LIST] I wasn't completely sure in particular about the second bullet-point above, because TheMovieDb also has series in their database. But I tested with "Game of Thrones" (tt0944947), which is (as series) in their database ([URL]https://www.themoviedb.org/tv/1399-game-of-thrones[/URL]) and the API method we use for searching for movies did not return a result. Very good... So the idea would be: [LIST] [*]If the NfoMovieMDE cannot parse a nfo-file as xml-file [LIST] [*]Treat the nfo-files as string and parse for a valid IMDB-ID. (If multiple are found, we just take the first one and assume the others are the same) [*]If one is found, check via MovieTheMovieDbMatcher whether the IMDB-ID belongs to a movie. [*]If yes, add the IMDB-ID to the MovieAspect and let the MovieMDE do the rest (lookup will then come much faster from cache because NfoMovieMDE already downloaded the metadata) [/LIST] [*]If the NfoSeriesMDE cannot parse a nfo-file as xml-file [LIST] [*]Treat the nfo-files as string and parse for a valid IMDB-ID. (If multiple are found, we just take the first one and assume the others are the same) [*]If one is found, check via TvDbMatcher whether the IMDB-ID belongs to a series. [*]If yes, add the IMDB-ID to the SeriesAspect and let the SeriesMDE do the rest (lookup will then come much faster from cache because NfoSeriesMDE already downloaded the metadata) [/LIST] [/LIST] This shouldn't affect performance for those who have well-formed xml in their nfo-files, because all the above is only done when parsing xml is not possible. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
General
this view could not be built
Contact us
RSS
Top
Bottom