Author |
Message |
temp-account8260
Joined: 25 Jun 2018 Posts: 8
|
Posted: Sat 30 Jun 2018, 04:19 Post subject:
|
|
I have tried installing this on Slacko64-6.3.2 (kernel changed to 4.14.35) including the dependencies.
mpv appears in the applications menu, but running `mpv` in the terminal (with or without arguments) gives the error: "bash: /usr/bin/mpv: No such file or directory"
This path definitely points to an existing file, as shown by the file manager and by `ls` command. Clicking that file in Rox-Filer gives the same error.
I am completely lost with this error, so any help would be appreciated.
As a side note, the pre-installed gnome-mplayer 1.0.9b is not resizing video when I change window size or enable fullscreen (same with Firefox when using the mplayer plugins). Is this normal behaviour?
|
Back to top
|
|
 |
jrb

Joined: 11 Dec 2007 Posts: 1142 Location: Smithers, BC, Canada
|
Posted: Sat 30 Jun 2018, 10:14 Post subject:
|
|
temp-account8260 wrote: | I have tried installing this on Slacko64-6.3.2 |
This is a 32bit .pet. The error message you received is fairly typical of trying to use a 32bit application in a 64bit system.
|
Back to top
|
|
 |
greengeek

Joined: 20 Jul 2010 Posts: 5404 Location: Republic of Novo Zelande
|
Posted: Sat 30 Jun 2018, 16:20 Post subject:
|
|
Is there a way to get mpv to randomly play it's way through an entire directory of media files? (ie: shuffle mode)
I see you can drop a whole directory into the mpv window but it plays in alphabetical order which is a nuisance when tracks begin with the artists name. More interesting in shuffle mode.
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 12533 Location: Stratford, Ontario
|
Posted: Sat 30 Jun 2018, 19:54 Post subject:
|
|
The PeasyMP3 Carousel can do this. It uses mplayer for some audio formats, but you can probably symlink mpv to mplayer.
|
Back to top
|
|
 |
jrb

Joined: 11 Dec 2007 Posts: 1142 Location: Smithers, BC, Canada
|
Posted: Sat 30 Jun 2018, 20:32 Post subject:
|
|
greengeek wrote: | Is there a way to get mpv to randomly play it's way through an entire directory of media files? (ie: shuffle mode) |
Code: | mpv --shuffle /somedir/* |
Or place this in a script (rt click in dir, New->Script)
Code: | #!/bin/sh
mpv --shuffle "$1"/* |
And then drag the directory onto the script.
Or use this:
Code: | #!/bin/sh
mpv --profile=pseudo-gui --shuffle "$1"/* |
to show the mpv gui. Put the mouse in the gui and it shows some controls.
Or use this:
Code: | #!/bin/sh
mpv --profile=pseudo-gui --shuffle --window-scale=0.2 "$1"/* |
will show a 1/5 size gui window
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 12533 Location: Stratford, Ontario
|
Posted: Sun 01 Jul 2018, 17:55 Post subject:
|
|
No reply?
|
Back to top
|
|
 |
hamoudoudou
Joined: 24 Jul 2014 Posts: 1467 Location: rabat
|
Posted: Sun 01 Jul 2018, 21:28 Post subject:
just draw the directory in mpv window ! |
|
just draw the directory in mpv window ! with your mouse..
mpv --shuffle * (jrb)
lecture aléatoire. Open a terminal in chosen directory
Description |
Stretch sailor enceladus (mpv default mediaplayer) |
Filesize |
64.02 KB |
Viewed |
232 Time(s) |

|
|
Back to top
|
|
 |
greengeek

Joined: 20 Jul 2010 Posts: 5404 Location: Republic of Novo Zelande
|
Posted: Mon 02 Jul 2018, 02:38 Post subject:
|
|
Hoping to do some further testing this evening. I don't want to symlink mplayer to mpv yet but will try to get carousel to use mpv as default just to see how things go.
I don't want to replace mplayer as it has worked well for me with a carousel variant so far - just want to understand what the mpv capabilities are. I have a variety of laptops that behave in different ways so I am keen to try new things to see what is the most lightweight or most functional (especially in fullscreen mode)
|
Back to top
|
|
 |
greengeek

Joined: 20 Jul 2010 Posts: 5404 Location: Republic of Novo Zelande
|
Posted: Mon 02 Jul 2018, 04:28 Post subject:
|
|
rcrsn51 wrote: | The PeasyMP3 Carousel can do this. It uses mplayer for some audio formats, but you can probably symlink mpv to mplayer. | I just tried symlinking mplayer to mpv and Carousel worked perfectly with a variety of audio and video files in my multimedia directory.
In some ways mpv may be a better choice when using Carousel as it has the onscreen controls (at least with the file formats i tried) whereas mplayer did not.
EDIT : I also tried opening /usr/sbin/peasymp3 in a text editor and replacing all occurrences of "mplayer" with "mpv" and both peasymp3 and carousel worked well with mpv. That would probably be my preferred way forward as it would allow me to retain mplayer as a seperate media player in case it was ever needed for specific purposes (where mpv may potentially not work)
|
Back to top
|
|
 |
greengeek

Joined: 20 Jul 2010 Posts: 5404 Location: Republic of Novo Zelande
|
Posted: Mon 02 Jul 2018, 05:18 Post subject:
|
|
jrb wrote: | Code: | mpv --shuffle /somedir/* |
| Yes, that works, thanks
Quote: | Or use this:
Code: | #!/bin/sh
mpv --profile=pseudo-gui --shuffle "$1"/* | to show the mpv gui. Put the mouse in the gui and it shows some controls. | Excellent, that works really well.
cheers!
|
Back to top
|
|
 |
|