Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Creating an ipod-tracksession : (3 Items)
   
Creating an ipod-tracksession  
Hi all,

How do i create an iPod tracksession right?

what i do is the following:

first i create a filebased tracksession with the msid of the ipod
- mme_newtrksession(mme_hdl, MME_PLAYMODE_FILE, sqlStmt)
 with sqlStmt = "SELECT fid from library WHERE ftype=5 AND msid=(msid_of_ipod)"

then I set the created tracksession with its returned id in mme_settrksession

afterwards I call mme_set_trksession_files() with following path:

/Music/Artists/item~0/item~0/item~0 ( first item~0=AlbumA, sec. is ArtistA and third is the Song itself)

Here my first question: Is the path given to the mme in the described form right?
(The function returns no error)

When calling mme_play(0) or mme_play_offset(0), no playback is started.

The sloginfo reports the error: "Could not create graph..." see attached sloginfo.txt (the log-level was set to "mmecli 
set_debug 8 0"


Thanks for any help.
Attachment: Text sloginfo.txt 6.15 KB
Re: Creating an ipod-tracksession  
Is io-media running with a mountpoint of /dev/io-media/?

If you run "ls /dev/io-media/" and then "ls /dev/io-media/graphs/" do 
you see the paths?  The output from "pidin ar" and your io-media config 
file (if any) might also reveal whether or not this is setup.

-- 
Ryan J. Allen
QNX Software Systems
Re: Creating an ipod-tracksession  
thanks for the advice with 'io-media'.
Taking another version of the driver solved the issue.