Michael Blumenkrantz | 12 Nov 05:18 2014
Picon

Updated/Added files listing

Hi,

I asked on IRC about this and didn't get a definitive answer. I'm currently working on an MPD client, and, as a
feature, I would like to have the ability to automatically add to the queue any songs as they are added to the
MPD database (inotify updating).

I'd rather not do something hacky like trying to parse the log file, but it seems that there's no other way to
get information about files that have been updated or added to the database.

The suggestion that I did receive, which was almost functional for this purpose, was to use a
"modified-since" filter on a find/search command. Unfortunately, this only shows the file's last
modification date and has nothing to do with server updates. If a file which was last modified a year ago is
suddenly added to the database, it's last modified date will still be last year, and so it seems that this is
not quite what I'm looking for.

Is there some way to get this info using the protocol?

Thanks,
Mike
_______________________________________________
mpd-devel mailing list
mpd-devel <at> musicpd.org
http://mailman.blarg.de/listinfo/mpd-devel
Ted Yin | 13 Nov 03:09 2014
Picon

Hi! I'd like to contribute to MPD dev

Hi everyone,

I’m a fanatic MPD user. Recently I’m interested in providing with extra functionalities instead of solely using the software. My first try is to write a client which triggers a command when MPD changes its state: https://github.com/Determinant/mpd_trigger It’s simple, actually I just spent two afternoon working on it. Now I’m motivated to try something more challenging. As I remember, since I started to use MPD, I have wished if there could be a fade in/fade out effect when a song starts to play or is being paused, which will definitely more comfortable to users’ ears. Actually, as I know, there is a “cross fading” effect already incorporated into MPD. However, the simple fade in/fade out effect is still missing. So I wonder if I could implement that. As a junior college student, I couldn’t guarantee being always working on it. But maybe when I get free weekends, things would be done very soon. 

Should I start from reading the doc inside the project root directory? 

Thanks,

Ted Yin
_______________________________________________
mpd-devel mailing list
mpd-devel <at> musicpd.org
http://mailman.blarg.de/listinfo/mpd-devel
Rory McNamara | 11 Nov 17:15 2014
Picon

[Patch] Least unambiguous commands.

Hi, I've written a patch to allow you to run a command based on the least unambiguous portion of the command name. For example, prev can be called with pr, pre or prev, but not p becuase of play and playlist.

The patch is attached.

Thanks
Rory McNamara
Attachment (least_unambiguous.patch): text/x-patch, 2545 bytes
_______________________________________________
mpd-devel mailing list
mpd-devel <at> musicpd.org
http://mailman.blarg.de/listinfo/mpd-devel
Misty De Meo | 11 Nov 04:38 2014
Picon

[PATCH] Main: fix compilation on OS X using non-Apple compilers

Commit d42c0f1dc5063d50a62817b63a1c2a4507c46071 added an OS X-specific
method of calling mpd_main_after_fork(), which uses Grand Central
Dispatch. Since this uses a block literal, it breaks compilation on
compilers which don't support the block extension, e.g. non-Apple
compilers. This affects users on older OS X releases with GCD (which
depend on older Clang releases, or Apple GCCs, which don't support the
C++11 features MPD needs); or which don't support GCD at all (10.5 and
lower).

The attached patch changes the #ifdef so that the non-GCD code is used
as it was on OS X before this patch if blocks aren't available, via
checking __BLOCKS__ macro.

Best,
Misty
_______________________________________________
mpd-devel mailing list
mpd-devel <at> musicpd.org
http://mailman.blarg.de/listinfo/mpd-devel
Michael Paquier | 5 Nov 13:27 2014
Picon

Small doc patch for mpc

Hi all,

While looking at the documentation of mpc, I found a small typo. Patch is attached.
Thanks,
--
Michael
_______________________________________________
mpd-devel mailing list
mpd-devel <at> musicpd.org
http://mailman.blarg.de/listinfo/mpd-devel
Max Kellermann | 3 Nov 08:37 2014

