MP1-4408-FEAT_WOL_Rework_to_make_it_work_with_mapped_drive_letter (1 Viewer)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    • Thread starter
    • Moderator
    • #1
    Description of Change

    This branch try to fix the long start and navigation in Video / Music / Picture when share is offline.
    It works like this, when you can't reach share based on UNC or Drive letter (like U:\Movies <-> \\SERVER\Movies), MP will try to first reach offline share and set it to not try to load it again while navigate in GUI (the offline hidden share only happen when WOL feature setting is not enable in MP Configuration).

    User can always Reset or Refresh current hidden share if they know the share can be online.

    Why i did the rework ?

    It because, when going to vacation my laptop has all share set for home but this is not reachable when i'm outside home lol.

    So MP is not usable until i remove all network share from my setting (Video / Picture / Music).

    So this should be fixed now :)

    This is a REWORK installer to get attention about testing for user that run into this issue, with enough good result and without regression, it surely can go in next MP release.:)

    Jira Link : https://issues.team-mediaportal.com/browse/MP1-4408
    Wiki docs: Needed for context menu..

    Steps to install and test
    Installation
    2015.07.24 :
    Download the -->> installer based on 1.12 Final <<-- and execute it.

    Testing
    Upgrade your current 1.12 installation and try :) :
    Please do not forget to give some feedback (also if there is no bug). Thank you!
    That's all :)

    Sebastiii

    Changelog

    2015.07.24 :
    Version 1.12 Final

    Build Based on MP 1.12 master + MP1-4408 branch.

    Thanks to @popy and @regeszter.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    • Thread starter
    • Moderator
    • #2
    The first start of MP can be a little slower because MP try to load share or the delay can happen after entering the first time into myvideo for ex.

    upload_2015-7-24_15-38-22.png


    upload_2015-7-24_15-39-2.png
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,587
    871
    58
    NRW
    Germany Germany
    Country flag
    Hi Sebastii,
    thanks for this build and your effort with this. I've reported this issue already some month ago, unfortunately without any result. I will test asap.
    Best regards
    Helios
     

    vuego

    Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,584
    744
    Göteborg
    Sweden Sweden
    Country flag
    Hi Seb, I'd like to clarify this option in the Wiki but I'm not sure how it works.
    If you are using Wake-On-Lan AND the network share is offline, then this option shows in the context menu. What if you have not activated WOL and the share is online, does the option still display in the context menu?
    On which context menu does it show? ALL context menus in Videos?
    What happens if you click the option? What does it mean to reset or refresh an offline share? How can it be refreshed if it's offline? :)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    • Thread starter
    • Moderator
    • #6
    Hi :)
    The new option in context menu permit to force a refresh for detected offline share where WOL option is enable. This mean, that if a share is offline and WOL is not set for that share, MP will not try to refresh it with the option.

    So if share is online -> WOL or not, refresh will do nothing :)

    The context menu is for Picture / Video and Music and only visible when MP detect at least one offline share (that has the WOL enable on that share), so if all is online the entry to refresh/reset list of share will not be available.

    The entry should be displayed in share view if i'm not wrong :)

    Not sure if i'm clear lol
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    • Thread starter
    • Moderator
    • #8
    Thanks :) i have change the last line i hope it's correct for you :)
    The context menu option is too retry to see if detected offline share are available and then MP will put it back in the list (in share view).
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    • Thread starter
    • Moderator
    • #10
    @vuego i was debugging en exception in code about WOL etc.
    And i notice that i tell something wrong lol.

    The offline share is set as offline only if WOL feature option in MP Config is not enable/ticket.

    When the option is enable / ticket, MP will always try to reload / refresh those share.

    @regeszter so maybe your rework is ok after all and @Helios61 should have it disable in MP config for best working. I will finish my debug and then we need to change the WIKI :)
     

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

    OP Similar threads Forum Replies Date
    ajs MP2Web - MP1 compatibility MediaPortal 1 20
    T MadVR + LAV Filters, Perfect in MPC-BE, Bad in MP1 MediaPortal 1 Talk 12
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    framug [solved] Some changes/fix in MP1 configuration client and server Submit: code patches (MediaPortal/TV-Server/etc.) 14
    S TV-Server MP1 - Automatic search doesn't work Installation, configuration support 2
    C Streaming/transcoding MP2 vs MP1? General 1
    ajs [fixed] 5015: Improving the MP1 installer, providing nicer GUI :) MediaPortal 1 138
    C Streaming to clients over Wifi. MP1 or MP2? Newcomers Forum 0
    S Shortcuts MP1 My Recorded & TV Guide General 10
    azzuro [WiP] MP1-4999 - Big changes with many related change at once by Sebastiii MediaPortal 1 12
    ajs [Help Us!] MP1 X64 Version MediaPortal 1 20
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    wizard123 [solved] MP1 Build help MediaPortal 1 21
    ajs [News] MediaPortal 1 - 1.24 Released! News and Announcements 3
    CyberSimian [fixed] MP1-4990 : Improve horizontal scrolling in the EPG MediaPortal 1 10
    azzuro [WiP] MP1-5019: Replace MySQL with MariaDB MediaPortal 1 40
    catalpa Umsteiger von MP1: Schwierigkeiten Allgemeines Support- und Diskussionsforum 17
    CyberSimian [solved] MP1-4976 Built-in skin variables for current date MediaPortal 1 8
    rbo [solved] Umsteiger MP1 zu MP2 Allgemeines Support- und Diskussionsforum 67
    azzuro [Info] MP2 TVE inside MP1 repo MediaPortal 2 12
    G MP1 TV Server "failed to upgrade the database" using MS Sql Server Installation, configuration support 3
    lisag Can I get MP1 to open in the Recorded TV screen? MediaPortal 1 Talk 2
    M MP1 stops responding after Starting Plugins General Support 14
    R Problem with MP1 and WifiRemote Skins and Plugins Installer (MPEI) 8
    M.Hulot [solved] Netflix und amazon Prime in MP1 möglich? TV / Streaming 6
    Similar threads

























    Top Bottom