Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Centrafuse > CF SDK


Reply
 
Share Thread Tools Display Modes
Old 02-17-2007, 11:03 AM   #1
Newbie
 
msjonker's Avatar
 
Join Date: May 2006
Location: Indiana
Posts: 15
msjonker is on a distinguished road
Accessing the Media Library and Creating Playlists

Hi,

I've been looking through the SDK to find if it is possible to get access to the media library and if it is possible to create playlists. I have also looked at existing plugins to see if this has been done before and I haven't found that either. Is it possible to create playlists or change what is playing in the media player? I have found the functionality to control the next and previous tracks, but I need to be able to give it a specific file or playlist to play.

Any help would be greatly appreciated.

Thanks!

Last edited by msjonker; 02-17-2007 at 03:17 PM.
msjonker is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 02-17-2007, 10:38 PM   #2
VENDOR - Centrafuse
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 5,041
veetid is on a distinguished road
The playlist format should be pretty easy to understand, you should be able to write your own playlist files and just write them to the playlist directory and they will show up...

All the information for the library can be retrieved getting data from the Access database main.dat, examples of querying an Access database are easy to find...

david
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
veetid is offline   Reply With Quote
Old 02-18-2007, 05:09 PM   #3
Newbie
 
msjonker's Avatar
 
Join Date: May 2006
Location: Indiana
Posts: 15
msjonker is on a distinguished road
Thanks for your help!

Is it then possible to pass a newly generated playlist or single song to the media player to play immediately?
msjonker is offline   Reply With Quote
Old 02-18-2007, 05:59 PM   #4
VENDOR - Centrafuse
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 5,041
veetid is on a distinguished road
Quote: Originally Posted by msjonker View Post
Thanks for your help!

Is it then possible to pass a newly generated playlist or single song to the media player to play immediately?

once your file was in the playlist directory you would simply go to the library, click playlists, pull up your list, highlight it and hit the big play button on the left...

it would then be in your HD playlist stack and play right away...

The only quick load playlist is you can load your favorites playlist by holding down the star icon for 2 seconds on the main media player screen...

david
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
veetid is offline   Reply With Quote
Old 02-18-2007, 07:15 PM   #5
Newbie
 
msjonker's Avatar
 
Join Date: May 2006
Location: Indiana
Posts: 15
msjonker is on a distinguished road
So a plugin that utilized speech recognition to find the song you verbally selected and start playing immediately essentially would not be possible with Centrafuse?
msjonker is offline   Reply With Quote
Old 02-18-2007, 07:39 PM   #6
VENDOR - Centrafuse
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 5,041
veetid is on a distinguished road
Quote: Originally Posted by msjonker View Post
So a plugin that utilized speech recognition to find the song you verbally selected and start playing immediately essentially would not be possible with Centrafuse?

if you konw how to open an access database you can open main.dat file in your plugin and get access to the full library...

you can even check to make sure it's not in use, it generally won't be unless your browsing "My Library"...

you could do whatever you wanted with it...

david
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
veetid is offline   Reply With Quote
Old 02-18-2007, 08:57 PM   #7
Newbie
 
msjonker's Avatar
 
Join Date: May 2006
Location: Indiana
Posts: 15
msjonker is on a distinguished road
But actually passing the file to be played to the Centrafuse media player is not possible, correct?
msjonker is offline   Reply With Quote
Old 02-19-2007, 12:41 AM   #8
VENDOR - Centrafuse
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 5,041
veetid is on a distinguished road
Quote: Originally Posted by msjonker View Post
But actually passing the file to be played to the Centrafuse media player is not possible, correct?

I don't have those functions in the SDK currently now that I went back and looked...

there is no load playlist function in the SDK basically....

not a bad idea, a method that takes an array of skinListBoxItems to populate and add an HDD playlist... the list items values of course would be filepaths and the text the display text...

I will look to add something like this to the SDK later....

david
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
veetid is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 02-20-2007, 12:58 AM   #9
Newbie
 
msjonker's Avatar
 
Join Date: May 2006
Location: Indiana
Posts: 15
msjonker is on a distinguished road
Excellent. Thanks for looking into this. I really appreciate it!
msjonker is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Software Review: Windows XP Media Center 2005 Edition! nFiniteTuning The Review Palace 180 05-01-2007 12:54 PM
skinning winamp media library sideone Road Runner 15 11-25-2006 04:11 PM
Windows Vista W/nView! 97GST Operating System Optimization 8 04-01-2006 09:46 PM
Switch between music and media library w/ keyboard? adamis Media Engine 7 10-12-2005 10:29 AM
Beyond Media out tomorrow!!! Defiler Software & Software Development 27 12-04-2004 02:27 AM



All times are GMT -5. The time now is 12:04 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics