addAsPodcast to amaroK service menu for

Dolphin Service Menus

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

0
Score 50.0%
Description:

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.
Last changelog:

14 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

13 years ago

Great! Thanks a lot.

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

14 years ago

You shouldn't have this mimetype as text/html, but rather it should be text/rss. It's also worthy to note that this depends on amaroK 1.3.3

Report

C

openhaus

14 years ago

I do not think there is a mimetype text/rss. Usually as mimetype either text/xml or application/xml is used.

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

14 years ago

oh, i saw an rss item in the mimetype folder so i assumed there was one.

Report

Shanachie

14 years ago

Very nice, as a podcast listener and amarok dev I thank you.

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

14 years ago

Question, as an amaroK newbie.

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

C

openhaus

14 years ago

Hello,

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

14 years ago

Is the "global directory" "$KDEDIR/share/apps/konqueror/servicemenus/"?

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

C

openhaus

14 years ago

Hello,

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

14 years ago

There should be a service menu to .desktop files "install service menu".

Report

csanchisb

14 years ago

There IS one. Look for it, I can't remember the name.

Report

seb

14 years ago

don't get ahead of yourself, bart.

Report

Shanachie

14 years ago

Well, it's coming, once the next patch is committed :).

Report

14 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.

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.1
updated Oct 27 2005
added Oct 22 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 2
System Tags addon