Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: accept relative paths in files/m3u #791

Open
f1-outsourcing opened this issue Apr 1, 2018 · 1 comment
Open

feature: accept relative paths in files/m3u #791

f1-outsourcing opened this issue Apr 1, 2018 · 1 comment

Comments

@f1-outsourcing
Copy link


  1. uname -a:
CentOS release 6.9 (Final)
Linux svr 4.15.9-1.el6.elrepo.x86_64 #1 SMP Sun Mar 11 16:36:41 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
  1. cmus --version:
cmus v2.4.1
Copyright 2004-2006 Timo Hirvonen
Copyright 2008-2011 Various Authors
  1. cmus --plugins:
Input Plugins: /usr/lib64/cmus/ip
  mad:
    Priority: 55
    File Types: mp3 mp2
    MIME Types: audio/mpeg audio/x-mp3 audio/x-mpeg
  mpc:
    Priority: 50
    File Types: mpc mpp mp+
    MIME Types: audio/x-musepack
  modplug:
    Priority: 50
    File Types: mod s3m xm it 669 amf ams dbm dmf dsm far mdl med mtm okt ptm stm ult umx mt2 psm
    MIME Types:
  wav:
    Priority: 50
    File Types: wav
    MIME Types:
  aac:
    Priority: 50
    File Types: aac
    MIME Types: audio/aac audio/aacp
  mp4:
    Priority: 50
    File Types: mp4 m4a m4b
    MIME Types:
  vorbis:
    Priority: 50
    File Types: ogg
    MIME Types: application/ogg audio/x-ogg
  flac:
    Priority: 50
    File Types: flac fla
    MIME Types:
  wavpack:
    Priority: 50
    File Types: wv
    MIME Types: audio/x-wavpack
  ffmpeg:
    Priority: 30
    File Types: ac3 aif aifc aiff ape au mka shn tta wma aac fla flac m4a m4b mp+ mp2 mp3 mp4 mpc mpp ogg wav wv
    MIME Types:

Output Plugins: /usr/lib64/cmus/op
  pulse
  alsa
  oss
  ao

I have created m3u files with relative paths to sound files and stored them in the root folder of a tree with these sound files. And this works quite nicely with vlc and dlna.

this works

cmus-remote playlist-test.m3u

pwd 
/mnt/audio

cat playlist-test.m3u
/mnt/audio/test1.wav
/mnt/audio/test2.wav

This does not

cmus-remote playlist-test.m3u

pwd 
/mnt/audio

cat playlist-test.m3u
test1.wav
test2.wav

@f1-outsourcing
Copy link
Author

As a work a round i am using now this, but this minor change would be nice

while read i; do cmus-remote "$i"; done < playlist-test.m3u

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants