Open folder with VLC service menu

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

1
Score 65.6%
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.

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

nikore90

7 years ago

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

Report

C

papallo

7 years ago

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

Report

nowardev

7 years ago

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

Report

C

papallo

7 years ago

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.

Report

nowardev

7 years ago

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

Report

C

papallo

7 years ago

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!

Report

nowardev

7 years ago

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 :)

Report

C

papallo

7 years ago

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!

Report

nowardev

7 years ago

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

Report

Mte90

7 years ago

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?

Report

C

papallo

7 years ago

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.

Report

Mte90

7 years ago

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.

Report

Mte90

7 years ago

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

Report

C

papallo

7 years ago

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"

Report

Mte90

7 years ago

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

Report

Mte90

7 years ago

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

Report

C

papallo

7 years ago

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

Report

nikore90

7 years ago

I did some update for you:
https://docs.google.com/open?id=0BwqJpu553OJoMzRjMGEzNjgtYjcxMy00ZjU0LWEwYTItMGEzZmQyZDVlNWNj

I hope you like changes I made :)

Report

C

papallo

7 years ago

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!

Report

nikore90

7 years ago

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

Report

C

papallo

7 years ago

Done!

Report

12345678910
14
product-maker nowardev Nov 11 2011 3 bad
product-maker nikore90 Nov 08 2011 9 excellent
product-maker FraMari Nov 07 2011 9 excellent
product-maker Mte90 Nov 07 2011 9 excellent
product-maker vitoubien Nov 07 2011 9 excellent
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.3
updated Nov 11 2011
added Nov 07 2011
downloads today
2
page views today 2
System Tags addon