Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395277 - media-sound/lastfmplayer - desktop file: Exec should support arguments
Summary: media-sound/lastfmplayer - desktop file: Exec should support arguments
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-19 15:51 UTC by Patrick
Modified: 2011-12-30 09:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick 2011-12-19 15:51:51 UTC
The desktop entry created for the last.fm player (/usr/share/applications/lastfm-lastfmplayer.desktop) does not support passing arguments. This is needed when attempting to launch the last.fm player from a browser via the uri handler (last.fm radio links) which in turn uses xdg-open (exo-open).

The "Exec=lastfm" line needs to be changed to "Exec=lastfm %U"


This is observed with lastfmplayer-1.5.4.27091-r1

Reproducible: Always

Steps to Reproduce:
1. add "x-scheme-handler/lastfm=lastfm-lastfmplayer.desktop;" to "[Added Associations]" in ~/share/applications/mimeapps.list
2. run `exo-open lastfm://tag/anything` (or xdg-open in place of exo-open)
3. player starts but was passed no arguments and thus doesnt start playing radio
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2011-12-30 09:49:29 UTC
Thanks. Fixed