NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 29 30 31 32 33 … 93 Next »
need cdplayer testers

 
  • 0 Vote(s) - 0 Average
need cdplayer testers
dottore
Offline

Posting Freak

Posts: 986
Threads: 44
Joined: May 2004
#1
2005-11-14, 02:44 PM
hi all,

i have finally managed it to get a little cdplayer-plugin working. i know, mymusic and other plugins can play cd's, but they have problems with cd's with data-tracks.
this plugin is just a plain cd-player, without any *.cda-file-thing.

it uses windows-functions to play cd's, it won't work on mvp, just on the pc.

the plugin loads cddb-information, if available.

currently it does not much more than play a cd and display track information. i need a few testers, for i can finish the work on the plugin and add more functionality.

you can download it from here: http://www.sitecomposer.de/cdplayer.zip

thanks!
---------------------
www.sitecomposer.de
Heyt
Offline

Member

Posts: 106
Threads: 9
Joined: Jan 2005
#2
2005-11-14, 07:33 PM
Just download your plug-in and i'm quite impressed. It's really working great.
OK i just could test with four mixed-mode CDs - or were they CDenhance, i will never understand the difference - but they are all working very good and without any problems.

But i have also some points you could improve:
1. the cddb query: could you insert an option (maybe in the skinfile or don't know) to disable the query, because if you don't have a permanent internet connect like me at the moment it last one to two minutes for the query to time out and to enter the plugin
2. cd drive: at the moment you only use the first cd drive. could you insert an option to choose the drive? i like to have my virtual drives before the real drive and when it tests the empty virtual drives it all the time crashes gbpvr or a least shows message about a hardware failure. I can send you the log tomorrow.
3. the keymapping: play, skip-fwd and skip-bck work but stop has no function and pause will not pause but stop. So would be nice to have a pause function and the stop on the stop button.
4. and last things last the dimension of your screen is fixed to 720x480 could you change that in a way that the screen dimension is the background dimension from the skin.xml. I realy need it for my widescreen skin.
dottore
Offline

Posting Freak

Posts: 986
Threads: 44
Joined: May 2004
#3
2005-11-15, 08:59 AM
the answers:

1. will be configurable in the gbpvr-configuration. i'll add a settings-screen, where you can switch off the query and change user/passwort/server for cddb-query.

2. normally there shouldn't be any errors about the drive, i catch them...but it would be good to have the logs. i will make the cd-drive selectable in the config-app.

3. right you are. will be fixed.

4. i forgot about this point....i'll use the background-image-dimensions.

thanks for the reply!
---------------------
www.sitecomposer.de
dottore
Offline

Posting Freak

Posts: 986
Threads: 44
Joined: May 2004
#4
2005-11-15, 04:16 PM
ok, this current version has a config-dialog for the drive-letter and the cddb-query and displays at every resolution, depending on the background-image in skin.xml.

what currently doesn't work: pausing with the pause key and stopping with the stop-key and setting user, password and server for the cddb-query.

use the link from the first post to try it out!
---------------------
www.sitecomposer.de
Heyt
Offline

Member

Posts: 106
Threads: 9
Joined: Jan 2005
#5
2005-11-15, 04:18 PM
OK here is the promised log
Code:
15.11.2005 17:11:48.000    ERROR    [2]    Error: msg=0x100 (WM_KEYDOWN) hwnd=0xa020e wparam=0xd lparam=0x1c0001 result=0x0  :  CDPlayer.MCIPlaybackException: Hardwarefehler beim Mediagerät. Stellen Sie sicher, dass es richtig arbeitet, oder fragen Sie den Gerätehersteller.
   at CDPlayer.MCIPlayback.CheckError(Int32 code)
   at CDPlayer.MCIPlayback.Play()
   at CDPlayer.CDPlayer.OnKeyDown(KeyEventArgs e)
   at xae10db17d26ba033.x86396f56243de9fb.OnKeyDown(KeyEventArgs xc4f45905cb1fc7ba)
   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)
15.11.2005 17:11:48.750    VERBOSE    [2]    HideMouse ref=-1

This is whats happening if i have no CD in the drive and press the "play CD" button with the blue skin.

And next is the same thing but not in the blue skin but in my own one with the original skinfile from the blue skin. I don't know maybe i'm missing some image?!

Code:
15.11.2005 17:10:48.015    ERROR    [2]    Error: msg=0x100 (WM_KEYDOWN) hwnd=0x501fa wparam=0xd lparam=0x1c0001 result=0x0  :  CDPlayer.MCIPlaybackException: Hardwarefehler beim Mediagerät. Stellen Sie sicher, dass es richtig arbeitet, oder fragen Sie den Gerätehersteller.
   at CDPlayer.MCIPlayback.CheckError(Int32 code)
   at CDPlayer.MCIPlayback.Play()
   at CDPlayer.CDPlayer.OnKeyDown(KeyEventArgs e)
   at xae10db17d26ba033.x86396f56243de9fb.OnKeyDown(KeyEventArgs xc4f45905cb1fc7ba)
   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)
15.11.2005 17:10:48.093    ERROR    [2]    Unable to find named image: /settings/CompositeImages/CompositeImage[@name="CenteredSelectedButtonImage"]
15.11.2005 17:10:48.968    ERROR    [2]    Unable to find named image: /settings/CompositeImages/CompositeImage[@name="CenteredSelectedButtonImage"]
15.11.2005 17:10:48.968    ERROR    [2]    Encounter unexpected exception in timerRefresh_Tick:Object reference not set to an instance of an object.
15.11.2005 17:10:48.968    ERROR    [2]       at GBPVR.Public.SkinHelper.getNamedImageNonCached(String name, Hashtable parameters)
   at GBPVR.Public.SkinHelper.getNamedImage(String name, Hashtable parameters)
   at xae10db17d26ba033.x86396f56243de9fb.render(Boolean& xbae0ec4fbb835d1e)
   at xae10db17d26ba033.xbb1566157f5f8b1f.xb1cbc922a07ef39b(Object xdf2e3583f942db7b, EventArgs xc4f45905cb1fc7ba)
Heyt
Offline

Member

Posts: 106
Threads: 9
Joined: Jan 2005
#6
2005-11-15, 04:58 PM
Hi Dottore,

i've just tested the new version and have a splited impression about it

First the good news:
- the option screen works
- it will play from the drive i select even if it is not the first (i love it now i don't have to change my whole system to use your plug-in)
- disabling the query works very well. will save me hours Wink
- and skin is also working very well

but now the bad news:
- most of the things will still only work with the first cd drive
- the cddb query can only be performed from the first drive on other drives it is always skiped
- the "open cd" button only opens the first drive and not the one selected in the options (maybe you can also insert a "close cd" button)
- the plugin will always crash when you start playing. and for this to happen it is not important if you start the music by pressing ok, play, or the play button. and it is also not important if you use the first drive or some other. But the cd will begin to play without any problem.
Here's the log, which in all my tests said the same thing:
Code:
15.11.2005 17:33:37.453    ERROR    [2]    Unable to find node: /settings/SpecialElements/SpecialElement[@name="currentTr"]
15.11.2005 17:33:40.609    ERROR    [2]    Unable to find named image: /settings/CompositeImages/CompositeImage[@name="currentTrack"]
15.11.2005 17:33:40.625    ERROR    [2]    Error: msg=0x100 (WM_KEYDOWN) hwnd=0x90296 wparam=0xd lparam=0x1c0001 result=0x0  :  System.NullReferenceException: Object reference not set to an instance of an object.
   at GBPVR.Public.SkinHelper.getNamedImageNonCached(String name, Hashtable parameters)
   at GBPVR.Public.SkinHelper.getNamedImage(String name, Hashtable parameters)
   at GBPVR.Public.SkinHelper.getNamedImage(String name)
   at CDPlayer.CDPlayer.RenderCurrent(Graphics g)
   at CDPlayer.CDPlayer.render(Boolean& requiresMoreRendering)
   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)
The problem where posted the logs before is also still there
dottore
Offline

Posting Freak

Posts: 986
Threads: 44
Joined: May 2004
#7
2005-11-15, 05:12 PM
ok, the cddb-thing is weired....have to look at it. which skin are you using? it seems there are missing some elements....the status information isn't there in your skin. i hope, i had it packed in the release....let me take a look...uuups!

ok, download it again, now the skin-thing should work. the other issues with drive-letters i'll have to check.
---------------------
www.sitecomposer.de
dottore
Offline

Posting Freak

Posts: 986
Threads: 44
Joined: May 2004
#8
2005-11-15, 06:53 PM
update:

cddb-query now works on selected drive (eject also) and the keymapping is correct now.
still missing: server/user/pwd for cddb and something like a timebar with current position, remaining time and total time.

download from first post...
---------------------
www.sitecomposer.de
Heyt
Offline

Member

Posts: 106
Threads: 9
Joined: Jan 2005
#9
2005-11-15, 08:55 PM
hi dottore

first i have to say real great job. The plugin does not crash anymore. Not without a cd and not when starting to play.

i'm afraid i've to say cddb and eject still don't work on a drive that is not logically the first one. In my configuration i have first a virtual drive (f: ) and then the physical one (g: ). And when i tell the plugin to use g: as cd drive and i have the virtual drive activated still the cddb query is skipped and there is no effect on pressing the "open CD" button. But the CD is playing correctly.Maybe i am doing something wrong?

And then i had another idea for improvment: Everytime gbpvr starts the screensaver there is this fallback to mainmenu and then when i reenter your plugin and the cd is already playing there is a new cddb query and cd stops to play. Could you skip the whole startup thing when cd is already playing?

PS.: the skin i'm using. It's a selfmade one i'm still working on. It's a real 16x9 skin using a res of 1024x576. But i think it will last some more time to finish it because a lot of skins still use a fix dimension of 720x480 or have many objects i can not change. But for that reason there is always the posibility that i'm missing some files in my skin dir. That is why i test your plugin also with the blue skin.
dottore
Offline

Posting Freak

Posts: 986
Threads: 44
Joined: May 2004
#10
2005-11-15, 09:04 PM
ok, thanks for the test and your nice words ;-)

the problem is, i have just one drive....maybe i start daemon tools and work a bit on it.

this is the only problem for now....have to fix this.

stay tuned for more updates ;-)
---------------------
www.sitecomposer.de
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (9): 1 2 3 4 5 … 9 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  MVP/NMT testers needed for Weather2 scb147 46 11,725 2010-03-03, 08:12 PM
Last Post: scb147
  Blinky! - Need some testers! rwmech 24 6,923 2007-10-05, 12:59 PM
Last Post: ryanmc
  Photo Copy - New Plugin Testers Wanted! rwmech 1 1,596 2006-10-14, 02:31 PM
Last Post: rwmech
  Screen saver plugin - Beta testers required McBainUK 33 9,507 2006-06-28, 05:36 PM
Last Post: MixMan

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode