LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-15-2007, 03:37 PM   #1
Scotteh
Member
 
Registered: May 2006
Distribution: Debian, Kubuntu Gutsy
Posts: 44

Rep: Reputation: 15
Changing song using amarok and DCOP


Hey all,

I'm using fvwm, and I'm wanting to create a menu that will list all my songs and switch to that song. I'll be able to figure out the former, but I didn't see a function in dcop to switch to a certain song. The only thing I was was dcop amarok playlist playByIndex(int). The index refers to the position in playlist. I don't think that's good enough because I find amarok sorting pretty messed up (it appears to sort artist > album > other stuff > title), so I'm wondering if there's a better method.

Any suggestions?
 
Old 04-15-2007, 05:34 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
You can configure the sorting to another order in Amarok.
 
Old 04-16-2007, 07:31 AM   #3
Scotteh
Member
 
Registered: May 2006
Distribution: Debian, Kubuntu Gutsy
Posts: 44

Original Poster
Rep: Reputation: 15
Oh yeah? Does that involve code hacking? I don't have to time to do that right now.
 
Old 04-16-2007, 11:05 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
No code hacking, just use the group by button/icon in the top left corner under the word Engage.
 
Old 04-18-2007, 08:15 AM   #5
Scotteh
Member
 
Registered: May 2006
Distribution: Debian, Kubuntu Gutsy
Posts: 44

Original Poster
Rep: Reputation: 15
Hmm... The only thing I see under the Engage menu is an icon to show/hide different sidebar items. Beside that are buttons to clear the playlist, save the playlist, undo, redo, and filter the playlist
 
Old 04-19-2007, 08:47 AM   #6
Scotteh
Member
 
Registered: May 2006
Distribution: Debian, Kubuntu Gutsy
Posts: 44

Original Poster
Rep: Reputation: 15
For those who will read this thread looking for an answer, the command:
Code:
dcop amarok playlist playMedia(KURL)
will do what I was wanting. If the song exists in the current playlist, it plays it. If it doesn't exist, it adds it to the current playlist and then plays it. The documentation for this command misled me.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DCOP communications error (amarok) the1sephiroth Linux - Software 1 05-18-2007 02:03 PM
amarok podcasts - finding info via dcop? matthewg42 Linux - Software 1 09-20-2006 03:58 AM
Amarok: library differing song quantities (suse vs. debian) deiz92 Linux - Software 0 09-11-2006 12:59 PM
Amarok sorting song list - Artist THEN Title? ironfistchamp Linux - Software 0 06-02-2006 05:56 PM
CJK Song titles in AMAROK caesium5 SUSE / openSUSE 1 09-12-2005 03:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration