Markus Rothe | 21 Apr 2013 15:46

cmus is not following symlinks when adding files

Hello,

I am using git-annex [1] to share my music folder between computers. The
result is that all files are symbolic links; i.e.:

% ls -l ~/music/Pink\ Floyd/1973\ -\ The\ Dark\ Side\ Of\ The\ Moon/01\ -\ Speak\ To\ Me\ -\ Breathe\ In\
The\ Air.flac
lrwxrwxrwx 1 markus markus 208 Apr 21 14:29 /home/markus/music/Pink Floyd/1973 - The Dark Side Of The
Moon/01 - Speak To Me - Breathe In The Air.flac -> ../../.git/annex/objects/mW/3K/SHA256E-s18482470--a1f7a187936351006e0926bfd5db9de2fdb695f8f036d78f2ff86f8534319bb5.flac/SHA256E-s18482470--a1f7a187936351006e0926bfd5db9de2fdb695f8f036d78f2ff86f8534319bb5.flac

When adding the ~/music directory in cmus none of the files are added.
Could this please be changed, such that the files are added to the cmus
library.

I am using cmus 2.3.4.

Regards, Markus

[1] http://git-annex.branchable.com/

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

Casey Wilson | 16 Apr 2013 22:27
Picon

cmus-debug

Running on Fedora 18, seg fault after song completes. 
main: charset = 'UTF-8'
player_init: using real-time scheduling
player_init: setting priority to 99
player_set_op: setting op to 'pulse'
init_plugin: initialized mixer for pulse
init_plugin: initialized pcm for pulse
init_curses: Number of supported colors: 256
init_curses: ts: 0 fs: 0
TIMER: worker job:           0.000012
TIMER: worker job:           0.054051
file_changed: file: /run/media/casey/1.5 TB/Music/Alac.Music/The Band/The Band/12 King Harvest
(Has Surely Come).m4a
ip_setup: pcm convert: scale=1 convert=0 convert_in_place=0
__pa_context_running_cb: pulse: context state has changed to PA_CONTEXT_CONNECTING
__pa_context_running_cb: pulse: context state has changed to PA_CONTEXT_AUTHORIZING
__pa_context_running_cb: pulse: context state has changed to PA_CONTEXT_SETTING_NAME
__pa_context_running_cb: pulse: context state has changed to PA_CONTEXT_READY
__pa_stream_running_cb: pulse: stream state has changed to PA_STREAM_CREATING
__pa_stream_running_cb: pulse: stream state has changed to PA_STREAM_READY
player_seek: doing op_drop after seek
file_changed: file: /run/media/casey/1.5 TB/Music/Mp3.Music/Neil Young/Greatest Hits/04 Helpless.mp3
id3_tag_size: v2.3.0
handle_lost_sync: frame 0, skipping ID3 tag (86931 bytes)
handle_lost_sync: frame 0
do_open: 
  frames: 8570, br: 224000 b/s, sr: 44100 Hz, ch: 2, layer: 3, joint stereo: 0
  dual channel: 0, vbr: 0, duration: 223.869 s, xing: 0
ip_setup: pcm convert: scale=1 convert=0 convert_in_place=0
id3_tag_size: v2.3.0
handle_lost_sync: frame 8570, skipping ID3 tag (86931 bytes)
handle_lost_sync: frame 8570
fill_buffer: hit end of stream, appended MAD_BUFFER_GUARD zeros
id3_tag_size: v2.3.0
handle_lost_sync: frame 0, skipping ID3 tag (86942 bytes)
handle_lost_sync: frame 0
do_open: 
  frames: 8888, br: 224000 b/s, sr: 44100 Hz, ch: 2, layer: 3, joint stereo: 0
  dual channel: 0, vbr: 0, duration: 232.176 s, xing: 0
