
addAsPodcast to amaroK service menu for
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
This simple .desktop file enables easy adding of podcasts to amaroK. It adds a new entry to konqueror´s service menu when choosing a hyperlink.
Because it makes use of very new features in amaroK, your amaroK version has to be at least 1.3.3 as seb mentioned in the comments.
15 years ago
It seems the mimetype plays a role after all. Added three more mimetypes. Now it also works with urls having .xml or .rss as their extension.
15 years ago
It seems the mimetype plays a role after all. Added three more mimetypes. Now it also works with urls having .xml or .rss as their extension.
mlaverdiere
14 years ago
Here's the content of the file with French & Spanish translations:
[Desktop Entry]
ServiceTypes=text/html,text/xml,application/xml,text/rss
Actions=addAsPodcast
[Desktop Action addAsPodcast]
Name=Add as podcast to amaroK
Name[de]=Als Podcast zu amaroK hinzufügen
Name[fr]=Ajouter comme podcast à Amarok
Name[es]=Añadir como podcast a Amarok
Icon=amarok
Exec=dcop amarok playlistbrowser addPodcast %u
Report
seb
15 years ago
Report
openhaus
15 years ago
The mimetype in the .desktop-file refers to the mimetype of the webpage because this is where you will find the links to the podcasts.
Report
seb
15 years ago
Report
Shanachie
15 years ago
For those who have no idea where to put this file:
$HOME/.kde/share/apps/konqueror/servicemenus/
for all users:
$KDEDIR/share/apps/konqueror/servicemenus/
Report
jlh
15 years ago
I added addAsPodcast to $KDEDIR/share/apps/konqueror/servicemenus/
But I don't have a directory $HOME/.kde/share/apps/konqueror/servicemenus/
Should I create the directory and also add the file there? Or is that unnecessary.
Thanks.
Report
openhaus
15 years ago
yes, go ahead and create the directory. You could also copy the file to the global directory if you prefer that.
Ciao
Fabio.
Report
jlh
15 years ago
I did copy the file there.
Does it make a difference if it's copied only to one of the two directories?
Sorry to bother. I'm just trying to get this right.
Thanks.
Report
openhaus
15 years ago
either one directory is fine.
> $KDEDIR/share/apps/konqueror/servicemenus/
Yes, that is the global directory.
But if you copy it to your local directory it is only available for the local user which you be fine in most cases.
Ciao
Fabio.
Report
panzi
15 years ago
Report
csanchisb
15 years ago
Report
seb
15 years ago
Report
Shanachie
15 years ago
Report