After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 641903 - new extension to write current track info to a text file
new extension to write current track info to a text file
Status: RESOLVED WONTFIX
Product: banshee
Classification: Other
Component: Community Extensions
git master
Other Linux
: Normal enhancement
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-02-09 06:25 UTC by Frank Ziegler
Modified: 2011-02-15 09:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
new extension CurrentSongTextfile (15.54 KB, patch)
2011-02-09 06:25 UTC, Frank Ziegler
none Details | Review

Description Frank Ziegler 2011-02-09 06:25:39 UTC
Created attachment 180441 [details] [review]
new extension CurrentSongTextfile

As I have seen requested some time ago, this extension writes the current track info into a text file .banshee-song in the user's home directory. The attached patch creates that new extension.
Comment 1 Bearcat M. Sandor 2011-02-09 19:43:47 UTC
This is a great plugin for displaying that data across networks so that all users can see what song is playing. 

Would it be better to place it in to the /tmp directory? Would it be difficult to include a thumbnail for cover art as well?
Comment 2 Gabriel Burt 2011-02-11 01:44:40 UTC
I don't get the usefulness of this, but if people have asked for it, it's fine with me for BCE.
Comment 3 Frank Ziegler 2011-02-11 03:32:23 UTC
Hmm... for scripting there IS an easier way I guess:

echo $(banshee --query-artist | sed 's/artist: //') - $(banshee --query-title | sed 's/title: //') [$(banshee --query-album | sed 's/album: //'), $(banshee --query-year | sed 's/year: //')]

A BUTT plugin could do just that as well.

won't commit, the code is here anyway.
Comment 4 Bearcat M. Sandor 2011-02-14 19:08:02 UTC
(In reply to comment #3)
> Hmm... for scripting there IS an easier way I guess:
> 
> echo $(banshee --query-artist | sed 's/artist: //') - $(banshee --query-title |
> sed 's/title: //') [$(banshee --query-album | sed 's/album: //'), $(banshee
> --query-year | sed 's/year: //')]
> 
> A BUTT plugin could do just that as well.
> 
> won't commit, the code is here anyway.

i have to ask: What's a BUTT plugin?

I already know that searching for Butt plug-in is not going to answer that question. :")
Comment 5 Frank Ziegler 2011-02-15 09:44:52 UTC
http://butt.sourceforge.net/