Hello list,

I've been trying to test out libkarma before I upload the packages to
Debian, and I seem to have come to a stumbling block (or three).

Firstly, when I tried to use it with Amarok (1.4.4) out of the box, it
didn't work very well.  I managed to get it to read the catalog of tunes
on my Karma, but when I tried to play any of them, it didn't work.  When
I tried to add a track from the Karma to the play list what it would do
is:

  1) add a specific track (the first one listed in .openrio/*/fileinfo,
  I later determined) regardless of which one I actually tried to add

  2) report a bogusly long playing time for that track

  3) didn't play anything when I tried to play the list

After trying many times, including downloading the latest code from
subversion, I gave up on that and decided to go to a lower layer.

When I tried to use riocp, I ran into no end of problems until I
eventually discovered that it needed a file called device_settings to
exist on the Karma itself.  Is this documented somewhere that I missed?
It's definitely going into the README.Debian and manpage...

After I sorted that out, helped by the create_device-settings script in
the tools/ directory, I managed to issue a successful query with riocp.
However, subsequent queries did not work -- although adding the -b
option made it work again (much slower though).  Eventually, I unplugged
the Karma and it wasn't happy...

After using a paperclip to reset it, turning it on gave me the
"rebuilding database" message.  This helped me get a handle on the
problem which I narrowed down to riocp somehow corrupting the database
on the Karma.  For example, if I use the -w option the query executes
without a problem and subsequent queries work properly.  However, if I
leave it out it gets messed up and I get the message "error writing
smalldb file".  See the attached log for complete details.

So, where do I go from here?  I feel like I'm so close, yet so far...

--Joe
[EMAIL PROTECTED]:/usr/local/src/Debian/karma/libkarma-0.0.6$ tools/riocp -a 
/media/karma/ -w -s genre=Musical,artist=Chicago -u %s-%t.%c
* Using UTF-8 codeset.
Using UTF-8 codeset.
lk_karma_authenticate: 0
lk_karma_request_io_lock: ok
Downloading Rio database...  please wait... Done!
Searching FIDs with "genre=Musical                 ":  172 selected
   ANDing FIDs with "artist=Chicago                ":   22 selected
  320 Chicago-Class.mp3
  800 Chicago-I Can't Do It Alone (reprise).mp3
 1584 Chicago-Razzle Dazzle.mp3
 1728 Chicago-When You're Good to Mama.mp3
 2096 Chicago-I Can't Do It Alone.mp3
 2736 Chicago-All That Jazz.mp3
 2752 Chicago-Cell Block Tango.mp3
 2976 Chicago-Me and My Baby.mp3
 3280 Chicago-A Little Bit of Good.mp3
 3952 Chicago-When Velma Takes the Stand.mp3
 4976 Chicago-I Know a Girl.mp3
 7472 Chicago-Hot Honey Rag.mp3
 7552 Chicago-Roxie.mp3
 7712 Chicago-My Own Best Friend.mp3
 8016 Chicago-We Both Reached for the Gun.mp3
 8448 Chicago-Mister Cellophane.mp3
 8656 Chicago-Nowadays.mp3
 9264 Chicago-Chicago the Musical / Overture.mp3
10016 Chicago-Finale.mp3
10112 Chicago-All I Care About.mp3
10560 Chicago-Funny Honey.mp3
10976 Chicago-Entr' Acte.mp3
#---- -------------------------------------
lk_karma_release_io_lock: ok
lk_karma_hangup: ok
[EMAIL PROTECTED]:/usr/local/src/Debian/karma/libkarma-0.0.6$ tools/riocp -a 
/media/karma/  -s genre=Musical,artist=Chicago -u %s-%t.%c
* Using UTF-8 codeset.
Using UTF-8 codeset.
lk_karma_authenticate: 0
lk_karma_request_io_lock: ok
Downloading Rio database...  please wait... Done!
Searching FIDs with "genre=Musical                 ":  172 selected
   ANDing FIDs with "artist=Chicago                ":   22 selected
  320 Chicago-Class.mp3
  800 Chicago-I Can't Do It Alone (reprise).mp3
 1584 Chicago-Razzle Dazzle.mp3
 1728 Chicago-When You're Good to Mama.mp3
 2096 Chicago-I Can't Do It Alone.mp3
 2736 Chicago-All That Jazz.mp3
 2752 Chicago-Cell Block Tango.mp3
 2976 Chicago-Me and My Baby.mp3
 3280 Chicago-A Little Bit of Good.mp3
 3952 Chicago-When Velma Takes the Stand.mp3
 4976 Chicago-I Know a Girl.mp3
 7472 Chicago-Hot Honey Rag.mp3
 7552 Chicago-Roxie.mp3
 7712 Chicago-My Own Best Friend.mp3
 8016 Chicago-We Both Reached for the Gun.mp3
 8448 Chicago-Mister Cellophane.mp3
 8656 Chicago-Nowadays.mp3
 9264 Chicago-Chicago the Musical / Overture.mp3
10016 Chicago-Finale.mp3
10112 Chicago-All I Care About.mp3
10560 Chicago-Funny Honey.mp3
10976 Chicago-Entr' Acte.mp3
#---- -------------------------------------
error writing smalldb file
lk_karma_release_io_lock: ok
lk_karma_hangup: ok
[EMAIL PROTECTED]:/usr/local/src/Debian/karma/libkarma-0.0.6$ tools/riocp -a 
/media/karma/  -s genre=Musical,artist=Chicago -u %s-%t.%c
* Using UTF-8 codeset.
Using UTF-8 codeset.
lk_karma_authenticate: 0
lk_karma_request_io_lock: ok
Downloading Rio database...  please wait... Could not read smalldb
* Libkarma warning: failed request
Done!
Searching FIDs with "genre=Musical                 ":    0 selected
   ANDing FIDs with "artist=Chicago                ":    0 selected
lk_karma_release_io_lock: ok
lk_karma_hangup: ok
[EMAIL PROTECTED]:/usr/local/src/Debian/karma/libkarma-0.0.6$ 
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-karma-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel

Reply via email to