home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Watch / Listen Media
Listen Music
AudioCD
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Koudijs" data-source="post: 136385" data-attributes="member: 28616"><p>A while back I found out that the 'Play CD' button within 'My Music' was not working on my PCs. The log file reported a BASS_ERROR_NOCD error for each track on the CD although there was a CD in the drive. By switching back to the internal music player I could play the CD.</p><p></p><p>Later on I found out that I could play a CD with BASS by enabling autoplay and inserting the CD, on which playback started. Using the debugger I discovered that during autoplay there is no CD information grabbed from freedb, in all other situations there is. So I checked the freedb routines.</p><p></p><p>The problem is caused by the GetCDDBDiscIDInfo and GetCDDBDiscID methods. In these methods the connection with the CD drive is not explicitly closed, therefore BASS can not access the CD. I added a 'cddrive.Close()' call in both methods and now BASS can access the CD and playback starts correctly.</p><p></p><p>I do not know why there is no CD information grabbed from freedb during autoplay. So I modified the code and this seems to work without problems. Does anybody know if there is a specific reason for not using freedb during autoplay?</p><p></p><p>With these small changes CD playback works really well but still I have an improvement suggestion: By pressing the 'Play CD' button I prefer to jump to the playlist screen. In this case you can directly see the tracks and it is no longer necessary to manually navigate to the current playlist. I implemented it by adding an 'ActivateWindow' call within the method that handles the 'Play CD' button. Is this something others like as well?</p><p></p><p>I think that at least the BASS_ERROR_NOCD problem should be committed to SVN. The other two I would prefer as well but maybe others think differently about this. Let me know...</p><p></p><p>Helmut, shall I e-mail my changes to you again so you can check and commit them if agreed?</p><p></p><p>Regards,</p><p>Jan</p></blockquote><p></p>
[QUOTE="Koudijs, post: 136385, member: 28616"] A while back I found out that the 'Play CD' button within 'My Music' was not working on my PCs. The log file reported a BASS_ERROR_NOCD error for each track on the CD although there was a CD in the drive. By switching back to the internal music player I could play the CD. Later on I found out that I could play a CD with BASS by enabling autoplay and inserting the CD, on which playback started. Using the debugger I discovered that during autoplay there is no CD information grabbed from freedb, in all other situations there is. So I checked the freedb routines. The problem is caused by the GetCDDBDiscIDInfo and GetCDDBDiscID methods. In these methods the connection with the CD drive is not explicitly closed, therefore BASS can not access the CD. I added a 'cddrive.Close()' call in both methods and now BASS can access the CD and playback starts correctly. I do not know why there is no CD information grabbed from freedb during autoplay. So I modified the code and this seems to work without problems. Does anybody know if there is a specific reason for not using freedb during autoplay? With these small changes CD playback works really well but still I have an improvement suggestion: By pressing the 'Play CD' button I prefer to jump to the playlist screen. In this case you can directly see the tracks and it is no longer necessary to manually navigate to the current playlist. I implemented it by adding an 'ActivateWindow' call within the method that handles the 'Play CD' button. Is this something others like as well? I think that at least the BASS_ERROR_NOCD problem should be committed to SVN. The other two I would prefer as well but maybe others think differently about this. Let me know... Helmut, shall I e-mail my changes to you again so you can check and commit them if agreed? Regards, Jan [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Listen Music
AudioCD
Contact us
RSS
Top
Bottom