[confirm] Development issues (1 Viewer)

disaster123

MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    Any idea why livetv and the epg works fine - just playing recordings does not? Especially the error Message is MediaPortal.Common.Exceptions.NotConnectedException: The system '01af7439-c452-4e1a-9183-08325a311c0c' is not connected
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    currently this one works fine but i'll do more tests:

    Code:
       public void UpdateAndAdvertise()
        {
          lock (_serverData.SyncObj)
          {
            // To go around finding out which interface was changed, we simply raise an Update notification followed by a new advertisement
            //        UpdateInterfaceConfiguration();
            _serverData.SSDPController.Advertise();
          }
        }
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    @morpheus_xx This patch on top of your stuff works fine. No TV Problems and no recording Problems any more after resume: https://github.com/disaster123/MediaPortal-2/commit/79df3844f90a5f2a550687567dd932e5151728b3

    Sadly this one contains some line break changes. It seems i've some problems with CRLF cause Visual Studio always warns about them - but i've no idea how to solve them. Same applies for other commits from other devs i've seen. I think mediaportal-2 should contain a .gitattributes file to force a specific CRLF type.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Funktioniert leider nicht bei mir. Anbei die Files.
    As I thought: the recordings also use default video screens, I need to change this in slim tv first.
    https://github.com/MediaPortal/Medi...ient/MediaExtensions/RecordingsLibrary.cs#L67
    Can i help with this?
    Would be great! Let's continue to discuss developments here.

    Main entry is:
    https://github.com/MediaPortal/Medi...ient/MediaExtensions/RecordingsLibrary.cs#L67
    Here are the screen layouts for recordings defined. The default is the normal "VideosShowItemsScreenData".
    This one you would need to copy from Media plugin into SlimTV.Client and modify the contained constants for Screen name, language resources etc. The new screen name is the most important, so another .xaml file is used which can then contain the recording specific information.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,736
    3,501
    Stuttgart
    Home Country
    Germany Germany
    @disaster123
    I was not sure how much coding skills you have.
    As I'm not a developer (if you exclude xaml), I always need to annoy our devs for small issues. that can not be solved with xaml ;)
    There are so many front-end related things to do, but I need help. So your support is more than welcome (y)
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    Great will Look at it tonight. @ge2301 are the additional types already included in your xaml file so i can use it to Test?
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,736
    3,501
    Stuttgart
    Home Country
    Germany Germany

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    As I thought: the recordings also use default video screens, I need to change this in slim tv first.
    https://github.com/MediaPortal/Medi...ient/MediaExtensions/RecordingsLibrary.cs#L67
    Can i help with this?
    Would be great! Let's continue to discuss developments here.

    Main entry is:
    https://github.com/MediaPortal/Medi...ient/MediaExtensions/RecordingsLibrary.cs#L67
    Here are the screen layouts for recordings defined. The default is the normal "VideosShowItemsScreenData".
    This one you would need to copy from Media plugin into SlimTV.Client and modify the contained constants for Screen name, language resources etc. The new screen name is the most important, so another .xaml file is used which can then contain the recording specific information.

    @ge2301
    That was easy ;-) It's ready. Sadly i've no idea how to test.I've no idea about skinning and how this helps ;-)

    New compiled Slimtv Client dll attached.

    @morpheus_xx: I've problems with visual studio here. The Editorconfig plugin is installed but git always claims about whitespace errors and changes in vs 2013 mostly replace much more code as i want - see the commit below.

    Commit: https://github.com/disaster123/MediaPortal-2/commit/69efbd60fd644cafb2e12df299b83db7cb340b2e
    Branch: https://github.com/disaster123/Medi...P_Weekly_20160108_rework_recording_screendata
     

    Attachments

    • SlimTv.Client.dll.zip
      43.9 KB

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,736
    3,501
    Stuttgart
    Home Country
    Germany Germany
    Can i help with this?
    Would be great! Let's continue to discuss developments here.

    Main entry is:
    https://github.com/MediaPortal/Medi...ient/MediaExtensions/RecordingsLibrary.cs#L67
    Here are the screen layouts for recordings defined. The default is the normal "VideosShowItemsScreenData".
    This one you would need to copy from Media plugin into SlimTV.Client and modify the contained constants for Screen name, language resources etc. The new screen name is the most important, so another .xaml file is used which can then contain the recording specific information.

    @ge2301
    That was easy ;-) It's ready. Sadly i've no idea how to test.I've no idea about skinning and how this helps ;-)

    New compiled Slimtv Client dll attached.

    @morpheus_xx: I've problems with visual studio here. The Editorconfig plugin is installed but git always claims about whitespace errors and changes in vs 2013 mostly replace much more code as i want - see the commit below.

    Commit: https://github.com/disaster123/MediaPortal-2/commit/69efbd60fd644cafb2e12df299b83db7cb340b2e
    Branch: https://github.com/disaster123/Medi...P_Weekly_20160108_rework_recording_screendata
    That was really fast. I caught a cold and needed to lay down. Perhaps I can test it later, but no promise :)
     

    Users who are viewing this thread

    Top Bottom