candidate for next Weekly (1 Viewer)

breese

Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    67
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    I found a lot of this long after a fresh import

    [2015-04-03 17:45:45,920] [3898433] [68 ] [DEBUG] - SQLiteDatabase: 7 connections in use
    [2015-04-03 17:45:46,170] [3898683] [57 ] [WARN ] - MkvAttachmentsProvider: Exception while reading mkv attachment of type 'FanArt' from ''
    MediaPortal.Utilities.Exceptions.IllegalCallException: Cannot create resource accessor for resource location '{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///F:/MPMovies/1941.mp4' at system '466406a6-a7a9-4372-9f5f-a8bf68d3928d'
    at MediaPortal.Common.Services.ResourceAccess.ResourceLocator.CreateAccessor()
    at MediaPortal.Extensions.UserServices.FanArtService.Local.MkvAttachmentsProvider.TryGetFanArt(FanArtMediaType mediaType, FanArtType fanArtType, String name, Int32 maxWidth, Int32 maxHeight, Boolean singleRandom, IList`1& result)
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,725
    3,521
    Stuttgart
    Home Country
    Germany Germany
    It is very difficult to see where you need to check "use user name and password for network access"

    Yep, this is already known to @ge2301 but he hasn't found the time to fix it.

    The FillBehaviour for popupmenubuttons was on "Stop". Therefore the focus background was only shortly flashing. I set it to "HoldEnd" and it's visible as long the focus is available now.
    I didn't set it like that and it took some time to find out which code causes this :)
    HTML:
      <Storyboard x:Key="FocusedButtonStoryboard" FillBehavior="Stop">
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,584
    3,973
    Lehmden
    Home Country
    Germany Germany
    Hi.
    [2015-04-03 17:45:46,170] [3898683] [57 ] [WARN ] - MkvAttachmentsProvider:
    As all my videos are inside MKV containers, I never see this. Excerpt while importing TV recordings. Those are in TS container. And there I have seen (and reported) this already too.
    https://forum.team-mediaportal.com/threads/candidate-for-next-weekly.130254/page-3#post-1131603
    So I can confirm this as an (tiny) issue (warning, no exception)...

    It looks as if the MKVAttachmentsProvider is called on every video not only on MKV files. And if the video is not a MKV the Provider could not read the video file while try to search for attached fanart. Nothing you really could be wondering about. ;)
    MKV videos can have cover, fanart, logos,... embedded and this is the attempt to read them out of the video. But this is working for MKV only (as other video container formats like AVI, MPG,... did not support embedded gfx), so it is necessary to add some kind of filter to the procedure calling this provider on MKV files only...
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    I checked the source code of mkv attachment provider: the resource locator is read from ML, then it is tried to create an accessor for it. this is failing.
    @MJGraf could it be related to network access changes? I doubt it, as path uses local fs.
    The file extension is checked later once the RA is created...
     

    MJGraf

    Retired Team Member
  • Premium Supporter
  • January 13, 2006
    2,478
    1,385
    could it be related to network access changes
    I doubt that, too. The ResourceProvider-Guid in breese's logs is the one from a LocalFsResourceProvider; so this is not a networkRA issue.
    Will try to have a look into this tonight...
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,584
    3,973
    Lehmden
    Home Country
    Germany Germany
    Hi.
    I'm pretty sure the MkvAttachmentsProvider is called by mistake on every video instead of MKV only...
    That's why I saw this on TV Recordings only as those are the only "non MKV" videos I have to deal with inside MP2... And by the way, my recordings are stored locally only, so I'm pretty sure it is not related to networkRA
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    Could the exception when creating a resource accessor could be related to my change in LFSRA regarding the FileShare.ReadWrite?

    @Lehmden as I explained above, file extension is considered AFTER the RA is created (which is failing here, not the actual try to access mkv attachments)
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    67
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    Could any of this also be why I have a large amount of Movies only showing up in Videos?
    All of these were in Videos and only had what I think is Fanart.... No other information on the Movie was given.
    Import was 101 Movies
    31 in Videos not in Movies

    I have gone up to themoviedb.org and checked a few and found each of those I checked have more then 2 listed or partial listed.

    1941.mp4 1941.jpg
    TheMovieDbWrapper : Multiple matches for "1941" (17). Try to find exact name match.
    1941_Info.jpg

    A Christmas Carol.avi A Christmas Carol.jpg
    TheMovieDbWrapper : Multiple matches for "A Christmas Carol" (20). Try to find exact name match.
    A Christmas Carol_Info.jpg

    All Quiet on the Western Front.mp4 All Quiet on the Western Front.jpg
    TheMovieDbWrapper : Multiple matches for "All Quiet on the Western Front" (3). Try to find exact name match

    Argo.mp4 Argo.jpg
    TheMovieDbWrapper : Multiple matches found for "Argo" (count: 2)

    Calamity Jane.mp4 Calamity Jane.jpg
    TheMovieDbWrapper : Multiple matches for "Calamity Jane" (4). Try to find exact name match.

    Frozen.mp4 Frozen.jpg
    TheMovieDbWrapper : Multiple matches for "Frozen" (20). Try to find exact name match.

    Free Birds.mp4 Free Birds.jpg
    TheMovieDbWrapper : Multiple matches for "Free Birds" (2). Try to find exact name match.

    House of Usher.mp4
    Gravity.mp4
    House on Haunted Hill.mp4
    It's a Wonderful Life.mp4
    Into the Storm.mp4
    Moby Dick.mp4
    Miracle On 34th Street 1947.avi
    Pit Stop.mp4
    Next of Kin.mp4
    Santa Claus.mp4
    The Andromeda Strain.mp4
    State Fair.mp4
    The Challenger Disaster.mp4
    The Butler.mp4
    The Hound of the Baskervilles.mp4
    The Great Train Robbery.mp4
    The King and I.mp4
    The Hunter.mp4
    The Sound and the Fury.mp4
    The Undefeated.mp4
    Top Gun.mp4
    The Train.mp4
    Turbo.mp4
    Welcome to the Jungle.mp4
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,584
    3,973
    Lehmden
    Home Country
    Germany Germany
    Hi.
    Could any of this also be why I have a large amount of Movies only showing up in Videos?
    No. The reason why you don't get those into movies is that the importer could not get an unique match for them. For now only movies with an unique match are imported as movie. If there is no unique match then it is imported as video only. The "fanart" you may see is the thumbnail, that is generated directly from video for every video imported to the ML.
    You can prevent this by using .nfo or tagged mkv files. If this is not possible due to some reasons try to find a naming that gives unique results on lookup.
    For your 100 movies this will be less than one hour work to remux them to mkv and generate .nfo and metatags for them. Then you always will have a 100% match in MP2 (and in most other programs like MP1, Kodi, Plex,...)
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    67
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    You can prevent this by using .nfo or tagged mkv files. If this is not possible due to some reasons try to find a naming that gives unique results on lookup.
    For your 100 movies this will be less than one hour work to remux them to mkv and generate .nfo and metatags for them. Then you always will have a 100% match in MP2 (and in most other programs like MP1, Kodi, Plex,...)
    While this might help me for the moment, I do not see it helping MP2 development or anyone wishing to use MP2.
    If it is going to require (and I hope it is not the case) that everything be converted to a Media Type and or Include an NFO type file then 2 things will happen.
    1-New and possibly MP1 users will move away from using MP2
    2-I will move back to MP1.
    (by the way as an fyi: I have never fully converted over to using any version of MP. I mostly use it for my Movie collection)

    Back to testing.....

    I loaded up Moving Pictures in MP1 and loaded the same 101 movies.
    The importer of Moving Pictures imported 100% of my movies.... Cool..
    I then Exported the NFO (Grrrrr ) of the movie 1941. (added as a zip to this)
    Exited MP1 - Stopped the TV Process
    Fired up MP2-Server and MP2-Client
    Told the Importer to Rescan my Movies.

    Not only did the Moving Pictures nfo not help, The Client registered more errors

    [2015-04-04 08:12:07,181] [66724 ] [93 ] [WARN ] - AsyncWebLoadOperation: Failed to download http://127.0.0.1:55212/FanartService?mediatype=Movie&fanarttype=FanArt&name=66f873d5-d6f0-4a84-a90f-cdc230ed1f6e&width=1920&height=1080&NoCache=635637319271616437 - The remote server returned an error: (404) Not Found.
    [2015-04-04 08:12:07,226] [66769 ] [30 ] [WARN ] - AsyncWebLoadOperation: Failed to download
    http://127.0.0.1:55212/FanartService?mediatype=Movie&fanarttype=Poster&name=66f873d5-d6f0-4a84-a90f-cdc230ed1f6e&width=0&height=0 - The remote server returned an error: (404) Not Found.
    [2015-04-04 08:12:08,666] [68209 ] [102 ] [WARN ] - AsyncWebLoadOperation: Failed to download
    http://127.0.0.1:55212/FanartService?mediatype=Movie&fanarttype=FanArt&name=66f873d5-d6f0-4a84-a90f-cdc230ed1f6e&width=1920&height=1080&NoCache=635637319286366457 - The remote server returned an error: (404) Not Found.



    [2015-04-04 08:12:11,151] [70694 ] [DX Render] [DEBUG] - ScreenManager: Closing screen 'VideoShowItems'
    [2015-04-04 08:12:11,151] [70694 ] [AMQ 'ScreenManager'] [ERROR] - Unhandled exception in message handler of async message queue 'ScreenManager' when handling a message of type 'ShowScreen'
    System.NullReferenceException: Object reference not set to an instance of an object.
    at MediaPortal.UI.SkinEngine.Controls.Visuals.Label.CalculateInnerDesiredSize(Size2F totalSize)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.Measure(Size2F& totalSize)
    at MediaPortal.UI.SkinEngine.Controls.Panels.Grid.CalculateInnerDesiredSize(Size2F totalSize)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.Measure(Size2F& totalSize)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.ContentPresenter.CalculateInnerDesiredSize(Size2F totalSize)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.Measure(Size2F& totalSize)
    at MediaPortal.UI.SkinEngine.Controls.Panels.Grid.CalculateInnerDesiredSize(Size2F totalSize)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.Measure(Size2F& totalSize)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.Control.CalculateInnerDesiredSize(Size2F totalSize)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.Measure(Size2F& totalSize)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.Control.CalculateInnerDesiredSize(Size2F totalSize)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.Measure(Size2F& totalSize)
    at MediaPortal.UI.SkinEngine.Controls.Panels.WrapPanel.CalculateLine(IList`1 children, Int32 startIndex, Nullable`1 measureSize, Boolean invertLayoutDirection)
     

    Attachments

    • 1941.zip
      1.1 KB

    Users who are viewing this thread

    Top Bottom