Bug 183497 - Scripting API to add a context menu to everything representing a song or file
Summary: Scripting API to add a context menu to everything representing a song or file
Status: REPORTED
Alias: None
Product: amarok
Classification: Applications
Component: Tools/Script Manager (show other bugs)
Version: 2.3-GIT
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on: Script_API
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-07 00:29 UTC by Mathias Panzenböck
Modified: 2013-01-15 08:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Panzenböck 2009-02-07 00:29:01 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Fedora RPMs

A script API with which you would be able to add a rightclick menu to everything representing a song or file would be *very* handy. I mean to everywhere where there are files.

Such "things" would be: playlist entries, the entries of podcast feeds, songs in your collection, songs in the magnatunes browser etc. The callback of such a menu should get some kind of handle to the rightclicked song (e.g. url as a string or the metadata of the element - which includes the url).

Using such an API would be helpful to implement filemanagement features like the ones amarok 1.4 had.
Comment 1 Mathias Panzenböck 2009-02-07 00:33:25 UTC
PS: This should be *one* api to the menu to *all* the places. Something similar to konquerors/dolphins servicemenus comes to mind. There you define a servicemenu for a given mimetype pattern and konqueror/dolphin offers the menu everywhere the user can get a handle to such a file (e.g. also rightclick onto a webpage background, when the mimetype was text/html).

Of course a mimetype would no be necessary here. Just a definition of a menu callback for any kind of file (also more than one file at once if more are selected) would be enough.
Comment 2 Myriam Schweingruber 2010-01-08 20:49:07 UTC
Changing version
Comment 3 Simeon 2011-12-20 15:35:48 UTC
This wish has been granted.This report should be removed.
Comment 4 Myriam Schweingruber 2011-12-21 00:04:51 UTC
(In reply to comment #3)
> This wish has been granted.This report should be removed.

So sorry, please disregard this message, there was a misunderstanding with the
Google Code-In student.
Comment 5 Dirley Rodrigues 2011-12-29 19:34:54 UTC
Hello, there. I would like to work on this bug, if possible, though it's not tagged as a JuniorJob. Is it possible? If so, is there any kind of mentorship or something? I already have some working code on this specific subject and would like to clarify some points.
Comment 6 Myriam Schweingruber 2011-12-30 21:31:53 UTC
Dirley: of course you are very welcome to help implementing this. Could you please come to #amarok on irc.freenode.net and post this to the mailinglist amarok-devel@kde.org?