Discussion:
[emms-help] No mpv support for now
Yoni Rabkin
2017-02-20 00:50:55 UTC
Permalink
Today I had a look at adding mpv as a player to Emms.

According to the mpv developers, the right way to use mpv would be via
it's IPC communication mechanism using JSON. However, the version of mpv
which comes on my system is too old (0.3.4), the version with the stable
command-line option to do the communication (--input-ipc-server) was
introduced in 0.17.0, and on my system I can't even compile that version
since my libavcodec is too old.

In other words, I can't add mpv support at this time.

Too bad.
--
"Cut your own wood and it will warm you twice"
Alex Vong
2017-02-21 12:51:07 UTC
Permalink
Post by Yoni Rabkin
Today I had a look at adding mpv as a player to Emms.
According to the mpv developers, the right way to use mpv would be via
it's IPC communication mechanism using JSON. However, the version of mpv
which comes on my system is too old (0.3.4), the version with the stable
command-line option to do the communication (--input-ipc-server) was
introduced in 0.17.0, and on my system I can't even compile that version
since my libavcodec is too old.
In other words, I can't add mpv support at this time.
Too bad.
If you have time, you can try install GNU Guix on top of your base
distro and install Guix's mpv. This is how I run Debian stable while
still get latest version of software I used (best from both world!).
Yoni Rabkin
2017-02-26 22:34:53 UTC
Permalink
Post by Alex Vong
Post by Yoni Rabkin
Today I had a look at adding mpv as a player to Emms.
According to the mpv developers, the right way to use mpv would be via
it's IPC communication mechanism using JSON. However, the version of mpv
which comes on my system is too old (0.3.4), the version with the stable
command-line option to do the communication (--input-ipc-server) was
introduced in 0.17.0, and on my system I can't even compile that version
since my libavcodec is too old.
In other words, I can't add mpv support at this time.
Too bad.
If you have time, you can try install GNU Guix on top of your base
distro and install Guix's mpv. This is how I run Debian stable while
still get latest version of software I used (best from both world!).
I went ahead and tried that because it sounds great. Unfortunately on my
trisquel install my /tmp doesn't have enough room for guix to compile
anything successfully.

I'll come back to this on a different machine, or if I figure out how to
get guix to compile somewhere other than /tmp.
--
"Cut your own wood and it will warm you twice"
Alex Vong
2017-03-05 07:07:30 UTC
Permalink
Hello,

I've just found <https://github.com/dochang/emms-player-mpv/>, which
adds mpv support to emms. I haven't tried it before though.
Post by Yoni Rabkin
Post by Alex Vong
Post by Yoni Rabkin
Today I had a look at adding mpv as a player to Emms.
According to the mpv developers, the right way to use mpv would be via
it's IPC communication mechanism using JSON. However, the version of mpv
which comes on my system is too old (0.3.4), the version with the stable
command-line option to do the communication (--input-ipc-server) was
introduced in 0.17.0, and on my system I can't even compile that version
since my libavcodec is too old.
In other words, I can't add mpv support at this time.
Too bad.
If you have time, you can try install GNU Guix on top of your base
distro and install Guix's mpv. This is how I run Debian stable while
still get latest version of software I used (best from both world!).
I went ahead and tried that because it sounds great. Unfortunately on my
trisquel install my /tmp doesn't have enough room for guix to compile
anything successfully.
I'll come back to this on a different machine, or if I figure out how to
get guix to compile somewhere other than /tmp.
Yoni Rabkin
2017-03-05 15:18:33 UTC
Permalink
Post by Alex Vong
Hello,
I've just found <https://github.com/dochang/emms-player-mpv/>, which
adds mpv support to emms. I haven't tried it before though.
This is something that we can do as well, but uses an obsolete method of
communicating with mpv. The right way is to use --input-ipc-server, but
a more recent version of mpv is needed for it.

The right thing for Emms going forward to do is to support mpv's
--input-ipc-server. I'll try to get guix running so that I can write
that (unless someone beats me to it of course.)
Post by Alex Vong
Post by Yoni Rabkin
Post by Alex Vong
Post by Yoni Rabkin
Today I had a look at adding mpv as a player to Emms.
According to the mpv developers, the right way to use mpv would be via
it's IPC communication mechanism using JSON. However, the version of mpv
which comes on my system is too old (0.3.4), the version with the stable
command-line option to do the communication (--input-ipc-server) was
introduced in 0.17.0, and on my system I can't even compile that version
since my libavcodec is too old.
In other words, I can't add mpv support at this time.
Too bad.
If you have time, you can try install GNU Guix on top of your base
distro and install Guix's mpv. This is how I run Debian stable while
still get latest version of software I used (best from both world!).
I went ahead and tried that because it sounds great. Unfortunately on my
trisquel install my /tmp doesn't have enough room for guix to compile
anything successfully.
I'll come back to this on a different machine, or if I figure out how to
get guix to compile somewhere other than /tmp.
--
"Cut your own wood and it will warm you twice"
Ian Dunn
2017-03-05 15:44:01 UTC
Permalink
Post by Yoni Rabkin
Post by Alex Vong
Hello,
I've just found <https://github.com/dochang/emms-player-mpv/>, which
adds mpv support to emms. I haven't tried it before though.
This is something that we can do as well, but uses an obsolete method of
communicating with mpv. The right way is to use --input-ipc-server, but
a more recent version of mpv is needed for it.
The right thing for Emms going forward to do is to support mpv's
--input-ipc-server. I'll try to get guix running so that I can write
that (unless someone beats me to it of course.)
There's also this: https://github.com/momomo5717/emms-player-simple-mpv

It uses the JSON IPC interface, but something about it messes with the EMMS play time display.

--
Ian Dunn
Yoni Rabkin
2017-03-05 15:53:21 UTC
Permalink
Post by Ian Dunn
Post by Yoni Rabkin
Post by Alex Vong
Hello,
I've just found <https://github.com/dochang/emms-player-mpv/>, which
adds mpv support to emms. I haven't tried it before though.
This is something that we can do as well, but uses an obsolete method of
communicating with mpv. The right way is to use --input-ipc-server, but
a more recent version of mpv is needed for it.
The right thing for Emms going forward to do is to support mpv's
--input-ipc-server. I'll try to get guix running so that I can write
that (unless someone beats me to it of course.)
There's also this: https://github.com/momomo5717/emms-player-simple-mpv
It uses the JSON IPC interface, but something about it messes with the EMMS play time display.
I haven't reviewed the code beyond skimming over it, but the JSON IPC
(--input-ipc-server) is the right way to do it. We'll eventually end up
having something similar to that in Emms.
--
"Cut your own wood and it will warm you twice"
Loading...