LatestMediaHandler v1.6.1.0 (1 Viewer)

Status
Not open for further replies.

nicsergio

MP Donator
  • Premium Supporter
  • April 27, 2010
    165
    159
    Home Country
    Italy Italy
    Hi

    I did some testing with Latest Media Handler and Recorded TV. It works fine with thumbnail in 1.8 and 1.9 but when I upgrade to 1.10 the thumbnails disappear. Just installing 1.9 again with the built-in downgrade the thumbnails are back.

    I really like this feature and would appreciate if it was possible to get it to work with 1.10.

    Thanks for a great plug-in. :)


    I confirm: it is what I tried to say --> https://forum.team-mediaportal.com/threads/latestmediahandler-v1-6-1-0.97936/page-43#post-1117373
     

    popy

    MP Donator
  • Premium Supporter
  • July 3, 2011
    617
    141
    Hi

    I did some testing with Latest Media Handler and Recorded TV. It works fine with thumbnail in 1.8 and 1.9 but when I upgrade to 1.10 the thumbnails disappear. Just installing 1.9 again with the built-in downgrade the thumbnails are back.

    I really like this feature and would appreciate if it was possible to get it to work with 1.10.

    Thanks for a great plug-in. :)
    Would be really nice this gets fixed, also have this Problem with StreamedMP which is using LatestMediaHandler.

    pOpY
     

    popy

    MP Donator
  • Premium Supporter
  • July 3, 2011
    617
    141
    Attached a version of the TvPlugin.dll which doesnt deletes the thumbs in the recorded folder on MP start.
    Its built from the 1.10 stable branch. A first test was positive.
    After coping the thumbs from the tv server to the client Mediaportal\thumbs\tv\recorded the last recording thumbs was shown in streamedMP ;)
    This is done on my clients with an sync program (SyncBackSE) on every boot.

    Dont know if it has any side affects and why this was impemented.
    Maybe an other dev can say more about this.

    I will run it now for a few days to see if it has any side effects.
    Would be nice if also other peoples can test it and report back

    pOpY
     

    Attachments

    • TvPlugin_1.10_no thumbs deletion.rar
      161 KB

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,421
    10,444
    Königstein (Taunus)
    Home Country
    Germany Germany
    ok guys, here is a fixed LatestMediaHandler 1.6.3.0 from @BPOH_Voodoo.
    He has found the issue. 1.6.2.0 of LMH has detected v1.10 of MP as < 1.3 and requested the thumbs in a wrong way from the tvserver.

    Would be nice if this fix will be added into the official version of LMH.

    Link to LMH 1.6.3.0: https://forum.team-mediaportal.com/...ten-drei-aufnahmen.129168/page-3#post-1120809

    pOpY
    Don´t understand that :confused:

    A working and compatible newer version is since some weeks available here:
    https://forum.team-mediaportal.com/threads/latestmediahandler-v2-0-0-18.129072/#post-1117465
     

    popy

    MP Donator
  • Premium Supporter
  • July 3, 2011
    617
    141
    ok guys, here is a fixed LatestMediaHandler 1.6.3.0 from @BPOH_Voodoo.
    He has found the issue. 1.6.2.0 of LMH has detected v1.10 of MP as < 1.3 and requested the thumbs in a wrong way from the tvserver.

    Would be nice if this fix will be added into the official version of LMH.

    Link to LMH 1.6.3.0: https://forum.team-mediaportal.com/...ten-drei-aufnahmen.129168/page-3#post-1120809

    pOpY
    Don´t understand that :confused:

    A working and compatible newer version is since some weeks available here:
    https://forum.team-mediaportal.com/threads/latestmediahandler-v2-0-0-18.129072/#post-1117465

    Does it also support MP 1.10 + StreamedMP + Last Recorded thumbs?
    I haven't found the thread before :(

    Why this update isnt in the MP plugin repo: https://www.team-mediaportal.com/extensions/other/latestmediahandler
    So its harder for other people to get the newest fixes.

    thx
    pOpY
     

    popy

    MP Donator
  • Premium Supporter
  • July 3, 2011
    617
    141
    Does it also support MP 1.10 + StreamedMP + Last Recorded thumbs?
    It does support 1.10, and what about StreamedMP you have to ask in their forum - that´s not a problem of the plugin ;)

    The version you posted doesnt work with latest three recordings in StremedMP.
    I have tested it yesterday.

    The 1.6.3.0 version from @BPOH_Voodoo (as stated above) works like a champ for me ;)

    test procedure:

    • Delete all files/jpegs in "ProgramData\Team Mediaportal\Mediaportal\thumbs\tv\Recorded" on the client
    • start MP 1.10 + StreamedMP (which uses latestMediaHandler for the thumbs of the latest three recordings)
    • On the TV Menu point there should be thumbs of latest three recordings
    Maybe the issue fixed by @BPOH_Voodoo (version checking for support of older MP versions) is present in the LatestMediaHandler-2.1.0.22.MPE1 ??

    pOpY
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,421
    10,444
    Königstein (Taunus)
    Home Country
    Germany Germany
    The version you posted doesnt work with latest three recordings in StremedMP.
    I have tested it yesterday.
    Works perfect here - otherwise wouldn´t have posted ;)
    Again: this seems to be a SMP issue - please report there to keep this thread clean ;)
     

    BPOH_Voodoo

    Portal Pro
    May 27, 2013
    117
    53
    Home Country
    Germany Germany
    Hmm, the new Version isn't working
    for me neither in Titan, nor in StreamedMP.
    This is only working if you are cheating with thumbs\tv\recordings\Folder, by not deleting them through TV_plugin, using a patched Version.
    Correct me, if I'm wrong, but the deleteting of TV\recording\thumbs is not a new behaviour of tv_plugin.
    This is exactly the bug pOpY tried to explain to you.
    Latest Mediahandler is not using
    thumbNail = TVRecordingsThumbnailHandler.GetThumb(_filename)
    because of thinking it is Version below 1.4.
    It seems that
    LatestMediaHandlerSetup.MpVersion.CompareTo("1.3.000") is < 0 for MpVersion =1.10.000
    This is The code snippet taken from LMH 1.6.2. As I have no access to the 2.0 source, I am not able to check that for this Version.
    Code:
    if (LatestMediaHandlerSetup.MpVersion.CompareTo("1.3.000") > 0)
    {
    //MP 1.4
    [INDENT]thumbNail = TVRecordingsThumbnailHandler.GetThumb(_filename);[/INDENT]
    }
    else
    {
    [INDENT]//MP 1.3 or older
    thumbNail = string.Format(CultureInfo.CurrentCulture, "{0}\\{1}{2}", Thumbs.TVRecorded,
    Path.ChangeExtension(MediaPortal.Util.Utils.SplitFilename(_filename),null),
    MediaPortal.Util.Utils.GetThumbExtension());
    if (File.Exists(thumbNail))
    {
    [INDENT]string tmpThumbNail = MediaPortal.Util.Utils.ConvertToLargeCoverArt(thumbNail);
    if (File.Exists(tmpThumbNail))
    {
    [INDENT]thumbNail = tmpThumbNail;[/INDENT]
    }[/INDENT]
    }
    if (!File.Exists(thumbNail))
    {
    [INDENT]thumbNail = string.Format(CultureInfo.CurrentCulture, "{0}{1}",
    Path.ChangeExtension(_filename, null),
    MediaPortal.Util.Utils.GetThumbExtension());[/INDENT]
    }
    if (!File.Exists(thumbNail))
    {
    [INDENT]thumbNail = "defaultTVBig.png";[/INDENT]
    }[/INDENT]
    }
     
    Last edited:
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom