You are not logged in.

#1 2018-11-30 10:29:02

ab90
Member
Registered: 2017-09-06
Posts: 195

(little idea) Command to run random music videos in fullscreen

Hey there,
i would like to gather ideas about how to have one click in open box start running a playlist in random order without compromising standart settings in my common music software.

Right click opens open box and then a column like "mtv+" should start playing music videos in fullscreen and in random fashion.

My idea so far is something like:
vlc /destination/ -fullscreen -random -[whole folder as playlist]

Ideas and discussion appreciated.


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#2 2018-11-30 10:34:22

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: (little idea) Command to run random music videos in fullscreen

Well there is a lot of software that could do this.

mpv --fullscreen=yes --shuffle=yes /path/to/your/folder/

will recursively play all files in that folder in random order.

If you put a link to a m3u playlist, you can also put every URL youtube-dl supports in there like youtube links, BBC player links, etc etc.

Offline

#3 2018-11-30 11:30:15

onlain
Member
Registered: 2016-04-22
Posts: 39

Re: (little idea) Command to run random music videos in fullscreen

twoion wrote:

If you put a link to a m3u playlist, you can also put every URL youtube-dl supports in there like youtube links, BBC player links, etc etc.

Warning. that can be dangerously addictive  big_smile

Offline

#4 2018-11-30 12:45:19

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: (little idea) Command to run random music videos in fullscreen

Many thanks,
i think this will actually do.
only problem is, its saying error: file is a folder..


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#5 2018-11-30 19:46:32

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: (little idea) Command to run random music videos in fullscreen

~$ mpv --fullscreen=yes --shuffle=yes "/home/ab90/Videos/Music Videos/Paganini/"
Playing: /home/ab90/Videos/Music Videos/Paganini/
[file] File is a directory: '/home/ab90/Videos/Music Videos/Paganini/'
Failed to open /home/ab90/Videos/Music Videos/Paganini/.


Exiting... (No files played)

"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#6 2018-12-01 08:12:59

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: (little idea) Command to run random music videos in fullscreen

@nobody is right.
please show us

mpv --version

Offline

#7 2018-12-04 18:04:44

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: (little idea) Command to run random music videos in fullscreen

mpv --version
mpv 0.6.2 (C) 2000-2014 mpv/MPlayer/mplayer2 projects
 built on 2014-10-25T16:17:45
libav library versions:
   libavutil       54.3.0
   libavcodec      56.1.0
   libavformat     56.1.0
   libswscale      3.0.0
   libavfilter     5.0.0
   libavresample   2.1.0

"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#8 2018-12-04 18:37:52

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: (little idea) Command to run random music videos in fullscreen

That looks like a very old version - maybe we should also see

apt-cache policy mpv

From your other posts it seems that your system is mash-up of very old and newer sources sad


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#9 2018-12-05 06:59:25

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: (little idea) Command to run random music videos in fullscreen

maybe needless to say by now, but:
in another thread we established that ab90 is running a "FrankenBunsen" (and needs to fix that first).

Offline

#10 2018-12-05 09:14:38

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,744

Re: (little idea) Command to run random music videos in fullscreen

Version where mpv plays random klip from youtube playlist?

Online

#11 2018-12-05 20:29:03

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: (little idea) Command to run random music videos in fullscreen

brontosaurusrex wrote:

Version where mpv plays random klip from youtube playlist?

Try

mpv --shuffle=yes 'link to youtube play list'

(again, mpv 0.29.1).

Offline

#12 2018-12-06 08:52:13

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,744

Re: (little idea) Command to run random music videos in fullscreen

@nobody, nice, thanks.

My new new 'rock' alias

alias rock='mpv --shuffle=yes --no-resume-playback "https://www.youtube.com/watch?list=PL3485902CC4FB6C67"'

Last edited by brontosaurusrex (2018-12-06 08:55:46)

Online

#13 2018-12-06 10:02:51

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: (little idea) Command to run random music videos in fullscreen

twoion wrote:

(again, mpv 0.29.1).

and an up-to-date youtube-dl...

Offline

#14 2018-12-06 10:20:58

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,744

Re: (little idea) Command to run random music videos in fullscreen

Don't like to brag, but my mpv was 'built on Mon Dec  3 16:04:33 CET 2018'.

Online

Board footer

Powered by FluxBB