Congrats for your first commit :)
---------- Forwarded message ---------- From: <alexander...@users.sourceforge.net> Date: Thu, Feb 18, 2010 at 13:22 Subject: [Amsn-commits] SF.net SVN: amsn:[11924] trunk/amsn/plugins/music To: amsn-comm...@lists.sourceforge.net Revision: 11924 http://amsn.svn.sourceforge.net/amsn/?rev=11924&view=rev Author: alexandernst Date: 2010-02-18 12:21:55 +0000 (Thu, 18 Feb 2010) Log Message: ----------- inforhythmbox wasn't returning the path of the current playing file. Modified Paths: -------------- trunk/amsn/plugins/music/inforhythmbox trunk/amsn/plugins/music/plugininfo.xml Modified: trunk/amsn/plugins/music/inforhythmbox =================================================================== --- trunk/amsn/plugins/music/inforhythmbox 2010-02-16 12:59:42 UTC (rev 11923) +++ trunk/amsn/plugins/music/inforhythmbox 2010-02-18 12:21:55 UTC (rev 11924) @@ -4,20 +4,21 @@ RHYTHMBOX=`ps -e | grep [r]hythmbox | grep -v info` if [ "$RHYTHMBOX" ] then - RCLIENT=`rhythmbox --help | grep print-playing | wc -l ` - if [ "$RCLIENT" -gt 0 ] - then - rhythmbox --print-playing --print-playing-artist --print-playing-path --print-song-length --no-focus - else - rhythmbox-client --print-playing-format "%tt" - rhythmbox-client --print-playing-format "%aa" - echo "" - rhythmbox-client --print-playing-format "%td" - fi + RCLIENT=`rhythmbox --help | grep print-playing | wc -l ` + if [ "$RCLIENT" -gt 0 ] + then + rhythmbox --print-playing --print-playing-artist --print-playing-path --print-song-length --no-focus + else + rhythmbox-client --print-playing-format "%tt" + rhythmbox-client --print-playing-format "%aa" + #echo `qdbus org.gnome.Rhythmbox /org/gnome/Rhythmbox/Player org.gnome.Rhythmbox.Player.getPlayingUri` + echo `dbus-send --print-reply --dest=org.gnome.Rhythmbox /org/gnome/Rhythmbox/Player org.gnome.Rhythmbox.Player.getPlayingUri | sed -e '1d' | sed -e 's/^ *[^ ]* //' | sed -e 's/^.*\"\(.*\)\",*/\1/'` + rhythmbox-client --print-playing-format "%td" + fi else - echo "" - echo "" - echo "" - echo -1 + echo "" + echo "" + echo "" + echo -1 fi exit 0 Modified: trunk/amsn/plugins/music/plugininfo.xml =================================================================== --- trunk/amsn/plugins/music/plugininfo.xml 2010-02-16 12:59:42 UTC (rev 11923) +++ trunk/amsn/plugins/music/plugininfo.xml 2010-02-18 12:21:55 UTC (rev 11924) @@ -117,7 +117,7 @@ </file> <file> <path>inforhythmbox</path> - <version>10208</version> + <version>11924</version> </file> <file> <path>infosongbird</path> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Amsn-commits mailing list amsn-comm...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amsn-commits -- Boris 'billiob' Faure ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Amsn-devel mailing list Amsn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amsn-devel