dharma won't play blu-ray from disk
#1
Hi,

I have ripped all of my blu-rays to disk but never actually played a blu-ray directly in xbmc dharma beta 4 before. Is this supported yet?

Today actually had a blu-ray in the drive and noticed the "Play disc" option in the skin so hit return on it to investigate. Nothing happens... Should it play or throw some kind of error message instead of doing nothing? I actually expected it to play in my external player.

See below my playercorefactory.xml file which has worked for all other types of content in the past aswell as debug output from when I hit return on "play disc". Can someone help.

Code:
<playercorefactory>
  <players>
    <player name="mpc-hc" type="ExternalPlayer" audio="false" video="true">
      <filename>C:\Windows\System32\cmd.exe</filename>
      <args>/C G:\MovieStarter\starter.bat</args>
      <hidexbmc>false</hidexbmc>
      <hideconsole>true</hideconsole>
      <hidecursor>false</hidecursor>
      <warpcursor>none</warpcursor>
      <playcountminimumtime>600</playcountminimumtime>
    </player>
  </players>
  <rules action="prepend">
   <rule video="true" player="mpc-hc">
   </rule>
  </rules>
</playercorefactory>

Code:
19:25:15 T:1432 M:4002238464   DEBUG: CApplication::OnKey: 61453 pressed, action is Select
19:25:15 T:1432 M:4002238464   DEBUG: CApplication::ExecuteXBMCAction : Translating PlayDVD
19:25:15 T:1432 M:4002238464   DEBUG: CApplication::ExecuteXBMCAction : To PlayDVD
19:25:15 T:1432 M:4002238464   DEBUG: CPlayerCoreFactory::GetPlayers(bd://1)
19:25:15 T:1432 M:4002238464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: un-named
19:25:15 T:1432 M:4002238464   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: un-named
19:25:15 T:1432 M:4002238464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: un-named
19:25:15 T:1432 M:4002238464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
19:25:15 T:1432 M:4002238464   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
19:25:15 T:1432 M:4002238464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
19:25:15 T:1432 M:4002238464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
19:25:15 T:1432 M:4002238464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
19:25:15 T:1432 M:4002238464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
19:25:15 T:1432 M:4002238464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
19:25:15 T:1432 M:4002238464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
19:25:15 T:1432 M:4002238464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
19:25:15 T:1432 M:4002238464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
19:25:15 T:1432 M:4002238464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
19:25:15 T:1432 M:4002238464   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
19:25:15 T:1432 M:4002238464   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
19:25:15 T:1432 M:4002226176   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
19:25:15 T:1432 M:4002226176   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
19:25:15 T:1432 M:4002226176   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: mpc-hc (4)
19:25:15 T:1432 M:4002226176   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
19:25:15 T:1432 M:4002226176   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
19:25:15 T:1432 M:4002226176   DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
19:25:15 T:1432 M:4002148352  NOTICE: DVDPlayer: Opening: bd://1
19:25:15 T:1432 M:4002144256 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:25:15 T:4332 M:4002123776   DEBUG: thread start, auto delete: 0
19:25:15 T:4332 M:4002119680  NOTICE: Creating InputStream
19:25:15 T:4332 M:4002111488 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(bd) in bd://1/
19:25:15 T:4332 M:4002111488   ERROR: CDVDPlayer::OpenInputStream - error opening [bd://1]
19:25:15 T:4332 M:4002111488  NOTICE: CDVDPlayer::OnExit()
19:25:15 T:4332 M:4002111488  NOTICE: CDVDPlayer::OnExit() deleting input stream
19:25:15 T:4332 M:4002111488   DEBUG: Thread 4332 terminating
19:25:15 T:1432 M:4002111488   DEBUG: CAnnouncementManager - Announcement: PlaybackStopped from xbmc
19:25:15 T:1432 M:4002078720  NOTICE: CDVDPlayer::CloseFile()
19:25:15 T:1432 M:4002078720 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:25:15 T:1432 M:4002078720  NOTICE: DVDPlayer: waiting for threads to exit
19:25:15 T:1432 M:4002078720  NOTICE: DVDPlayer: finished waiting
Reply
#2
I don't believe that this is supported yet. Especially not for Linux (not sure what your os is), because there are no open source solutions for getting past the DRM.

That being said, I do think I remember hearing something about natively playing bluray as long as it is unencrypted. I don't think I've ever seen a bluray without encryption. Maybe a HD-DVD?
How to use Git
| AMD Athlon II X3 Triple Core Processor 2.9 GHz |GIGABYTE GA-MA785GM-US2H Mobo 2GB DDR2 Ram | MSI N430GT |
| Logitec Harmony Smart Control Remote| 52" Sharp Aquos LED TV | Denon AVR-X1000 |
| Freenas Server with 18TB ASRock Intel Avoton C2750 |
Reply
#3
htpc guy Wrote:I don't believe that this is supported yet. Especially not for Linux (not sure what your os is), because there are no open source solutions for getting past the DRM.

That being said, I do think I remember hearing something about natively playing bluray as long as it is unencrypted. I don't think I've ever seen a bluray without encryption. Maybe a HD-DVD?

Thanks, I use anydvd so i thought it would be able to play it. Seeing no error message that it isn't supported doesn't look good..
Reply
#4
Anyone agree / disagree that some sort of error / info message should appear when hitting play disc on blu-rays? If so I'll create a trac ticket to request some message be added to say blu-rays can't be played.
Reply
#5
your player is registered fine. but it's not set as the default... you can choose it from the play using in context menu.
Reply
#6
I don't use external player so not very familiar with it, but looking at your logs its trying to use xbmc's internal player to play the bd so obviously fails.

Suspect there is something wrong with your playercore.xml, you need to tell it to use external player for discs - however as i don't use it not sure how. Best be is to check out the wiki.
Reply
#7
Thanks guys! I'll get that updated and report back, so spiff do you think xbmc in this case should throw up some message at least... I don't know something like blu-ray isn't supported, please setup an external player.... would have saved me bothering you guys Smile
Reply
#8
see the sticky in the windows forums. you need to assign it the player to the bd:// protocol.
Reply

Logout Mark Read Team Forum Stats Members Help
dharma won't play blu-ray from disk0