[play DVD] show a dialog with the list of available discs to play

Discussion in 'Improvement Suggestions' started by chefkoch, January 4, 2007.

  1. chefkoch
    • Premium Supporter

    chefkoch Retired Team Member

    Joined:
    October 5, 2004
    Messages:
    3,130
    Likes Received:
    1,456
    Gender:
    Male
    Location:
    Dresden / Munich / Maastricht
    Ratings:
    +1,773 / 1
    Home Country:
    Germany Germany
    Started on: 2007-01-04
    last update: 2007-01-09

    Developers: DalaNorth, rtv
    in svn since: Revision: 12575 Date: 20:44:05, 08.01.2007 Message: fixed selection of DVD drive



    Summary: Show a dialog with inserted VideoDVDs when clicking play DVD.

    Description:
    If you now click
    play DVD in movie-screen or
    [​IMG]

    play DVD in Home (or myPlugins)
    [​IMG]
    MP will start the first DVD, which is found.

    Let's say you have more than one drives in your pc or some virtual dvd-drives. In two or more of them is an VideoDVD inserted.
    MP should now show a dialog with a list where you can choose all available VideoDVDs for playing.
    [​IMG]
    [​IMG]

    MP will start the first DVD, which is found.
    Things to discuss are what about AudioCDs, there could be the same list used like the one for the album-view, or what is with discs containing some movie files.
    Please feel free to comment and add additional ideas.

    kind regards
    chefkoch
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mikael
    • Premium Supporter

    mikael Retired Team Member

    Joined:
    April 30, 2005
    Messages:
    558
    Likes Received:
    94
    Location:
    Stockholm, Sweden
    Ratings:
    +94 / 0
  4. DalaNorth
    • Premium Supporter

    DalaNorth Retired Team Member

    Joined:
    December 18, 2006
    Messages:
    142
    Likes Received:
    1
    Occupation:
    Systems Developer at Ericsson
    Location:
    Skellefteå, Sweden
    Ratings:
    +1 / 0
    Home Country:
    Sweden Sweden
    I want that too!

    Yes, very good idea. I looked into it a bit, and displaying the selection dialog from the "My Movies" section is really a piece of cake. Doing it from the Home or My Plugins is more difficult and requires a special case handling of this particular menu item, which is not recommended... Default menu action is to immediately show the window associated with the selected menu item. A not so nice (graphically, but very simple and nicer programatically) solution is that the selection dialog is full screen for this particular scenario or that the dialog is displayed on a black background. Take a look at the screenshots to see the difference. (Sorry it's in swedish, but I hope you get the idea).

    Dialog from My Movies:
    [​IMG]

    Dialog from Home or Plugins with black background:
    [​IMG]

    Fullscreen dialog from Home or Plugins:
    [​IMG]

    What do you think? Are either of the latter two solutions acceptable or should the developers perform the infamous "ugly hack" to handle the special "Play DVD" case?
     
  5. DalaNorth
    • Premium Supporter

    DalaNorth Retired Team Member

    Joined:
    December 18, 2006
    Messages:
    142
    Likes Received:
    1
    Occupation:
    Systems Developer at Ericsson
    Location:
    Skellefteå, Sweden
    Ratings:
    +1 / 0
    Home Country:
    Sweden Sweden
    Hi again!

    I have just submitted patch 1628548 on SourceForge. This patch uses the solution with the black background. Note that if a DVD has been added to the database while inserted in e.g. drive E:, it will not be recognized when placed in e.g. drive F:. This only means that the thumbnail and movie title won't be displayed in the selection dialog, but rather the standard DVD icon followed by the drive letter and the label of the inserted disc. This is a "bug" in MediaPortal and you can see it already today in My Movies if you browse the files.

    (Try adding a DVD to the database while in one drive, then place the DVD in another drive, start MediaPortal, go to My Movies, Change view to Files, Move up in the directory structure until you see all your shares. It won't recognize the recently added movie until you place it in the "right" drive)

    I don't know if this patch will be accepted and implemented due to its' shortcomings, but I'm definitely going to use it at home and if you too are interested you can find the patch here

    Regards
    DalaNorth
     
  6. chefkoch
    • Premium Supporter

    chefkoch Retired Team Member

    Joined:
    October 5, 2004
    Messages:
    3,130
    Likes Received:
    1,456
    Gender:
    Male
    Location:
    Dresden / Munich / Maastricht
    Ratings:
    +1,773 / 1
    Home Country:
    Germany Germany
    hi dalanorth

    thx, for your work i'll test the patch for myself.
    And will give some feedback, later.

    To your ideas, yes i also would prefer the dialog with black background. It should be possible to fix this.

    :D again

    regards
    chefkoch
     
  7. rtv
    • Premium Supporter

    rtv Retired Team Member

    Joined:
    April 7, 2005
    Messages:
    3,622
    Likes Received:
    301
    Occupation:
    CTO at ES2000
    Location:
    Osnabruck
    Ratings:
    +301 / 0
    Home Country:
    Germany Germany
    Show System Specs
    DalaNorth: I really like that feature, too! Would you mind investigating a property like "RemovableFileSource" which would e.g. allow the thumb lookup to be independent on the drive letter as long as it is an removable device?
     
  8. DalaNorth
    • Premium Supporter

    DalaNorth Retired Team Member

    Joined:
    December 18, 2006
    Messages:
    142
    Likes Received:
    1
    Occupation:
    Systems Developer at Ericsson
    Location:
    Skellefteå, Sweden
    Ratings:
    +1 / 0
    Home Country:
    Sweden Sweden
    I wouldn't mind at all, but I don't know if it is necessary at this point. I have just added another patch (1628644)which will fix the bug i mentioned simply by ignoring drive letter in path if the drive is a CD/DVD drive.

    For other removable media (flash drives, USB HDs) I think it would be more comlicated, since I suppose we don't get a cdlabel in the path table of the database in those cases? I guess we could ignore the drive letter in those cases also, but if we did have two flash drives with two different movies both in \VIDEO_TS\VIDEO_TS.IFO, we wouldn't be able to tell them apart (unless we do get some serial from the drives). I'll dig a little deeper, but I think it'll be difficult.
     
  9. Wadu
    • Premium Supporter

    Wadu MP Donator

    Joined:
    February 5, 2007
    Messages:
    81
    Likes Received:
    3
    Gender:
    Male
    Location:
    Salzburg
    Ratings:
    +3 / 0
    Home Country:
    Austria Austria
  10. Bavarian
    • Premium Supporter

    Bavarian Retired Team Member

    Joined:
    April 4, 2005
    Messages:
    698
    Likes Received:
    167
    Location:
    Germany, Bayern
    Ratings:
    +167 / 0
    Home Country:
    Germany Germany
    Show System Specs
    bug is fixed! :)

    Bavarian
     
  11. Wadu
    • Premium Supporter

    Wadu MP Donator

    Joined:
    February 5, 2007
    Messages:
    81
    Likes Received:
    3
    Gender:
    Male
    Location:
    Salzburg
    Ratings:
    +3 / 0
    Home Country:
    Austria Austria
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!