ip_setup: pcm convert: scale=1 convert=0 convert_in_place=0
file_changed: file: /run/media/casey/1.5 TB/Music/Mp3.Music/Neil Young/Greatest Hits/05 After the
Gold Rush.mp3
id3_tag_size: v2.3.0
handle_lost_sync: frame 8888, skipping ID3 tag (86942 bytes)
handle_lost_sync: frame 8888
file_changed: file: /run/media/casey/1.5 TB/Music/Alac.Music/The Traveling Wilburys/Volume 1/05.
Not Alone Any More.m4a
ip_setup: pcm convert: scale=1 convert=0 convert_in_place=0
ip_setup: pcm convert: scale=1 convert=0 convert_in_place=0
file_changed: file: /run/media/casey/1.5 TB/Music/Alac.Music/The Traveling Wilburys/Volume 1/06. Congratulations.m4a
ip_setup: pcm convert: scale=1 convert=0 convert_in_place=0
file_changed: file: /run/media/casey/1.5 TB/Music/Alac.Music/The Traveling Wilburys/Volume 1/07.
Heading for the Light.m4a
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
Gareth Rennick | 27 Mar 2013 13:24
Picon

Unable to add MP3s

Hi folks,

Hopefully someone can help me here. 

I have two problems.  The first occurs when I run cmus and I get this message:

cmus: Error: couldn't open directory `/usr/local/lib/cmus/op': No such file or directory

I press enter and cmus starts up.

My second problem is why I try to add music.  I navigate to my folder, which is called Unsorted MP3s, and I press the A key.  The folder below Unsorted MP3s is highlighted. When I press 1 I don't see any MP3s listed.

If I navigate into the actual Unsorted MP3s folder and press A I get the message:

For convenience, you can not add ".." directory from the browser view


Would anyone be able to help me?  I'm not sure the message I get when I start up cmus is related to my problem of not being able to add songs.

I compiled and installed the program myself, incase that's important.  I am completely new to this so apologies if these are basic questions.

Thanks.
Gareth
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
Lester Hedges | 14 Mar 2013 05:07
Picon
Favicon

7hr track limit?

Hi there,

I have a few exceedingly long mp3 files (webcasts) that are 10 hours plus in length. When playing them in cmus I've noticed that the player returns to the beginning of the track when the running time exceeds 7 hours. This happens both in normal playback mode and when using seek to skip to a point beyond the 7 hour threshold, e.g. if I start the track and seek +8h I actually go only 1 hour forward, seeking +9h goes 2 hours in. It looks like the player is skipping to the current time modulo 7 hours. This seems to happen with all long tracks that I've tried, regardless of the encoding. All of the tracks play fine in other music players.

Is this a bug? Perhaps there's a track length limit hardcoded somewhere in the source code (I haven't checked) or an accidental mod. For reference, I'm running Arch Linux x64 using the latest version of cmus (2.5.0-2) from the community repo.

Many thanks,
Lester

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
Tuan Anh Tran | 2 Feb 2013 09:30
Picon
Gravatar

cmus-remote to manage display list?

Is it possible to use cmus-remote to manage playlist?

-- 
Tuan Anh Tran

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
Vladimir Todorov | 28 Jan 2013 13:31
Picon

Fwd: problems with cyrillic ID3 tags

FYI

---------- Forwarded message ----------
From: Vladimir Todorov <inspell.87 <at> gmail.com>
Date: Mon, Jan 28, 2013 at 2:30 PM
Subject: Re: problems with cyrillic ID3 tags
To: Gregory Petrosyan <gregory.petrosyan <at> gmail.com>


Hi,

This is my ./configure:

