Submitted by daper on Sat, 2007-03-03 15:30
Here is it: 2.5.0-alpha1. This release wouldn't be possible without contribution from few people, mainly Hendrik Iben (MIDI and Modplug plugins) and Jack Miller (OnSongChange and other features and fixes), but there are more names in the changelog. I'm proud that MOC got to the point where my role is more like a maintainer than an author.
This release includes a demanded option: running a command when song changes. It should be useful for example to scripts that submit data to last.fm. If you think you need something more flexible or have any comments on that, please use the forum.
The full changelog is here:
- Add Modplug support. (Hendrik Iben)
- Add MIDI plugin that uses libtimidity - an interface to TiMidity, software-only MIDI sequencer. (Hendrik Iben)
- Add OnSongChange option which runs a program/script when song is changed. (Jack Miller)
- Add Y command to prune unreadable files from the playlist. (tyranix)
- Fix for compilation with FLAC 1.1.3. (Josh Coalson)
- Support for filenames and directory names recoding using librcc. (Alexey Gladkov)
- Add a command line option --volume for setting volume. (Jack Miller)
- Add -t/--on/-off options to change next/repeat/shuffle options. (Jack Miller)
- Add average bitrate field to the output of mocp -i. (Jack Miller)
- Add support for "speaker" mixer channel in OSS. Seems to be the only channel that affects volume on iMac (reported by Francesco Versaci).
- Workaround for Shoutcast streams that have a static title in their metadata (like a radio station name) and the actual title as tags/comments in the stream data.
- Empty key list for a command in the keymap file is possible.
- Fix escape key handling. (Jack Miller)
- Fix CTL-key combinations in entries. (Jack Miller)
- Fix receive errors handling with internet streams.
- Fix a memory leak when reading FLAC tags.
- Fixed "mocp -e directory" command in case when no client is running and the playlist is not empty.
- Fix ffmpeg build failure due to LOG_H defined by ffmpeg headers.
- Fix reading PLS playlists with more than 9 entries.
- Disable 24bit output by default due to reported problems with some sound card. It can be enabled by setting Allow24bitOutput option to yes.
- Fix configure script: libiconv is required to build moc.
Comments
hiben
Sun, 2007-03-04 17:38
Permalink
Congratulations to the new
Congratulations to the new release :-)
But it does not run on my x86_64 machine; neither the 2.5.0-alpha1 nor the current SVN.
For me, it always segfaults when the audio should start (tested with ALSA and OSS). For network-streams, the last lines of server output are :
Using local files (of any format) I get :
I have not checked on my x86 machine yet but maybe this is architecture specific...
*edit*
This also happens on my x86...
I tried to trace the server-thread but I could not find anything useful in it's output...
If I find out about this, I'll post...
daper
Sun, 2007-03-04 19:23
Permalink
Can you use the core file
Can you use the core file and get the back trace?
--
Damian Pietras - MOC developer
hiben
Mon, 2007-03-05 12:34
Permalink
Okay, this is more clear
Okay, this is more clear now, I hope...
For both (streams and files) the segfault seems to come from a call to strlen :
Could this be a bug in the new on song change feature ? I have not set it up to do anything; maybe I should ?
*edit*
Yep... I just set OnSongChange = "/usr/bin/true" and now it plays...
This should be easy to fix... ;-)
daper
Mon, 2007-03-05 15:37
Permalink
I can't reproduce that, but
I can't reproduce that, but please try the following patch:
--
Damian Pietras - MOC developer
hiben
Mon, 2007-03-05 15:52
Permalink
Yes. This works for me. :-)
Yes. This works for me. :-)
riesebie
Mon, 2007-03-05 17:11
Permalink
Works great!
Testet with:
aac, flac (1.1.2), mp3, mpc, ogg, spx, wav, wma, mod
on both i386 and ppc.
Unofficial debs are available:
deb http://www.lxtec.de/debarchiv unstable main
deb-src http://www.lxtec.de/debarchiv unstable main
Damian, could youplease update http://moc.daper.net/download to the above mentioned sources.list entries?
Thanks
Elimar
--
The path to source is always uphill ;-)
daper
Mon, 2007-03-05 19:37
Permalink
Done, thanks. -- Damian
Done, thanks.
--
Damian Pietras - MOC developer
samoht
Sun, 2007-03-11 15:07
Permalink
Could you please provide an
Could you please provide an escape for the track-length in the configfile? (maybe %l?)
This would make it pretty easy to talk to lastfmsubmitd with "OnSongChange".
Nonetheless, great release. Thanks!
daper
Sun, 2007-03-11 17:48
Permalink
Yes, it's not so hard, I'll
Yes, it's not so hard, I'll add it in the next release.
--
Damian Pietras - MOC developer
phini
Sat, 2007-04-14 18:56
Permalink
Good job!
Everything works great! Waiting for a last.fm plugin :)
And here are packages for KateOS (TGZex):
Repositories:
http://kateos.org/download/packages/dist3-community-stable/
http://kateos.org/download/packages/dist3-community-unstable/
--
Currently packages are in unstable repo.
www.kateos.org
daper
Sun, 2007-04-15 08:25
Permalink
Nice, thanks :) Are those
Nice, thanks :)
Are those URL's ready to appear at the download page of this site? I don't know KateOS and don't know how packages work in this OS, posting these URLs is enough?
--
Damian Pietras - MOC developer
phini
Sun, 2007-04-15 10:02
Permalink
On download page should be
On download page should be something like this:
------
Add following repositories to /etc/updateservers (or unhash, if you already have them):
http://kateos.org/download/packages/dist3-community-stable/
http://kateos.org/download/packages/dist3-community-unstable/
Install by typying:
# updateos -i mocp
------
PS: Packages are tested.
daper
Sun, 2007-04-15 16:34
Permalink
I've added this information
I've added this information to the download page. If you are the author of the packages, say what is your name if you want to be mentioned there.
--
Damian Pietras - MOC developer
phini
Sun, 2007-04-15 17:57
Permalink
Yes, I'm the author of the
Yes, I'm the author of the packages, but I want to stay "anonymous" :)
Pozdrawiam :)
daper
Sun, 2007-04-15 19:52
Permalink
Twój wybór :) -- Damian
Twój wybór :)
--
Damian Pietras - MOC developer
clustie
Mon, 2007-07-16 13:40
Permalink
Bug with directory names recoding.
Everything is allright with filenames and directory names in filebrowser with patch from Alexey Gladkov. But title of filebrowser still contains #####...