Open folder with VLC service menu

Dolphin Service Menus

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
6.4

Description:
OPEN FOLDER WITH VLC SERVICE MENU
A simple scipt to play multimedia with VLC by right clicking on a folder.

SETUP:
- Extract archive to any folder you like
- cd /to/extracted/files
- sudo cp vlc.desktop /usr/share/kde4/services/ServiceMenus/
- cd en
- sudo cp ofwvlc /usr/sbin
- sudo cp ofwvlc-enqueue /usr/sbin
- sudo chmod +x /usr/sbin/ofwvlc /usr/sbin/ofwvlc-enqueue /usr/share/kde4/services/ServiceMenus/vlc.desktop

########################################

APRI CARTELLA CON VLC SERVICE MENU
Un semplice script per riprodurre multimediali con VLC cliccando con il tasto destro su di una cartella.

INSTALLAZIONE:
- Estrarre l'archivio in una cartella a piacere
- cd /cartella/files/estratti
- sudo cp vlc.desktop /usr/share/kde4/services/ServiceMenus/
- cd it
- sudo cp ofwvlc /usr/sbin
- sudo cp ofwvlc-enqueue /usr/sbin
- sudo chmod +x /usr/sbin/ofwvlc /usr/sbin/ofwvlc-enqueue /usr/share/kde4/services/ServiceMenus/vlc.desktop

########################################

AVAA KANSIO VLC:LLÄ - TOIMINNOT-VALIKKO
Yksinkertainen skripti multimedian toistoon VLC:llä klikkaamalla kansiota.

ASENNUS:
- Avaa pääte kansiossa, jossa on tämä readme.txt (cd /polku/tähän/kansioon)
- sudo cp vlc.desktop /usr/share/kde4/services/ServiceMenus/
- cd fi
- sudo cp ofwvlc /usr/sbin
- sudo cp ofwvlc-enqueue /usr/sbin
- sudo chmod +x /usr/sbin/ofwvlc /usr/sbin/ofwvlc-enqueue /usr/share/kde4/services/ServiceMenus/vlc.desktop

########################################
CHANGELOG:

Author: nikore90 & papallo83@live.it
V. 0.3
- Bug fixes
- Added KDE submenu for VLC
- Option to play an individual folder
- Option to append folder to current playlist

Author: nikore90
V. 0.2
- New translations: FI
- Support for almost every multimedia files and also DVD-structures

Author: papallo83@live.it
V. 0.1
- So long it only supports EN, IT languages but translations are welcome.
- It only supports MP3, WMA, FLAC files (Ask for more formats, I'll be happy to implement them).
- Folders will be played with one instance play and close mode.

########################################

Ratings & Comments

21 Comments

nikore90

I fixed bugs with files being enqueued to current playlist and copied files not being marked as executables. I also added option for adding folder to current playlist. I used Google Translator for "Name[it]=.." so you might have to edit it. Also I'm not very good at english so please check spelling. https://docs.google.com/open?id=0BwqJpu553OJoNGE1MzA3Y2ItODZkYy00OGRlLTg4YzgtZDAyMDQxY2I3NTcw

papallo

Updated! Have a look! Translations were perfect both en either it!

nowardev

this should be merged with vlc-append or viceversa btw i have seen 2 script one italian and 1 english ???

papallo

Did you mean "vlc --append" command or....? If so it's not recognized as a command by version 1.1.12. Version 0.1 of this script had 2 scripts both it either eng. Version 0.2 has fi script too.

nowardev

http://kde-apps.org/content/show.php/vlc+append?content=118298

papallo

I didn't notice there already was a similar app, but i do prefer to take a different branch... However the code is free so you can do whatever you want with it, just in case remember to mention authors for glory!

nowardev

i just added folder append to my service menu... but i have seen your code :) i didn't use it try to look what i did you could collaborate with me :)

papallo

My idea was actually just to have a context menu to easily play folders (music albums) in a click. So my project ends there. It's been improved by nikore90 to play almost any file (Also video). And you merged it with VLC append. What else can we do? :D However yes we can collaborate if there's work to do!

nowardev

well cleaning code i just did the job but i didn't clean my script then i should fix the language support ... example if you do echo $"message" you can create a po file for translators so you can avoid to create multiple script ... in different languagess

Mte90

ho caricato i file come descritto ma zu azioni quando seleziono la cartella non appare. uso Aptosid con kde 4.6, noto che copiando il file ofwvlc da root non posso accedergli da utente non root che sia quello il problema?

papallo

Prova a fare un reboot, le modifiche al service menu prendono effetto al prossimo login. Se anche così non dovesse funzionare prova a dare questo comando: sudo chmod +x /usr/share/kde4/services/ServiceMenus/vlc.desktop e dare un giro alla macchina.

Mte90

a quanto pare al riavvio adesso lo trova però mi dà come immagine che non trova il file ofwvlc perchè ha i permessi di root mentre io uso un altro utente.

Mte90

mi correggo da utente non root non trova il comando, menter se digito il percorso si. adesso ho modificato il file vlc.desktop vediamo come và :-P

papallo

Prova a vedere se hai copiato il file ofwvlc in maniera corretta: ls -ltr /usr/sbin/ofwvlc se il file è presente allora prova a renderlo eseguibile: sudo chmod +x /usr/sbin/ofwvlc altrimenti copia il file nel path corretto "/usr/sbin"

Mte90

adesso funziona gli ho dato un 777 all'eseguibile e corretto il percorso file vlc.desktop non ho problemi-

papallo

Prova la 0.3 aggiunge funzionalità (Vedi changelog) e risolve i problemi sui permessi degli scripts!

Mte90

problema risolto... per me dovresti fare uno script bash che installa il tutto facendoti scegliere la lingua :-)

nikore90

I did some update for you: https://docs.google.com/open?id=0BwqJpu553OJoMzRjMGEzNjgtYjcxMy00ZjU0LWEwYTItMGEzZmQyZDVlNWNj I hope you like changes I made :)

papallo

Thanks mate! Actually it was meant to support only audio file (albums) But since VLC support almost any format why not implement it! Updated with your recoding and finnish translation!

nikore90

Btw.. You can replace nikojasiru with nikore90. That's username I use here.

papallo

Done!

Pling
0 Affiliates
Details
license
version 0.3
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Dolphin Service Menus:

burnWithGrowisofs
chunkylover
last update date: 20 years ago

Score 5.0

Firefox-bookmarks service menu
storyteller
last update date: 20 years ago

Score 5.0

Text Convert Service Menu
smp-penguin
last update date: 21 years ago

Score 5.0

Pdflatex servicemenu
bobuse
last update date: 20 years ago

Score 5.0

Send through Bluetooth
dmnet
last update date: 21 years ago

Score 5.0

Add to Bloglines
spookster
last update date: 20 years ago

Score 5.0



System Tags