|
|
04-21-2011
, 08:29 AM
|
|
|
Posts: 1,014 |
Thanked: 760 times |
Joined on Jun 2009
@ Toronto
|
#2
|
|
|
04-21-2011
, 08:36 AM
|
|
|
Posts: 275 |
Thanked: 387 times |
Joined on Feb 2010
@ Sydney
|
#3
|
dbus-send --print-reply --dest=com.marquarding.trackinfo / com.marquarding.trackinfo.GetArt string:<album-name>
| The Following 5 Users Say Thank You to GreatGonzo For This Useful Post: | ||
|
|
04-22-2011
, 12:40 AM
|
|
|
Posts: 275 |
Thanked: 387 times |
Joined on Feb 2010
@ Sydney
|
#4
|
| The Following User Says Thank You to GreatGonzo For This Useful Post: | ||
|
|
07-21-2011
, 06:31 AM
|
|
Posts: 1,644 |
Thanked: 3,538 times |
Joined on Jan 2011
|
#5
|
|
|
07-21-2011
, 11:30 AM
|
|
Posts: 538 |
Thanked: 81 times |
Joined on May 2011
@ Russia
|
#6
|
|
|
08-26-2011
, 07:08 PM
|
|
|
Posts: 468 |
Thanked: 755 times |
Joined on May 2010
@ Hereford, England
|
#7
|
|
|
08-29-2011
, 10:10 PM
|
|
|
Posts: 140 |
Thanked: 363 times |
Joined on Jun 2010
@ Ituzaingo, Argentina
|
#8
|
Hi GreatGonzo. I have a question for you (or anyone else). I am using this command
dbus-send --print-reply --dest=com.marquarding.trackinfo / com.marquarding.trackinfo.GetArt string:<album-name>
in queen beecon widget, and I have the result, but it shows the underlying information, rather than the actual art. For example
method return sender=1.65- dest=1.305reply_serial=2string"/home/user/.cache/media-art/album-725ee9 etc etc etc ......jpeg"
Also, with the other commands listed in this thread, I get the result, but it also shows all the string information as well, rather than just the track name for example. Any ideas. How can I single out the part of the result I want. Am I missing something or is this how the results are intended to be shown? Thanks for any help.
dbus-send --print-reply --dest=com.marquarding.trackinfo / com.marquarding.trackinfo.GetArt | awk '{ FS="\\""} {print $2}' | tail -1
dbus-send --print-reply --dest=com.marquarding.trackinfo / com.marquarding.trackinfo.GetTitle | awk 'BEGIN{FS="\\""} {print $2}' | tail -1
dbus-send --print-reply --dest=com.marquarding.trackinfo / com.marquarding.trackinfo.GetArtist | awk 'BEGIN{ FS="\\""} {print $2}' | tail -1
dbus-send --print-reply --dest=com.marquarding.trackinfo / com.marquarding.trackinfo.GetAlbum | awk 'BEGIN{ FS="\\""} {print $2}' | tail -1
| The Following User Says Thank You to Harick For This Useful Post: | ||
|
|
05-06-2012
, 11:37 AM
|
|
Posts: 1,372 |
Thanked: 1,900 times |
Joined on Apr 2010
@ St. Helens, England
|
#9
|
|
|
05-18-2012
, 06:50 AM
|
|
|
Posts: 88 |
Thanked: 37 times |
Joined on Nov 2010
@ Bangalore
|
#10
|
![]() |
| Thread Tools | Search this Thread |
|
Description:
A dbus wrapper (event.d "daemon) around song metadata.
The metadata for the currently playing song in MAFW is spread through
several interfaces and signals. It is also lacking album art. This "daemon" processes these and presents a more sensible interface.
The main benefit of this will be quick-widgets and queen beecons. I can now have a player widget for the built-in media player and/or the OMP.
It should have minimal effect on battery usage an uses about 5MB of memory.
The methods are
Source:
https://bitbucket.org/mmarquar/mafw-trackinfo
Quick Widgets - http://wiki.maemo.org/Quick_Widgets
Last edited by GreatGonzo; 04-22-2011 at 01:37 AM.