Re: patch for extra sox recipes in SoxrResampler.cxx

On 2014/10/26 15:54, Frederic Vanden Poel <info <at> klinktbeter.be> wrote:
> Here's a new version. Not sure how to properly format comments in the
> heading lines of the patch, but the info should be
> 
> "add new soxr recipes: libsamplerate equivalent SOXR_LSR0Q, SOXR_LSR1Q
> and SOXR_LSR2Q"

Now where's all the information from your first email?
Max Kellermann | 3 Nov 08:15 2014

Licensing conflict with libmp4v2

Hi Andree,

the Debian project has found a licensing conflict between MPD and libmp4v2:

 http://bugs.debian.org/767504

Because you submitted the plugin to MPD, I'd like you to figure out a
solution.  As I wrote in reply to the Debian bug report, the plugin
must be deleted from MPD (0.19.3) if the libmp4v2 project does not
switch to a license that is compatible with MPD's.

Max
Jim Salk | 19 Jan 15:55 2014
Picon

Static on playback

I have used ALSA/MPD for a few years now with great success.  But I recently ran into DACs that do not appear to work with this setup.  They are rated up to 24/96 with a USB input.

 

The first DAC in question is a Jeff Roland Aeris DAC.  This DAC costs about $6000 (although price is not always a good measure of performance).

 

When the customer hooked up his player via USB, the volume was very low and there was random static in the playback.  We contacted Jeff Roland and they put us in touch with a gentleman named Thomas Holm of Holm Acoustics.  Since I was in the US and the customer in question was in Australia, Thomas suggested I pick up a Parasound ZDAC for testing (which I did).  He indicated that he worked on both USB interfaces and the Parasound unit used the same enumeration as the Aeris DAC.

 

When I tested the Parasound DAC, I got the same results.  While the volume was not an issue, static interrupted the music randomly, more so toward the beginning of each music cut but randomly throughout.

 

Both of these DACs are said to work under both MAC and Linux.  But neither seems to play nice with Linux (Voyage MPD 0.9.2 - the latest version).

 

These DACs are not USB Class 2.0 audio.  According to Thomas, they are USB 1.1.

 

Is there anything I can do to get these DACs working properly with ALSA/MPD?

 

- Jim

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team
Marcello Desantis | 19 Jan 13:14 2014
Picon

Music corruption when playing http://... WAV files - Analysis

Hi all,

when I try to play a WAV file streamed by a media server I get a corrupted playback. The same file, retrieved
with "curl -o … http://…" and played as a local file works flawlessly.

Further investigations show that it is due to a bad interaction between the CurlInputPlugin and the
libsndfile library used to decode the stream.

The problem itself is very simple: libsndfile needs that the read function in CurlInputPlugin return a
number of bytes that is a multiple of the frames size of the WAV file being decoded (4, 6 or 8 bytes for 16, 24,
32 bit depth, respectively, for a 2 channel PCM stream). If the read function doesn’t return whole
frames, libsndfile discards the last “remaining” bytes of the returned buffer and the corruption occurs.

So the different behavior between the http stream and the local file is easily explained: CurlInputPlugin
doesn’t always return the requested number of bytes whereas FileInputPlugin always returns the
requested number of bytes, making libsndfile happy.

I tried to think to several solutions, but as long as the whole read functions chain doesn’t include a
“nbr of items” parameter, the only viable solution seems to be CurlInputPlugin block until the
request number of bytes can be returned to the caller (or EOF is reached).

Any comment?

Marcello
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
Charles Philip Chan | 16 Jan 02:55 2014
X-Face
Picon

Strange Problem with ALSA

Hello all:

I recent reported a strange ALSA output problem[1] on the tracker and I
don't see why it is closed. It has to do with permissions. I have my
"snd" devices setup with the following permissions:

