PVR Protocol in PlayerCoreFactory.xml ?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Swifty Offline
Fan
Posts: 618
Joined: Nov 2008
Reputation: 5
Post: #1
I'm currently trying to setup Blu-Ray and HD-DVD playback in TMT5 via XBMC and I'm seeing a really wierd issue with the PVR channels.. and HD-DVD

I've basically setup 2 player core factory rules one for the BR protocol and one for the .EVO filetype used by the HD-DVD's - BR works great however when I launch a PVR channel it matches the .EVO rule and launches TMT5 !

I've since added a rule for the PVR protocol and also tried various HD-DVD rules such as the EVO filetype rather than part of the filename, but each time it either launches PVR in TMT5 or HD-DVD in XBMC depending on which rule is first in the XML.
All of my other videos launch fine on the internal player Confused

Debug log;

Code:
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerCoreFactory::GetPlayers(D:\HVDVD_TS\WHVLOGO_EN.EVO)
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: un-named
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: un-named
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: Blu-Ray
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: PVR
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: PVR
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: adding player: videodefaultdvdplayer (1) for rule: PVR
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: HD-DVD
18:43:10 T:3452 M:1510776832   ERROR: PCRE: nothing to repeat. Compilation failed at offset 0 in expression '*.EVO'
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: HD-DVD
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: adding player: TMTMCEPlayer (4) for rule: HD-DVD
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
18:43:10 T:3452 M:1510776832   DEBUG: CPlayerCoreFactory::GetPlayers: matched 2 rules with players
18:43:10 T:3452 M:1510756352   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
18:43:10 T:3452 M:1510756352   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
18:43:10 T:3452 M:1510756352   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: TMTMCEPlayer (4)
18:43:10 T:3452 M:1510756352   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
18:43:10 T:3452 M:1510756352   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
18:43:10 T:3452 M:1510756352   DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
18:43:10 T:3452 M:1510723584  NOTICE: DVDPlayer: Opening: D:\HVDVD_TS\WHVLOGO_EN.EVO
18:43:10 T:3452 M:1510723584 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
18:43:10 T:2636 M:1510723584   DEBUG: Thread CDVDPlayer start, auto delete: 0

PlayerCoreFactory.xml;

Code:
<playercorefactory>
  <players>
    <player name="TMTMCEPlayer" type="ExternalPlayer" audio="false" video="true">
      <filename>C:\Program Files\ArcSoft\TotalMedia Theatre 5\Launcher.exe</filename>
      <hidexbmc>true</hidexbmc>
      <hideconsole>true</hideconsole>
      <warpcursor>none</warpcursor>
      <playonestackitem>true</playonestackitem>
    </player>
  </players>
  <rules action="prepend">
    <rule name="Blu-Ray" protocols="bd" player="TMTMCEPlayer"/>
    <rule name="PVR" protocol="pvr" player="videodefaultdvdplayer"/>
    <rule name="HD-DVD" filename="*.EVO" player="TMTMCEPlayer"/>
</rules>
</playercorefactory>
find quote
opdenkamp Offline
Team-XBMC PVR Developer
Posts: 2,224
Joined: Feb 2009
Reputation: 29
Location: Heerlen, The Netherlands
Post: #2
your rule is wrong:
Quote:ERROR: PCRE: nothing to repeat. Compilation failed at offset 0 in expression '*.EVO'

opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
find quote