checking for program gcc... /usr/bin/gcc
checking for program gcc... /usr/bin/gcc
checking for CFLAGS -std=gnu99 -pipe -Wall -Wshadow -Wcast-align -Wpointer-arith -Wwrite-strings -Wundef -Wmissing-prototypes -Wredundant-decls -Wextra -Wno-sign-compare -Wformat-security... yes
checking for CFLAGS -Wdeclaration-after-statement... yes
checking for CFLAGS -Wold-style-definition... yes
checking for CFLAGS -Wno-pointer-sign... yes
checking for CFLAGS -Werror-implicit-function-declaration... yes
checking for CFLAGS -Wno-unused-parameter... yes
checking if CC can generate dependency information... yes
checking byte order... little-endian
checking for DL_LIBS (-ldl -Wl,--export-dynamic)... yes
checking for PTHREAD_LIBS (-lpthread)... yes
checking for realtime scheduling... yes
checking for NCURSES_LIBS (-lncursesw)... no
checking for NCURSES_LIBS (-lncurses)... yes
*** Your ncurses does not support wide characters!
*** Install ncursesw if you need wide character support,
*** you can ignore this warning otherwise.
checking for working ncurses setup... yes
checking for function resizeterm... yes
checking for function use_default_colors... yes
checking for ICONV_LIBS (-liconv)... yes
taking iconv from libiconv
checking for working iconv... yes
checking for header <byteswap.h>... yes
checking for function strdup... yes
checking for function strndup... yes
checking for program pkg-config... /usr/bin/pkg-config
checking for CDDB_LIBS (pkg-config)... no
checking for CDDB_LIBS (-lcddb)... no
checking for CDIO_LIBS (pkg-config)... no
checking for CDIO_LIBS (-lcdio_cdio -lcdio -lm)... no
checking for FLAC_LIBS (pkg-config)... -lFLAC -lm  
checking for FLAC_CFLAGS (pkg-config)... -I/usr/include/FLAC  
checking for MAD_LIBS (pkg-config)... no
checking for MAD_LIBS (-lmad -lm)... no
checking for MODPLUG_LIBS (pkg-config)... no
checking for MODPLUG_LIBS (-lmodplug -lstdc++ -lm)... no
checking for header <mpc/mpcdec.h>... no `set id3_default_charset=cp1251` 
checking for header <mpcdec/mpcdec.h>... no
checking for VORBIS_LIBS (pkg-config)... -lvorbisfile -lvorbis -lm -logg  
checking for VORBIS_CFLAGS (pkg-config)...  
checking for WAVPACK_LIBS (pkg-config)... -lwavpack -lm  
checking for WAVPACK_CFLAGS (pkg-config)...  
checking for header <mp4v2/mp4v2.h>... no
checking for header <mp4.h>... no
checking for header <neaacdec.h>... no
checking for FFMPEG_LIBS (pkg-config)... -lavformat  
checking for FFMPEG_CFLAGS (pkg-config)...  
checking for header <libavcodec/avcodec.h>... yes
checking for successful build of ffmpeg.c... yes
checking for CUE_LIBS (pkg-config)... -lcue  
checking for CUE_CFLAGS (pkg-config)... -I/usr/include/libcue-1.4  
checking for PULSE_LIBS (pkg-config)... -lpulse  
checking for PULSE_CFLAGS (pkg-config)... -D_REENTRANT  
checking for ALSA_LIBS (pkg-config)... no
*** Package alsa was not found in the pkg-config search path.
*** Perhaps you should add the directory containing `alsa.pc'
*** to the PKG_CONFIG_PATH environment variable
*** No package 'alsa' found
checking for AO_LIBS (pkg-config)... no
checking for AO_LIBS (-lao)... no
checking for program artsc-config... no
checking for header <sys/soundcard.h>... yes `set id3_default_charset=cp1251` 
checking for header <sys/audioio.h>... no
checking for ROAR_LIBS (pkg-config)... no
*** Package libroar was not found in the pkg-config search path.
*** Perhaps you should add the directory containing `libroar.pc'
*** to the PKG_CONFIG_PATH environment variable
*** No package 'libroar' found


./configure | grep iconv
checking for ICONV_LIBS (-liconv)... yes
taking iconv from libiconv
checking for working iconv... yes


At first I didn't have iconv libraries but I installed them. After that `make clean`, .`/configure`, `make` and I still have the same problems.
Note: I run cmus from the directory where I built it.
I also didn't have `set id3_default_charset=cp1251`  in the rc file but I had that specified in the options (view 7).
And another thing - the version from the pu branch does not order the library as it should - screenshot attached.
Note: cmus v2.3.3 from the official repo shows the cyrillic tags and orders the library as expected.

