NextPVR Forums

Full Version: CDPlayer v0.6
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
hey all, i updated the cdplayer-plugin. download it from the wiki:
CDPlayer Wikipage.

changes in this release:
- added a few more buttons
- cd-drive can now be closed
- added support for translations (see below)
- a few bugfixes
- skin changes

for the skin-authors: i added/changed following:

old version:
Code:
        <SpecialElement name="Background" loc="0, 0"/>        
        <SpecialElement name="Button1"    loc="20, 40"/>        
        <SpecialElement name="Button2"    loc="20, 80"/>    
        <SpecialElement name="Button3"    loc="20, 120"/>    
        <SpecialElement name="FileList"   loc="200,40" spacing="29"/>

new version:
Code:
        <SpecialElement name="Background" loc="0, 0"/>        
        <SpecialElement name="openDrive"    loc="20, 40"/>        
        <SpecialElement name="closeDrive"    loc="20, 80"/>    
        <SpecialElement name="playCD"    loc="20, 120"/>        
        <SpecialElement name="stopCD"    loc="20, 160"/>    
        <SpecialElement name="exit"    loc="20, 200"/>        
        <SpecialElement name="FileList"   loc="200,40" spacing="29"/>

you see, the buttons have names now and i've added 3.

for the translators: you'll have to include following strings into your translations:

buttons
- "Open Drive"
- "Close Drive"
- "Play CD"
- "Stop CD"
- "Exit"

messages
- "no audio cd"
- "Please insert CD."

be aware, if you update from a previous version, install the update-version! otherwise your cdplayer-database will be cleared.

if you encounter any bugs, problems, just let me know. have fun!
Hm..., "Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt" erscheint beim Versuch diesen CD-Player aus GB-PVR zu starten.

Vorschläge? Habe absichtlich die Vollversion installiert und das alte Zeug von der Platte geputzt Undecided
post your logfiles.... den fehler nochmal auslösen und dann die gbpvr.exe.log zippen und hier anhängen.
dottore Wrote:post your logfiles.... den fehler nochmal auslösen und dann die gbpvr.exe.log zippen und hier anhängen.

19.12.2005 23:15:12.406 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="openDrive"]
19.12.2005 23:15:12.406 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="closeDrive"]
19.12.2005 23:15:12.406 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="playCD"]
19.12.2005 23:15:12.406 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="stopCD"]
19.12.2005 23:15:12.406 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="exit"]
19.12.2005 23:15:12.406 VERBOSE [2] CD: loading cd...
19.12.2005 23:15:12.500 VERBOSE [2] CD: DriveLetter -> 0
19.12.2005 23:15:12.500 VERBOSE [2] CD: open mci device
19.12.2005 23:15:12.515 VERBOSE [2] CD: couldn't open mci device
19.12.2005 23:15:12.515 VERBOSE [2] CD: trackmax: 0
19.12.2005 23:15:12.609 ERROR [2] Error: msg=0x100 (WM_KEYDOWN) hwnd=0x160224 wparam=0xd lparam=0x1 result=0x0 : System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
at CommonGBPVRUtilities.UiUtilities.DrawButton(Graphics g, ScreenBoxParams startLocation, ScreenBoxParams buttonOffset, ScreenButton button, Boolean selected)
at CDPlayer.CDPlayer.render(Boolean& requiresMoreRendering)
at xae10db17d26ba033.x86396f56243de9fb.render(Boolean& xbae0ec4fbb835d1e)
at xae10db17d26ba033.x86396f56243de9fb.render(Boolean& xbae0ec4fbb835d1e)
at xae10db17d26ba033.xbb1566157f5f8b1f.xdae9991ab918b397(Object xdf2e3583f942db7b, KeyEventArgs xc4f45905cb1fc7ba)
at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at xae10db17d26ba033.xbb1566157f5f8b1f.WndProc(Message& x5f8f2c40c000ab2c)


Does this help?
yes. which skin are you using?

it seems, that your skin doesn't include the new elements (unable to find nodes....). just copy them from the blue skin or paste the changes i posted in the first thread.

[german mode on]
du kannst wahlweise auch einfach die skin.xml aus dem skin/blue/CDPlayer - verzeichnis in deinen skin rüberkopieren. bzw. die schon vorhandene datei überschreiben, das funktioniert auch.
[german mode off]
dottore Wrote:yes. which skin are you using?

it seems, that your skin doesn't include the new elements (unable to find nodes....). just copy them from the blue skin or paste the changes i posted in the first thread.

[german mode on]
du kannst wahlweise auch einfach die skin.xml aus dem skin/blue/CDPlayer - verzeichnis in deinen skin rüberkopieren. bzw. die schon vorhandene datei überschreiben, das funktioniert auch.
[german mode off]

I am using for testing purpose the default blueskin from sub and my own creation. Both the same. But i wonder somehow: In your first post is something like this:

CDPlayer Wrote:<SpecialElement name="Background" loc="0, 0"/>
<SpecialElement name="openDrive" loc="20, 40"/>
<SpecialElement name="closeDrive" loc="20, 80"/>
<SpecialElement name="playCD" loc="20, 120"/>
<SpecialElement name="stopCD" loc="20, 160"/>
<SpecialElement name="exit" loc="20, 200"/>
<SpecialElement name="FileList" loc="200,40" spacing="29"/>

But if i download a fresh Archive from the Wiki that you uploade (Update AND Full) i have something like this within the skin.xml:

WonderingCDPlayer Wrote:<!-- text style -->
<TextStyles>
<TextStyle name="ScreenName" color="LightGray" typeFace="Tahoma" size="17" style="bold"/>
<TextStyle name="ButtonText" color="LightGray" typeFace="Tahoma" size="13" style="bold"/>
<TextStyle name="ButtonSelectedText" color="White" typeFace="Tahoma" size="13" style="bold"/>
<TextStyle name="GeneralText" color="LightGray" typeFace="Tahoma" size="13" style="bold"/>
<TextStyle name="smallNum" color="LightGray" typeFace="Tahoma" size="10" style="bold"/>
<TextStyle name="SelectedGeneralText" color="White" typeFace="Tahoma" size="13" style="bold"/>
</TextStyles>

<!-- special elements -->
<SpecialElements>
<!-- Examples -->
<SpecialElement name="Background" loc="0, 0"/>
<SpecialElement name="Button1" loc="20, 40"/>
<SpecialElement name="Button2" loc="20, 80"/>
<SpecialElement name="Button3" loc="20, 120"/>
<SpecialElement name="FileList" loc="200,40" spacing="29"/>
<SpecialElement name="VideoImage" loc="20,160" size="180,400"/>
<SpecialElement name="currentTr" loc="200,350"/>
</SpecialElements>

What's happened?
Hm, i see and understand. Dottore, you made an error @ uploading to the wiki. Your "new" version 0.6 doesn't include the skin.xml information you posted in your first post.

I changed the skin.xml manually like you described over there and now it works.

For now it works and i'll try some german Audio-CD's in Redbook and other Formats for testing.

Thank you Smile
Argh, to soon enjoyed...

GBPVR.EXE.LOG Wrote:19.12.2005 23:51:38.562 ERROR [2] Unable to locate specified key command file: OnScreenKeyboard.xml
19.12.2005 23:51:39.265 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="MenuType"]
19.12.2005 23:51:39.265 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="MenuType"]
19.12.2005 23:51:39.281 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="MenuType"]
19.12.2005 23:51:39.281 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="MenuType"]
19.12.2005 23:51:39.281 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="MenuType"]
19.12.2005 23:51:41.375 ERROR [2] Unable to find node: /settings/CompositeImages/CompositeImage[@name="ForegroundImage"]
19.12.2005 23:51:48.703 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:48.734 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:48.843 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:48.890 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:48.984 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:49.078 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:49.187 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:49.281 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:49.390 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:49.531 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:49.625 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:49.671 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:50.078 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:50.687 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:51.109 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:51.687 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:51.781 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:52.687 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:52.968 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:53.578 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:53.687 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:54.390 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:54.687 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:55.000 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:55.687 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:56.687 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:57.031 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:57.437 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:57.640 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:57.718 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:51:58.031 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:00.546 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:00.640 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:00.718 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:01.718 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:02.000 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:02.718 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:13.453 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:13.546 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:13.640 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:13.734 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:13.828 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:14.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:15.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:16.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:17.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:18.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:19.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:20.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:21.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:22.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:23.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:24.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:25.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:26.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:27.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:28.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:29.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:30.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:31.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:32.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:33.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:34.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:35.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:36.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:37.750 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:38.671 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
19.12.2005 23:52:38.765 ERROR [2] Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
here you are (sorry for the inconvinience....), download the attachment.

i'll change the version on the wiki....(i hate the installer!)
Thank you very much :-D
Pages: 1 2 3