MP1-4408-FEAT_WOL_Rework_to_make_it_work_with_mapped_drive_letter

Discussion in 'Area 51 - Testing Area' started by Sebastiii, July 24, 2015.

  1. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,275
    Likes Received:
    6,223
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,235 / 9
    Home Country:
    France France
    Show System Specs
    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.
     
    • Thank You! Thank You! x 3
    • Like Like x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,275
    Likes Received:
    6,223
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,235 / 9
    Home Country:
    France France
    Show System Specs
    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
     
  4. Helios61
    • Premium Supporter

    Helios61 Retired Team Member

    Joined:
    January 30, 2008
    Messages:
    4,587
    Likes Received:
    584
    Gender:
    Male
    Location:
    NRW
    Ratings:
    +897 / 4
    Home Country:
    Germany Germany
    Show System Specs
    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
     
    • Like Like x 1
  5. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
    • Thank You! Thank You! x 1
  6. vuego
    • Team MediaPortal

    vuego Documentation Group

    Joined:
    August 5, 2006
    Messages:
    1,572
    Likes Received:
    662
    Occupation:
    Alchemist, Astrobiologist, Exotic dancer
    Location:
    Göteborg
    Ratings:
    +870 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    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? :)
     
    • Like Like x 1
  7. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,275
    Likes Received:
    6,223
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,235 / 9
    Home Country:
    France France
    Show System Specs
    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
     
    • Thank You! Thank You! x 1
  8. vuego
    • Team MediaPortal

    vuego Documentation Group

    Joined:
    August 5, 2006
    Messages:
    1,572
    Likes Received:
    662
    Occupation:
    Alchemist, Astrobiologist, Exotic dancer
    Location:
    Göteborg
    Ratings:
    +870 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    Hey Sebastiii
    I tried to clean up this wiki page and changed some wordings. Can you check it to make sure it's still accurate? I'm not sure I fully understand this function hehe
     
    • Thank You! Thank You! x 1
  9. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,275
    Likes Received:
    6,223
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,235 / 9
    Home Country:
    France France
    Show System Specs
    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).
     
    • Thank You! Thank You! x 1
  10. vuego
    • Team MediaPortal

    vuego Documentation Group

    Joined:
    August 5, 2006
    Messages:
    1,572
    Likes Received:
    662
    Occupation:
    Alchemist, Astrobiologist, Exotic dancer
    Location:
    Göteborg
    Ratings:
    +870 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    Thanks, I think it looks good now. I'm closing the issue :)
     
    • Thank You! Thank You! x 1
  11. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,275
    Likes Received:
    6,223
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,235 / 9
    Home Country:
    France France
    Show System Specs
    @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 :)
     
    • Like Like x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!