aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* storedplaylist is now the last stored mtimeQball Cow2007-08-201-14/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6777 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* ok, this time correctQball Cow2007-08-201-4/+5
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6776 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* just testing3Qball Cow2007-08-203-11/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6775 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* just testing3Qball Cow2007-08-201-0/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6774 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* just testingQball Cow2007-08-201-0/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6773 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* just testingQball Cow2007-08-201-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6772 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* just testingQball Cow2007-08-201-0/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6771 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* just testingQball Cow2007-08-201-2/+10
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6770 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* just testingQball Cow2007-08-201-2/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6769 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Add 'lsplaylists' commandQball Cow2007-08-201-2/+10
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6768 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* some fixedQball Cow2007-08-191-5/+8
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6767 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Custom patch to add a playlist versioning number, needs testing2Qball Cow2007-08-191-1/+0
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6766 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Custom patch to add a playlist versioning number, needs testingQball Cow2007-08-193-1/+43
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6765 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Add some commentsQball Cow2007-08-191-0/+8
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6764 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Adding the simple patch 1534Qball Cow2007-08-192-1/+8
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6762 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix endianessQball Cow2007-08-191-0/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6761 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* endian fixQball Cow2007-08-191-1/+21
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6760 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* grr svnQball Cow2007-08-191-0/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6759 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Add kodest wavpack streaming patchQball Cow2007-08-193-36/+175
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6758 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Queue patchQball Cow2007-08-195-1/+257
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6757 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Branch mpdQball Cow2007-08-190-0/+0
| | | git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6756 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* decode: close audio device after initial open if pausedJ. Alexander Treuman2007-08-121-1/+5
| | | | | | | | | | Currently, if we start decoding while the pause flag is set, we open the audio device and leave it opened, blocking other apps from using it. The obvious thing to do is to not open the audio device if the pause flag is set, but the open call also sets the audio format. Therefore I'm leaving the open call in, and just closing it immediately afterwards if the pause flag is set. git-svn-id: https://svn.musicpd.org/mpd/trunk@6745 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* decode: reformatting for better readabilityJ. Alexander Treuman2007-08-121-6/+9
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@6742 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* audioOutputs/audioOutput_shout: adding timers backJ. Alexander Treuman2007-08-111-27/+80
| | | | | | | The shout plugin will now feign playback until the connect timeout is hit, preventing connection attempts from blocking playback on local outputs. Note that this patch is very different from remiss' original one. git-svn-id: https://svn.musicpd.org/mpd/trunk@6738 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Cleanup a outcommented debug statementQball Cow2007-08-111-5/+0
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@6736 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Extra debug outputQball Cow2007-07-161-3/+16
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@6689 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* log: flush the warning log after redirecting stderr to the log filesJ. Alexander Treuman2007-06-291-0/+1
| | | | | | | | | | Previously, the warning log was only flushed if creating the db or logging to stdout. This meant that under normal circumstances (no db creation, logging to files) the warning log was never flushed. This caused a bug when a warning was printed for each call to the status command where the warning buffer would grow endlessly, eventually using more and more CPU to reallocate it. git-svn-id: https://svn.musicpd.org/mpd/trunk@6660 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* replayGain: adding DEBUG messages when computing scaleJ. Alexander Treuman2007-06-251-0/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@6658 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* inputPlugins/wavpack_plugin: enable ReplayGain codeJ. Alexander Treuman2007-06-251-14/+3
| | | | | | Turns out the fix was as simple as specifying the OPEN_TAGS flag when opening the file. Thanks again to Kodest for figuring this one out. git-svn-id: https://svn.musicpd.org/mpd/trunk@6657 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* inputPlugins/wavpack_plugin: adding dummy code for ReplayGain supportJ. Alexander Treuman2007-06-251-4/+84
| | | | | | | | | This ReplayGain code is currently disabled because WavpackGetTagItem can't seem to find replaygain_* fields in APEv2 tags (which is how wvgain stores ReplayGain values). Additionally, because APEv2 tags are stored at the end of the file, this code is only implemented for regular files and not HTTP streams. Using HTTP seeking it *may* be possible to implement it for both. git-svn-id: https://svn.musicpd.org/mpd/trunk@6656 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* decode: prefer fileDecodeFunc over streamDecodeFunc for filesJ. Alexander Treuman2007-06-251-9/+10
| | | | | | | | | Only wavpack implements both fileDecodeFunc and streamDecodeFunc, and it's fileDecodeFunc provides more functionality. So try using that first. This commit also fixes a bug where the plugin test loop wouldn't break once a suitable plugin was found if it used fileDecodeFunc. git-svn-id: https://svn.musicpd.org/mpd/trunk@6655 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Updating Kodest's name/email.J. Alexander Treuman2007-06-252-2/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@6654 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Check for pkg-config unconditionally. It might not be needed if we disableJ. Alexander Treuman2007-06-241-5/+1
| | | | | | a ton of optional functionality, but it's getting hard to keep track of it all. So let's just be lazy. git-svn-id: https://svn.musicpd.org/mpd/trunk@6653 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Updating some ./configure --help text.J. Alexander Treuman2007-06-241-2/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@6652 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Adding WavPack support. Patch courtesy Kodest.J. Alexander Treuman2007-06-247-2/+446
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@6651 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Use parsePath for the fifo output's path parameter.J. Alexander Treuman2007-06-131-9/+9
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@6623 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Adding parsePath and making parseConfigFilePath use it.J. Alexander Treuman2007-06-133-48/+65
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@6622 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Adding FIFO audio output. This is pretty much identical to the old one,J. Alexander Treuman2007-06-137-2/+330
| | | | | except that it now uses a timer for throttling. git-svn-id: https://svn.musicpd.org/mpd/trunk@6621 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Adding some ChangeLog entries.J. Alexander Treuman2007-06-121-0/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@6558 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Use <= when comparing (current time - start time) to a timeout. This wayJ. Alexander Treuman2007-06-121-2/+2
| | | | | | | if the clock ticks right after we get the start time and the timeout is only one second, we'll still wait a full second instead of returning immediately. git-svn-id: https://svn.musicpd.org/mpd/trunk@6557 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Make the shout timeout configurable. The default is still 2 seconds.J. Alexander Treuman2007-06-123-2/+18
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@6556 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Redoing remiss's shout patch. This time, just block on open() instead ofJ. Alexander Treuman2007-06-123-106/+30
| | | | | | | | | | | | | pretending to play while we wait for the connection to timeout. This removes the need for timers, and thus removes the now unnecessary timer_get_runtime_* function(s) from the timer code. The changes made compared to the pre-patch shout plugin are: * Block while connecting, timing out after 2 seconds. * Close the device, and not just the connection, if play returns -1. * Remove sd->last_err (it's always assigned before use). * Some minor cleanups. git-svn-id: https://svn.musicpd.org/mpd/trunk@6555 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Load shout first instead of last. This makes it more likely to block otherJ. Alexander Treuman2007-06-122-2/+2
| | | | | | | outputs, which is actually desired behaviour. This way if the shout server takes a while to respond, the shout output can block until connected without messing up other audio outputs. git-svn-id: https://svn.musicpd.org/mpd/trunk@6554 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Load the shout plugin last. This will make sure it's played to last,J. Alexander Treuman2007-06-102-2/+2
| | | | | reducing the likelyhood of it blocking other outputs. git-svn-id: https://svn.musicpd.org/mpd/trunk@6543 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* If an audio output is in state DEVICE_ENABLE, and openAudioOutput fails,J. Alexander Treuman2007-06-091-6/+10
| | | | | | | | | leave it in that state. Likewise, if an audio output is in state DEVICE_ON, and reopening the device due to a format change fails, change it to state DEVICE_ENABLE. This will prevent flushAudioBuffer from even attempting to play audio on a closed device (even though it would fail anyway). git-svn-id: https://svn.musicpd.org/mpd/trunk@6529 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Tidying up some code.J. Alexander Treuman2007-06-091-17/+10
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@6527 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Remove a useless if (quit) block. It's enclosed in two while loops: theJ. Alexander Treuman2007-06-091-4/+0
| | | | | | | top depending on !quit, which doesn't set it anywhere before the if (quit) block is reached, and the inner one which doesn't set quit at all. Since it's a local variable and can't be modified externally, it'll never be hit. git-svn-id: https://svn.musicpd.org/mpd/trunk@6524 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* This should resolve some of the timing issues experienced after switching ↵Roger Bystrøm2007-06-091-8/+76
| | | | | | | | | | | from blocking to non-blocking shout api * Wait ten seconds before declearing the shout server unreachable * Fix a state where it would never attempt to connect if it had previously failed It isn't perfect yet, but I'd like some testing on it from other setups git-svn-id: https://svn.musicpd.org/mpd/trunk@6523 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* switching to us instead of ms on runtimeRoger Bystrøm2007-06-092-3/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@6522 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added timer_get_runtime_ms to know how long the timer has been runningRoger Bystrøm2007-06-092-1/+10
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@6521 09075e82-0dd4-0310-85a5-a0d7c8717e4f