Missing MediaInfo Logos - wrong fanart (1 Viewer)

Helios61

Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,587
    871
    58
    NRW
    Germany Germany
    Country flag
    Hi Moving Pictures Dev(s)!

    I have issues with some movies: missing MediaInfo Logos and wrong backdrops! It seems, that it only occures with movies without imdb tt number! A related issue occures with trakt while playback of one of these movies -> Link! Logs and screenshots are attached! I hope, you can help!

    Best regards

    Helios
     

    Attachments

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,062
    2,978
    Cheshire
    United Kingdom United Kingdom
    Helios

    Are you using the latest mediainfo.dll and just as a matter of interest any particular format these files are encoded in.

    Also found displaying this info can vary widely from skin to skin, ie Avalon has loads of missing info regarding encode :(
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,587
    871
    58
    NRW
    Germany Germany
    Country flag
    AW: Re: Missing MediaInfo Logos - wrong fanart

    Hi Ray!
    Are you using the latest mediainfo.dll
    Yes (I have read the other topics ;)

    and just as a matter of interest any particular format these files are encoded in.
    MediaInfo:
    Allgemein
    UniqueID/String : 243757196702630914661581919878640640786 (0xB761EDAD850319048A15DF4958912312)
    Vollständiger Name : N:\Konzerte\Mozart · Don Giovanni (Salzburg 2008)\Mozart · Don Giovanni (Salzburg 2008) - Teil 1.mkv
    Format : Matroska
    Format-Version : Version 2
    Dateigröße : 20,2 GiB
    Dauer : 1h 33min
    Modus der Gesamtbitrate : variabel
    Gesamte Bitrate : 30,9 Mbps
    Kodierungs-Datum : UTC 2011-12-06 14:11:19
    Kodierendes Programm : mkvmerge v4.0.0 ('The Stars were mine') gebaut am Jun 6 2010 16:18:42
    verwendete Encoder-Bibliothek : libebml v1.0.0 + libmatroska v1.0.0

    Video
    ID : 1
    Format : MPEG Video
    Format-Version : Version 2
    Format-Profil : Main@High
    Format-Einstellungen für BVOP : Nein
    Format-Einstellungen für Matrix : ausgewählt
    Codec-ID : V_MPEG2
    Codec-ID/Info : MPEG 1 or 2 Video
    Dauer : 1h 33min
    Bitraten-Modus : variabel
    maximale Bitrate : 28,0 Mbps
    Breite : 1 920 Pixel
    Höhe : 1 080 Pixel
    Bildseitenverhältnis : 1,000
    Ursprüngliches Bildseitenverhält : 16:9
    Bildwiederholungsrate : 29,970 FPS
    Standard : Component
    ColorSpace : YUV
    ChromaSubsampling : 4:2:0
    BitDepth/String : 8 bits
    Scantyp : Interlaced
    Scanreihenfolge : oberes Feld zuerst
    Titel : Mozart · Don Giovanni (Salzburg 2008) - Teil 1
    Sprache : Italienisch
    Default : Ja
    Forced : Nein
    colour_primaries : BT.709
    transfer_characteristics : BT.709
    matrix_coefficients : BT.709

    Audio #1
    ID : 2
    Format : DTS
    Format/Info : Digital Theater Systems
    Codec-ID : A_DTS
    Dauer : 1h 33min
    Bitraten-Modus : konstant
    Bitrate : 1 510 Kbps
    Kanäle : 5 Kanäle
    Kanal-Positionen : Front: L C R, Side: L R
    Samplingrate : 48,0 KHz
    BitDepth/String : 24 bits
    Video Verzögerung : 11ms
    Stream-Größe : 1 012 MiB (5%)
    Titel : DTS 5.0 - 1510 Kbps
    Sprache : Italienisch
    Default : Ja
    Forced : Nein

    Audio #2
    ID : 3
    Format : DTS
    Format/Info : Digital Theater Systems
    Format-Profil : MA / Core
    Codec-ID : A_DTS
    Dauer : 1h 33min
    Bitraten-Modus : variabel
    Bitrate : 1 573 Kbps / 1 510 Kbps
    Kanäle : 5 Kanäle
    Kanal-Positionen : Front: L C R, Side: L R
    Samplingrate : 48,0 KHz
    BitDepth/String : 24 bits
    Compression_Mode/String : / Lossy
    Titel : DTS HD MA - Lossless
    Sprache : Italienisch
    Default : Nein
    Forced : Nein

    Audio #3
    ID : 4
    Format : PCM
    Codec-ID : A_PCM/INT/LIT
    Dauer : 1h 33min
    Bitraten-Modus : konstant
    Kanäle : 2 Kanäle
    Samplingrate : 48,0 KHz
    BitDepth/String : 16 bits
    Titel : PCM 2.0
    Sprache : Italienisch
    Default : Nein
    Forced : Nein

    Text #1
    ID : 5
    Format : PGS
    Codec-ID : S_HDMV/PGS
    Codec-ID/Info : The same subtitle format used on BDs/HD-DVDs
    Titel : Deutsch
    Sprache : Deutsch
    Default : Ja
    Forced : Nein

    Text #2
    ID : 6
    Format : PGS
    Codec-ID : S_HDMV/PGS
    Codec-ID/Info : The same subtitle format used on BDs/HD-DVDs
    Titel : Italienisch
    Sprache : Italienisch
    Default : Nein
    Forced : Nein

    Menü
    00:00:00.000 : en:Chapter 00
    00:00:44.044 : en:Chapter 01
    00:06:02.362 : en:Chapter 02
    00:10:51.384 : en:Chapter 03
    00:12:04.223 : en:Chapter 04
    00:18:16.962 : en:Chapter 05
    00:21:10.335 : en:Chapter 06
    00:24:29.000 : en:Chapter 07
    00:28:11.623 : en:Chapter 08
    00:34:03.975 : en:Chapter 09
    00:34:45.349 : en:Chapter 10
    00:36:12.403 : en:Chapter 11
    00:38:56.200 : en:Chapter 12
    00:40:42.039 : en:Chapter 13
    00:42:52.803 : en:Chapter 14
    00:45:48.812 : en:Chapter 15
    00:46:41.999 : en:Chapter 16
    00:47:48.999 : en:Chapter 17
    00:49:11.648 : en:Chapter 18
    00:52:49.032 : en:Chapter 19
    00:53:21.198 : en:Chapter 20
    00:59:52.488 : en:Chapter 21
    01:00:35.031 : en:Chapter 22
    01:05:46.275 : en:Chapter 23
    01:08:18.961 : en:Chapter 24
    01:09:49.485 : en:Chapter 25
    01:11:09.999 : en:Chapter 26
    01:15:08.470 : en:Chapter 27
    01:16:12.200 : en:Chapter 28
    01:20:13.408 : en:Chapter 29
    01:23:57.032 : en:Chapter 30
    01:33:18.993 : en:Chapter 31

    Also found displaying this info can vary widely from skin to skin, ie Avalon has loads of missing info regarding encode :(
    But, for example, DTS and PCM is working fine with other movies an Avalon!
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,930
    2,234
    Ba-Wü
    Germany Germany
    Country flag
    AW: Missing MediaInfo Logos - wrong fanart

    I think the wrong backdrop is a scraper issue. If there is no imdb number there should also be no themoviedb.org entry from where the backdrops came and the backdrop path should be just empty. Thats like it is on my side.
    I have no idea whats wrong with the mediainfo logos tho.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,342
    1,824
    Country flag
    It can indeed happen when a scraper fills in bad imdb_id reference that the cover/backdrop scrapers freak out and get some random artwork.

    Each skin can use their own locations for the codec images, for DefaultWide it is:

    Start Menu -> Team MediaPortal -> MediaPortal -> "User Files" -> "skin" folder -> "DefaultWide" folder -> "Media" folder -> "Logos" folder​

    But for Avalon this might be in a different location. If you go back to the root folder of your skin, open the "movingpictures.mediainfo.xml" file and you will find something such as:

    <texture>Logos\#MovingPictures.LocalMedia.videocodec.png</texture>​

    the "Media" folder inside your skin folder is considered the base folder for the <texture> so you go from there on forward to locate where it stores the images.

    And then you just make sure that images exists that will match the verbatim string for the codec as stored inside MovingPictures file info. Looking at your screenshot of file info that means you need a "1080i.png", "DTS.png", etc.


    PS: You got a lot of errors complaining about paths+files being longer then 248 and 260 characters respectivly, so you might want to look into that and rename them to be shorter and compliant. Or as per the official Microsoft path limits document:

    Maximum Path Length Limitation
    In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which is defined as 260 characters. A local path is structured in the following order: drive letter, colon, backslash, name components separated by backslashes, and a terminating null character. For example, the maximum path on drive D is "D:\some 256-character path string<NUL>" where "<NUL>" represents the invisible terminating null character for the current system codepage. (The characters < > are used here for visual clarity and cannot be part of a valid path string.)
    If you convert to unicode paths+filenames you can extend limit to 32,767 characters, you do this by adjusting your UNC path definition to for example "\\?\UNC\SERVER-PC\Server H\Konzerte" but I actually never tested myself to see if MediaPortal/MovPic/TVS is compatible to this (it should though because its a Windows API method). If you test that and it works, please provide feedback on results so it will benefit others.
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,587
    871
    58
    NRW
    Germany Germany
    Country flag
    AW: Re: Missing MediaInfo Logos - wrong fanart

    Hi RoChess!

    Thanks for reply!

    It can indeed happen when a scraper fills in bad imdb_id reference that the cover/backdrop scrapers freak out and get some random artwork.

    Each skin can use their own locations for the codec images, for DefaultWide it is:

    Start Menu -> Team MediaPortal -> MediaPortal -> "User Files" -> "skin" folder -> "DefaultWide" folder -> "Media" folder -> "Logos" folder​

    But for Avalon this might be in a different location. If you go back to the root folder of your skin, open the "movingpictures.mediainfo.xml" file and you will find something such as:

    <texture>Logos\#MovingPictures.LocalMedia.videocodec.png</texture>​

    the "Media" folder inside your skin folder is considered the base folder for the <texture> so you go from there on forward to locate where it stores the images.

    And then you just make sure that images exists that will match the verbatim string for the codec as stored inside MovingPictures file info. Looking at your screenshot of file info that means you need a "1080i.png", "DTS.png", etc.
    Logos for the most movies are working fine! The issue isn't skin related!



    PS: You got a lot of errors complaining about paths+files being longer then 248 and 260 characters respectivly, so you might want to look into that and rename them to be shorter and compliant. Or as per the official Microsoft path limits document:

    Maximum Path Length Limitation
    In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which is defined as 260 characters. A local path is structured in the following order: drive letter, colon, backslash, name components separated by backslashes, and a terminating null character. For example, the maximum path on drive D is "D:\some 256-character path string<NUL>" where "<NUL>" represents the invisible terminating null character for the current system codepage. (The characters < > are used here for visual clarity and cannot be part of a valid path string.)
    If you convert to unicode paths+filenames you can extend limit to 32,767 characters, you do this by adjusting your UNC path definition to for example "\\?\UNC\SERVER-PC\Server H\Konzerte" but I actually never tested myself to see if MediaPortal/MovPic/TVS is compatible to this (it should though because its a Windows API method). If you test that and it works, please provide feedback on results so it will benefit others.
    I've seen the error messages too, but unfortunately the logs doesn't tell, which path is too long :(! In Movie Importer i am using this path format \\SERVER-PC\Server D\\Filme. Isn't it an UNC Path? :confused:
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,342
    1,824
    Country flag
    Re: AW: Re: Missing MediaInfo Logos - wrong fanart

    I've seen the error messages too, but unfortunately the logs doesn't tell, which path is too long :(! In Movie Importer i am using this path format \\SERVER-PC\Server D\\Filme. Isn't it an UNC Path? :confused:
    Any regular "<drive-letter>\path" and "\\UNC\path" is limited to 248 and 260 character limits as set by the backwards compatability that Windows OS carries.

    You need to use "\\?\<drive-letter:\path" and "\\?\UNC\path" to switch to the new unicode system that gives much more room and is only supported on the recent Windows OS-es (Vista, and up). For example "\\?\C:\" works fine on Vista+, but fails on XP. Since C# is unicode aware and the .NET framework relies on all the API standards then unless some specific non-unicode methods are used in code for MovingPictures, you should be able to adjust all your import paths without any problems. Of course '?' is normally a character not allowed in filenames and/or paths (which is why it was used for this new system), so if any filtering is done to eliminate that you will get issues, but that's an easy test to do.

    Of course you can also locate the path and/or filename in question that is causing the problem, there are tools for that I'm sure. A quick Google search gives me: FileBoss

    As for your other issue, the file in question was a multi-track file. That is dealt with by the splitter, now for playback that has always caused me issues and forced me to use the Haali splitter. The MPC-HC standalone splitter can not properly deal with multi-track files and would cause lot of issues. I'm not happy with the Haali splitter as it causes some init delays, but haven't been able to find a better splitter yet, though looks like I might have to try the LAV splitter (hopefully it plays nice with other codecs, because I'm not gonna uproot my MPC-HC standalone codec setup). Of course a new MPC-HC update is around the corner as well so it might all just resolve itself.

    Anyway, the splitter is of course seperate from the MediaInfo process as you clearly at least get first track filled in proper it looks like via the "File Info" screenshot. But I'm wondering if it still in someway relates to eachoter. So do you have any problems with playback of those multi-track media files, or are you already setup with a good splitter/codec combination that can handle it fine?

    Otherwise the only thing I can think off is that somehow what you see in "File Info" is not the same as to what is used. For example if it uses "1080i " vs "1080i" then you actually need "1080i .png" to make it show logo image. You would have to open the MovingPictures.db3 file with an SQLite tool and manually verify the field data to verify that. The table in question is "local_media" that contains all the info, so verify that it indeed has all the correct data inside of it. You can use the "local_media__movie_info" table to match the ID from "local_media" table to the ID from "movie_info" to then match it with the actual movie (also works in reverse).
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,587
    871
    58
    NRW
    Germany Germany
    Country flag
    AW: Re: AW: Re: Missing MediaInfo Logos - wrong fanart

    You need to use "\\?\<drive-letter:\path" and "\\?\UNC\path" to switch to the new unicode system that gives much more room and is only supported on the recent Windows OS-es (Vista, and up).
    Made some tests, unfortunately it doesn't work! I hope, fforde will add this in one of the next versions!

    As for your other issue, the file in question was a multi-track file. That is dealt with by the splitter, now for playback that has always caused me issues and forced me to use the Haali splitter. The MPC-HC standalone splitter can not properly deal with multi-track files and would cause lot of issues. I'm not happy with the Haali splitter as it causes some init delays, but haven't been able to find a better splitter yet, though looks like I might have to try the LAV splitter (hopefully it plays nice with other codecs, because I'm not gonna uproot my MPC-HC standalone codec setup). Of course a new MPC-HC update is around the corner as well so it might all just resolve itself.
    Anyway, the splitter is of course seperate from the MediaInfo process as you clearly at least get first track filled in proper it looks like via the "File Info" screenshot. But I'm wondering if it still in someway relates to eachoter. So do you have any problems with playback of those multi-track media files, or are you already setup with a good splitter/codec combination that can handle it fine?
    Playback of all of these files is working like a charme using LAV Splitter and LAV Audio!

    Otherwise the only thing I can think off is that somehow what you see in "File Info" is not the same as to what is used. For example if it uses "1080i " vs "1080i" then you actually need "1080i .png" to make it show logo image. You would have to open the MovingPictures.db3 file with an SQLite tool and manually verify the field data to verify that. The table in question is "local_media" that contains all the info, so verify that it indeed has all the correct data inside of it. You can use the "local_media__movie_info" table to match the ID from "local_media" table to the ID from "movie_info" to then match it with the actual movie (also works in reverse).
    Checked the skin folders and the database! It schould work! :confused:

    BTW after adjust some files (246/260 characters), i've added some new files again manually and again without tt number and again the wrong backdrop :(, but with working logos (multipart movies too) -> Screenshot! Ok, it is no problem to change the backdrop, but with unknown movies backdrop should be empty!
     

    Attachments

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,342
    1,824
    Country flag
    Re: AW: Re: AW: Re: Missing MediaInfo Logos - wrong fanart

    BTW after adjust some files (246/260 characters), i've added some new files again manually and again without tt number and again the wrong backdrop :(, but with working logos (multipart movies too) -> Screenshot! Ok, it is no problem to change the backdrop, but with unknown movies backdrop should be empty!
    Is the scraper you use adding any bad reference for the imdb_id?

    If a scraper adds 'tt' or even a space, it will cause the TMDB backdrop scraper part to freak out and pretty much get random fanarts.

    I've explained some of that @ https://forum.team-mediaportal.com/...-1-2-3-released-99017/index10.html#post810726

    I actually remember the backdrop you get from trying some examples of bad data. So that might be happening for you, which means you will have to fix your scraper to not fill in bad data anymore and leave the imdb_id field empty/null if it doesn't know the correct one.
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,587
    871
    58
    NRW
    Germany Germany
    Country flag
    AW: Re: AW: Re: AW: Re: Missing MediaInfo Logos - wrong fanart

    BTW after adjust some files (246/260 characters), i've added some new files again manually and again without tt number and again the wrong backdrop :(, but with working logos (multipart movies too) -> Screenshot! Ok, it is no problem to change the backdrop, but with unknown movies backdrop should be empty!
    Is the scraper you use adding any bad reference for the imdb_id?

    If a scraper adds 'tt' or even a space, it will cause the TMDB backdrop scraper part to freak out and pretty much get random fanarts.

    I've explained some of that @ https://forum.team-mediaportal.com/...-1-2-3-released-99017/index10.html#post810726

    I actually remember the backdrop you get from trying some examples of bad data. So that might be happening for you, which means you will have to fix your scraper to not fill in bad data anymore and leave the imdb_id field empty/null if it doesn't know the correct one.
    I hope, this issue will be fixed in one of next releases! :D for helping!
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    SpudR Missing Page Numbers Website/Forum/Wiki Feedback 11
    g0rsq UK Freesat not tunning BBC HD channels, and lots of other freesat channels missing. Newcomers Forum 4
    D [solved] TVServer Plugin must be missing something. General Development (no feature request here!) 1
    HTPCSourcer Missing series posters/banners MediaPortal 2 11
    thepahakurki Trakt error: Invalid or missing file Trakt 8
    T How to add missing buttons IR Server Suite (IRSS) 0
    T Missing sound in online streaming service (SVTPlay) General Support 3
    D Tuner Suddenly Missing Channels TV-Cards 0
    S Missing plugin for MP2 Plugin Development 1
    L [solved] MP2 doesnt play anything - player missing? General 1
    L Tv series install problem missing file My TVSeries 7
    L [solved] Missing gentle.config file General 6
    CyberSimian TV Server import is missing some settings MediaPortal 1 0
    T Media Portal 2 EPG data missing General 16
    zunixnuz Missing #iswatched property to recorded TV Titan Skin Feedback 5
    Ralph Holmes Missing TV channels after transmitter change (Tacolneston) General 6
    P [Resolved] Missing column in database My TVSeries 7
    Charlie TV [solved] Channels disappeared after transmitter changes (Midhurst) General Support 4
    Stubbie MediaPortal DVB EPG - Partly missing EPG MediaPortal 1 Talk 0
    CyberSimian My network devices sometimes go missing OffTopic 6
    T Missing Some UK Channels (Quest & Quest Red) Television (MyTV frontend and TV-Server) 13
    2BitSculptor MP1.23 release mediainfo issue? MediaPortal 1 Talk 4
    bta489 HEVC Video, DTSX, ATMOS, DD+ Audio Codecs Moving Pictures 14
    T Server / client channel logo location Installation, configuration support 6
    HTPCSourcer MP2 TV Logo Management General 35
    Top Bottom