Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add=$1
- #add=$(echo $add | sed --expression="s/.2./.4./g")
- #echo $add
- lftp -u root,password $add -e "cd /var/spool;find;quit" |grep mkv| cut -c 3- | perl -ne 'print "ftp://root:password\@CHANGEME/var/spool/$_"' | sed --expression="s/CHANGEME/$add/g" > playlist.m3u
- smplayer playlist.m3u
- #vlc --playlist-tree --no-playlist-autostart /temp/playlist
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement