On Sat, 26 May 2018 04:21:46 +0500
Mike Kazantsev <mk.frag...@gmail.com> wrote:

> On Sat, 26 May 2018 04:14:52 +0500
> Mike Kazantsev <mk.frag...@gmail.com> wrote:
> 
> > On Fri, 25 May 2018 18:59:06 -0400
> > Yoni Rabkin <y...@rabkins.net> wrote:
> >   
> > > Another change needed is to add a regexp to the player so that
> > > (emms-player-get emms-player-mpv 'regex) will return a useful value that
> > > emms-source-file-regex can use.
> > > 
> > > Among other things this breaks is that the various
> > > emms-add-... functions will add files that the player doesn't know how
> > > to play. For instance, jpegs that litter album directories will start
> > > showing up in the playlists, etc.    
> > 
> > Didn't think that it makes sense for mpv - it can totally "play" jpegs
> > and other images, and has options for these, as well as any binary file
> > one can imagine (e.g. with the right ffmpeg pipeline setup in lua).
> > So these internal restrictions seemed to be kinda bogus for it.  
> 
> One notable thing about other backends which don't seem to apply to mpv
> in particular btw is URL formats ...

Didn't realize that it's emms-player-simple that derives playable-p
function from that regexp, and otherwise it's apparently only used for
files, so shouldn't cause any issues for URLs.

Ended up using basic emms-player-base-format-list as suggested, as it
indeed seem to include all popular A/V extensions already.


-- 
Mike Kazantsev // fraggod.net

_______________________________________________
Emms-help mailing list
Emms-help@gnu.org
https://lists.gnu.org/mailman/listinfo/emms-help

Reply via email to