,----[ ls -la /dev/snd ]
| drwxr-xr-x   4 root root      260 Jan 15 19:06 .
| drwxr-xr-x  21 root root     4620 Jan 15 19:09 ..
| drwxr-xr-x   2 root root       60 Jan 15 19:06 by-id
| drwxr-xr-x   2 root root       80 Jan 15 19:06 by-path
| crw-rw----+  1 root audio 116,  6 Jan 15 19:06 controlC0
| crw-rw----+  1 root audio 116,  8 Jan 15 19:06 controlC1
| crw-rw----+  1 root audio 116,  5 Jan 15 19:06 pcmC0D0c
| crw-rw----+  1 root audio 116,  4 Jan 15 19:06 pcmC0D0p
| crw-rw----+  1 root audio 116,  3 Jan 15 19:06 pcmC0D1p
| crw-rw----+  1 root audio 116,  2 Jan 15 19:06 pcmC0D2p
| crw-rw----+  1 root audio 116,  7 Jan 15 19:06 pcmC1D0c
| crw-rw----+  1 root audio 116,  1 Jan 15 19:06 seq
| crw-rw----+  1 root audio 116, 33 Jan 15 19:06 timer
`----

,----[ ps -aux | grep ^mpd ]
| mpd      11035  0.1  0.4 581228 16508 ?        Ssl  20:37   0:00 /usr/bin/mpd /etc/mpd.conf
`----

and I have MPD in the "audio" group. I verify that I can play sound from
the MPD account:

,----
| sudo -u mpd ogg123 /usr/share/sounds/KDE-Sys-App-Error.ogg
`----

However, this is what I get in my log when I try playing from the
daemon:

,----
| Failed to open "My ALSA Device" [alsa]: Failed to open ALSA device
| "default": Permission denied
`----

However, it works if I give every account permission to output audio
This used to work with the previous version that I was using (0.14.0).

For reference, this is what a get if I trying playing from an account
not in the "audio" group:

,----
| ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
| ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_card_driver returned error:
Permission denied
| ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
| ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_concat returned error: Permission denied
| ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
| ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: Permission denied
| ALSA lib conf.c:4727:(snd_config_expand) Evaluate error: Permission denied
| ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
| === Could not load default driver and no driver specified in config file. Exiting.
`----

I am just curious as to what is going on here.

Thanks.

Charles

Footnotes: 
[1] http://bugs.musicpd.org/view.php?id=3937

--

-- 
"...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and
the Ugly)."
(By Matt Welsh)
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team
Aylin Toprak | 15 Jan 00:38 2014
Picon

[SPAM] Şirketinizi Toplu Mail ile Tanıtın

Bu maili görüntülemekte sorun yaşıyorsanız buraya tıklayınız

MAİL GÖNDERİM PAKETLERİMİZ

25.000 GÖNDERİM KREDİSİ: 100 TL
50.000 GÖNDERİM KREDİSİ: 175 TL

75.000 GÖNDERİM KREDİSİ: 250 TL
100.000 GÖNDERİM KREDİSİ: 325 TL
ÖZELLİKLER
Kontrol Paneli (Web)
Raporlama 8 adet
Üyelikten çıkma (otomatik)
Geçersiz mail kontrolü
Sınırsız liste oluşturma
Excel, Txt olarak mail yükleme
100 Farklı Class IP ve SenderScore yüksek olan IP lerle gönderim yapıyoruz. SPF,RDNS,DKIM ve bazı spam filtrelerine Whitelist olarak kayıtlı şekilde gönderimlerinizi yapıyoruz.
Wordpress,Joomla vb.. sitelerinize entegre edebilirsiniz.

Neden TOPLUMAILCIM.COM? Çünkü tek işimiz bu, 7/24 destek veriyoruz.Müşterilerimizi önemsiyoruz.

400.000 ve üzeri gönderimlerde Email Şablonunuz "Iphone, İpad, Android, Outlook vb." tarayıcılar tarafından sorunsuz olarak açılabilir şekilde tasarlıyoruz

Tel: 08503026277 - Web: www.toplumailcim.com

Tekrar mail almak istemiyorsanız lütfen buraya tıklayınız
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Gmane