
Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/nowardev/kde-peace-settings/tree/master/kde-services-menu/kse-service-menu-vlc-append
video preview
http://www.youtube.com/watch?v=rmJJEuv1Mu4
This service menu appends files or folders on vlc playlist.
it can play even a video rotated..
INSTALLATION
NOTE
####################################
> 0.6 should work with vlc 1.x and 2.0
but i have just tested on 2.0 version
so.... if you have vlc 1.x just download the 0.5 version
######################################
INSTALLATION FROM DOLPHIN
**MAKE SURE YOU HAVE PERL INSTALLED.**
sudo apt-get install perl
then you can install it from here
dolphin ==>settings==> configure Dolphin ==> Services ==> Download new services ==> search box type vlc
MANUAL INSTALLATION
1 UNPACK
2 GO IN THE FOLDER
3 like root ./install
for debianbuntu
3* sudo ./install
you need it’s ENABLE QDBUS INTERFACE on vlc so if doesn't work .... you have reseted the vlc config file so...
go to Tools -> Preferences -> Show all -> Interface -> Control Interface and Enable DBus
Kde5 installer added 4 years ago
installer added
fix the service menu for kde 5
Kde5 installer added 4 years ago
installer added
fix the service menu for kde 5
7 years ago
0.8.1
script now waits to add files until vlc is started properly with dbus support
0.8 start vlc with dbus option automatically not matter what
adding fonder should be faster
0.6
fix for vlc 2.0
0.5
added FOLDER APPEND
folder append supports every format.(i guess)
0.4
added append and play
double istance of vlc fixed
0.3
upgraded the installer
fixed somestuff on vservice
added the rotation option
added standard a rotations
fixed the mess :) now should works sorry but i have uploaded a bad version and for long time i have not checked..
0.2 beta 2
modified installer :) dbus enabled by default thank to maarizwan
--------------------------------------
0.2
made vservice script to launch vlc if it's not running
--------------------------
0.1 initial version i hope the last xD
Chip88
7 years ago
I did everything as you said (added dbus) and even tried the following:
qdbus org.mpris.vlc /TrackList org.freedesktop.MediaPlayer.AddTrack "/home/mark/Tkiat.mp3" 0
But this results in an error:
Cannot find 'org.freedesktop.MediaPlayer.AddTrack' in object /TrackList at org.mpris.vlc
How can I fix this issue?!
Thank you in advance!
Regards,
Chipy
Report
Chip88
7 years ago
KDE 4.10.5
Ubuntu 13.04
Kernel: 3.8.0-29-generic
Hope this helps to resolve the issue.
Report
nowardev
8 years ago
1) launch vlc
2) do this replace /PATH/FILE with your file video
qdbus org.mpris.vlc /TrackList org.freedesktop.MediaPlayer.AddTrack "/PATH/FILE" 0
3) i have seen dbus error ; which distro have you ?
i am not sure but it seems an issue with your vlc installation
Report
masterdany88
8 years ago
see here
http://www.youtube.com/watch?v=TfAjlTKkjZw&feature=youtu.be
Report
nowardev
8 years ago
wtf i said
1 start vlc (and you didn't )
2 qdbus org.mpris.vlc /TrackList org.freedesktop.MediaPlayer.AddTrack "/PATH/FILE" 0
where fucking /path/file is the path!
i mean
/home/bla bla lba/film.avi
and not film.avi
are you trolling me ?
:S
Report
masterdany88
8 years ago
output in konsole is
0
Report
nowardev
8 years ago
http://wstaw.org/m/2012/02/24/plasma-desktopx21752.png
of course it doesn't work
Report
masterdany88
8 years ago
I've clicked folder-apped vlc in RMB
The vlc starts and I got that info
Vlc is starting , ..please wait
and nothing plays on
I've waited for few minutes and still nothing
Report
nowardev
8 years ago
vservice folder "$path/your/folder"
vlc version ?
did you open the playlist ?
is playlist empty?
Report
masterdany88
8 years ago
no I havent used playlist
Report
nowardev
8 years ago
if the folders has a lots of files that are not multimedia files it can take a lots.
2)just try with a folder with a lots of music and less stuff that is not music.
3) click on playlist because it willl not play files untill you click on play. it will just add files into your playlist...
4)have your read this on description ?
NOTE
####################################
0.6 should work with vlc 1.x and 2.0
but i have just tested on 2.0 version
so.... if you have vlc 1.x just download the 0.5 version
######################################
Report
masterdany88
8 years ago
Report
nowardev
8 years ago
http://www.youtube.com/watch?v=dVo5jaiqqIo
Report
masterdany88
8 years ago
see here
http://www.youtube.com/watch?v=f64MfWJRl9U
If I do the same with out a full path, but only for exemple 'films'
it adds only to playlist first movie, the next three arent shows up.
with music it works.
why it dosent start automatically play?
Report
nowardev
8 years ago
vservice folder "/path/folder"
Report
nowardev
8 years ago
vservice folder "/path/folder"
Report
WillS
10 years ago
in v0.1 and v0.2.
i'm using kubuntu 9.10, KDE 4.3.5.
can someone confirm this??
will;
Report
nowardev
10 years ago
but i have just upgraded... and seems it doesn't work ....
i think some packages of kde 4.3.5 is broken.. or maybe i should reboot... but i am feeling scared about it...
Report
nowardev
10 years ago
0.2 should work fine into kde 4.3.5 too , but it start from the last track ... if i get some time i will try to fix this
Report
DjNeophyte
10 years ago
Report
maarizwan
10 years ago
#make a backup copy
cp $HOME/.config/vlc/vlcrc $HOME/.config/vlc/vlcrc.firstbackup
#replace "control=anything" to control=dbus
sed 's/control=.*$/control=dbus/g' -i /home/rizvan/.config/vlc/vlcrc
#thanks :)
Report
maarizwan
10 years ago
sed 's/control=.*$/control=dbus/g' -i /home/$HOME/.config/vlc/vlcrc
#correction! sorry, my username was there.
Report
nowardev
10 years ago
Report
maarizwan
10 years ago
#make a backup copy
cp $HOME/.config/vlc/vlcrc $HOME/.config/vlc/vlcrc.firstbackup
#replace "control=anything" to control=dbus
sed 's/control=.*$/control=dbus/g' -i /home/rizvan/.config/vlc/vlcrc
#thanks :)
Report
nowardev
11 years ago
i have never used that omg confused tool :)
i prefer dolphin\konqueror
you shoul ask to someone that develop that tool or someone that use it
Report