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: 1164499" data-attributes="member: 17886"><p>What we could do code-wise (to avoid that you have to Change all your nfo-files) is that if it is not possible to read an nfo-file correctly as XML (which is <a href="https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Source/Extensions/MetadataExtractors/NfoMetadataExtractors/NfoReaders/NfoReaderBase.cs#L219" target="_blank">here </a>in the code), we try to read the whole nfo-file as string and at least try to find a sub-string in the form ttxxxxxxx and treat this as IMDB-ID. For the URL you have in your nfo-files, it would then just filter the IMDB-ID from the URL and use it.</p><p>[USER=109222]@Lehmden[/USER] (as master of nfo-files <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /> ): Is there any reason we should not do this? (And do you know from the top of your head that the number after "tt" in IMDB-IDs is always 7 Digits? I just can't remember...)</p><p>Not sure if I can implement it this Weekend (because it Needs to work for movies and series correctly), but it doesn't look too complicated...</p></blockquote><p></p>
[QUOTE="MJGraf, post: 1164499, member: 17886"] What we could do code-wise (to avoid that you have to Change all your nfo-files) is that if it is not possible to read an nfo-file correctly as XML (which is [URL='https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Source/Extensions/MetadataExtractors/NfoMetadataExtractors/NfoReaders/NfoReaderBase.cs#L219']here [/URL]in the code), we try to read the whole nfo-file as string and at least try to find a sub-string in the form ttxxxxxxx and treat this as IMDB-ID. For the URL you have in your nfo-files, it would then just filter the IMDB-ID from the URL and use it. [USER=109222]@Lehmden[/USER] (as master of nfo-files ;) ): Is there any reason we should not do this? (And do you know from the top of your head that the number after "tt" in IMDB-IDs is always 7 Digits? I just can't remember...) Not sure if I can implement it this Weekend (because it Needs to work for movies and series correctly), but it doesn't look too complicated... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
General
this view could not be built
Contact us
RSS
Top
Bottom