While cmus 2.3.3 is playing:
> cmus-remote -Q                                                                     ~/lib/cmus
status playing
file /media/usb/mp3/Alice In Chains/Angry Chair (1993)/Alice In Chains - Angry Chair.mp3
duration 291
position 0
tag artist Alice in Chains
tag album Angry Chair
tag title Angry Chair
tag date .
tag genre Grunge
tag tracknumber 01
tag albumartist Alice in Chains
set aaa_mode all
set continue true
set play_library true
set play_sorted false
set replaygain disabled
set replaygain_limit true
set replaygain_preamp 6.000000
set repeat false
set repeat_current false
set shuffle false
set softvol false
set vol_left 100
set vol_right 100


while cmus from pu branch is playing:
status playing
file /media/usb/mp3/Alice In Chains/Angry Chair (1993)/Alice In Chains - Angry Chair.mp3
duration 291
position 3
tag title Angry Chair
tag album Angry Chair
tag comment h8me..as alwayz
tag tracknumber 1
tag genre Grunge
set aaa_mode all
set continue true
set play_library true
set play_sorted false
set replaygain disabled
set replaygain_limit true
set replaygain_preamp 6.000000
set repeat false
set repeat_current false
set shuffle false
set softvol false
set vol_left 100
set vol_right 100

In the later case there is no "tag artist Alice in Chains".

Ideas?

Thanks,
Vladimir


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
Gregory Petrosyan | 28 Jan 2013 07:27
Picon
Gravatar

GitHub

Just a quick note: migration to the GitHub indeed helped — it seems
that a lot of people are more likely to use e.g. proper issue tracker
[1] instead of the old-school mailing list.

However, this also means that if you are interested in the development
of cmus, you should watch the GitHub project closely for new issues,
pull requests etc. — and I encourage you to do so.

[1] https://github.com/cmus/cmus/issues

       Gregory

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
Vladimir Todorov | 25 Jan 2013 13:39
Picon

problems with cyrillic ID3 tags

Hi guys,

Today I installed cmus on my computer in the office (after re-install) and I noticed that I cannot read the ID3 tags that are written in cyrillic. They look weird - screenshots attached. I tried to change both charset options available in the settings to UTF8, UTF-8, utf8, utf-8, cp1251, Windows-CP1251 and some other options but this didn't help. It is perfectly fine on my computer at home but it uses different cmus version and I may have several packages installed that I do not have here (at the office). Currently I am using the version from the PU branch:

> cmus --version                                                   ~
cmus v2.5.0-8-g1f9b415
Copyright 2004-2006 Timo Hirvonen
Copyright 2008-2011 Various Authors

I am running debian squeeze 64 bit.
Can someone help me?

Regards,
Vladimir
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
xinglp | 12 Jan 2013 21:55
Picon

git version cmus play slow sound with ffmpeg-1.1

And it works well with ffmpeg-1.0.1

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912

Udo Hortian | 4 Jan 2013 01:00
Picon

cmus browser

Hello,

I discovered cmus some days ago and I like it. However I have a few
questions about it:

1) Is it easily possible to list all tracks of a given album? If all
tracks are by the same artist, this is trivial. But if not it seems that
the tracks are split between the artists in the artist/album view. I
guess this is not possible now, since in the views, as they are, this has
no place. One could achieve this using filters, but I was hoping for an
easier solution.

2) Is there a possibility to list all tracks of a given artist not matter
to which album they belong? In my situation this is very desirable. I
would expect all these tracks to appear when selecting the artist in the
artist/album view without selecting any album. Is this possible? If not now,
what do you think about implementing this?

3) Is there an easy possibility to store which files have been played,
ideally together with a timestamp. 

4) Is there in a way to execute two instances of cmus with output to
different sound cards? This would be useful for prelistening while
playing something else.

Best regards,
Udo

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812

Julian Orth | 29 Dec 2012 14:20
Picon

mp4file.cpp exception output in terminal

I have a broken mp4 file that causes an exception in mp4file.cpp when
I try to add it to the library.
See the attached screenshot or http://i.imgur.com/DaBlj.png
See http://code.google.com/p/mp4v2/source/browse/trunk/src/mp4file.cpp?r=491#746

Is it possible to hide this output? 2> /dev/null does not work.
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912

Gmane