[Rejected] - patch for allowing to have a shared DVD drive

Discussion in 'Archive' started by disaster123, June 6, 2009.

  1. disaster123
    • Premium Supporter

    disaster123 MP Donator

    Joined:
    May 14, 2008
    Messages:
    3,546
    Likes Received:
    417
    Ratings:
    +431 / 2
    Home Country:
    Germany Germany
    Hello!

    I've only a DVD drive in my TV Server. I also would like to see unencrypted DVDs on my clients. As MP checks wether a drive is a CD / DVD drive this does not work. My patch removes this check so it is possible to have a network shared CD/DVD drive.

    At the moment i only remove the check completely another idea is to check wether it is a CD / DVD or a network share...

    What do you think about it?



    Patch is based on MP 1.0.2.

    Stefan
     

    Attached Files:

  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. infinite.loop
    • Premium Supporter

    infinite.loop Retired Team Member

    Joined:
    December 26, 2004
    Messages:
    16,163
    Likes Received:
    3,861
    Gender:
    Male
    Location:
    127.0.0.1
    Ratings:
    +4,154 / 7
    Home Country:
    Austria Austria
    Show System Specs
    I am sorry, but this seems like a hack to me in its current shape.
    But i would like to see one of our developers to take a look as well and comment on this. :)
     
  4. disaster123
    • Premium Supporter

    disaster123 MP Donator

    Joined:
    May 14, 2008
    Messages:
    3,546
    Likes Received:
    417
    Ratings:
    +431 / 2
    Home Country:
    Germany Germany
    mhm another idea - how to make it usable? I think there are a lot of people who want to share a DVD drive or something else...
     
  5. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    I cannot quite understand why DVD drive would be wanted to be over a network. Not everyone have wife that is willing to flip the new disk into DVD drive at the server room :)

    If someone needs to share DVD content over the network he/she should use DVD images or copy the DVD content to the hard drive.
     
  6. disaster123
    • Premium Supporter

    disaster123 MP Donator

    Joined:
    May 14, 2008
    Messages:
    3,546
    Likes Received:
    417
    Ratings:
    +431 / 2
    Home Country:
    Germany Germany
    mhm not everyone has the server in the basemen. Ii've a Blueray / DVD drive in the living room - this PC also acts as the server with WOL and Powerscheduler. Also blue ray drives are not that cheap that i want to buy one for every room. Now i share this drive. If i want to watch a DVD in the bedroom i don't want to copy it's content to the HD - which takes some time and not everyone knows how to do that. I can simply watch the DVD over the network.
     
  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
    For such scenarios you shouldn't need to hack all the involved software - just do it right :)

    I'd propose to connect the DVD drive as iSCSI target. In case of old XP machines there's Starwind's free edition which is working nicely.
     
  8. disaster123
    • Premium Supporter

    disaster123 MP Donator

    Joined:
    May 14, 2008
    Messages:
    3,546
    Likes Received:
    417
    Ratings:
    +431 / 2
    Home Country:
    Germany Germany
    rtv
    great idea haven't thought about that. But is it possible to connect multiple clients via iscsi to one target? I don't mean that they use the DVD at the same time - but they're connected at the same time.
     
  9. hkjensen
    • Premium Supporter

    hkjensen MP Donator

    Joined:
    June 11, 2007
    Messages:
    164
    Likes Received:
    47
    Location:
    Copenhagen
    Ratings:
    +63 / 0
    Home Country:
    Denmark Denmark
    From StarWind webpage

    Number of supported concurrent iSCSI connections - unlimited
     
  10. 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
    Just try it :)

    In theory iSCSI should support sharing targets. Most scenarios however work the "other way" - a target providing several LUNs or the target is accessed by Multipath IO.
    There could be problems with the "state" of targets (e.g. if a drive is shared among two initiators and system A "ejects" the volume - what will system B see as the filesystem will be marked unmounted then).

    I currently lack a 3rd machine to try but I guess it will work nicely. At least I could successfully test to use my drive "native" on the host machine and remote via iSCSI.
     
  11. pilehave
    • Premium Supporter

    pilehave Community Skin Designer

    Joined:
    April 2, 2008
    Messages:
    2,566
    Likes Received:
    500
    Gender:
    Male
    Occupation:
    Technical consultant, marketing
    Location:
    Hornslet
    Ratings:
    +517 / 0
    Home Country:
    Denmark Denmark
    Never thought of iSCSI for this purpose, but it looks cool! Is it realistic to play a BluRay movie on a non-wired network? Would pre-N suffice?
     
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!