Commit Graph

679 Commits

Author SHA1 Message Date
Warren Dukes 42e147a1f8 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@2444 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-01 14:12:23 +00:00
Warren Dukes 8cb147764b bad shank, don't set ao->open in openShoutConn(), bad shank
this should fix a few bugs, possibly the memory leak

git-svn-id: https://svn.musicpd.org/mpd/trunk@2442 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-01 13:21:10 +00:00
Warren Dukes fab2bef87a fix a config file error
git-svn-id: https://svn.musicpd.org/mpd/trunk@2435 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-31 15:54:21 +00:00
Warren Dukes 19a700b78b we need to initialize interface_max_connections to 0, to indicate we have no open/possible interfaces for interfacePrintWithFD() (i.e. so we don't get a segfault when creating the db, or other potential problems)
git-svn-id: https://svn.musicpd.org/mpd/trunk@2434 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-31 15:37:54 +00:00
Warren Dukes 0cf6a8c96a fix minor bug in shout code (seting ao->open = 1 when failing to initEncoder())
git-svn-id: https://svn.musicpd.org/mpd/trunk@2431 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-31 15:02:29 +00:00
Warren Dukes aba67249cb if a home directory is available for 'user', set env variable $HOME
git-svn-id: https://svn.musicpd.org/mpd/trunk@2426 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-31 04:34:54 +00:00
Warren Dukes 38ade145bc use random() instead of rand()
git-svn-id: https://svn.musicpd.org/mpd/trunk@2420 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-30 14:33:19 +00:00
Warren Dukes fb2c5f5d5f oops, forgot to commit changes to configure.ac
git-svn-id: https://svn.musicpd.org/mpd/trunk@2414 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-30 04:19:30 +00:00
Warren Dukes 1d34894f71 finish integrating in np's oss stuff
git-svn-id: https://svn.musicpd.org/mpd/trunk@2413 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-30 04:19:11 +00:00
Warren Dukes 657bec26b1 update default mpdconf.example to use default ao output
git-svn-id: https://svn.musicpd.org/mpd/trunk@2407 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-29 18:28:06 +00:00
Warren Dukes 59bd973de5 listallinfo now prints out directories
git-svn-id: https://svn.musicpd.org/mpd/trunk@2399 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-29 16:38:42 +00:00
Warren Dukes 348a1fb373 allow to set quality or bitrate for shout streams
NOTE: setting bitrate uses significantly more CPU for doing the encoding

git-svn-id: https://svn.musicpd.org/mpd/trunk@2396 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-29 13:33:51 +00:00
Warren Dukes 40917e6f59 a few more changes to oss code
git-svn-id: https://svn.musicpd.org/mpd/trunk@2395 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-29 04:11:10 +00:00
Warren Dukes 9906d3a7b2 begin integrating np's oss code
git-svn-id: https://svn.musicpd.org/mpd/trunk@2394 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-29 03:30:23 +00:00
Warren Dukes 94ee53178d oops, forgot the parse the state_file as a path
git-svn-id: https://svn.musicpd.org/mpd/trunk@2383 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-28 17:16:55 +00:00
Warren Dukes d79f3110b5 when sending metadata to audiodevice, put filename in title if no tag data is found
git-svn-id: https://svn.musicpd.org/mpd/trunk@2381 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-28 14:51:48 +00:00
Warren Dukes 82625dbf1a always set open = 0 on closeDevice
git-svn-id: https://svn.musicpd.org/mpd/trunk@2380 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-28 12:58:20 +00:00
Warren Dukes b7755020a3 TODO update
git-svn-id: https://svn.musicpd.org/mpd/trunk@2379 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-28 11:53:51 +00:00
Warren Dukes ac44e94f2f fix user being parsed as a path
git-svn-id: https://svn.musicpd.org/mpd/trunk@2377 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-28 05:30:22 +00:00
Warren Dukes a5e3445697 fix a little bug with audio device being closed on song change, oops
git-svn-id: https://svn.musicpd.org/mpd/trunk@2376 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-28 05:22:22 +00:00
Warren Dukes 58dbe4bb5d merge shank-rewrite-config changes
git-svn-id: https://svn.musicpd.org/mpd/trunk@2375 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-28 05:14:55 +00:00
Warren Dukes 8f40569aee todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@2356 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-27 16:13:11 +00:00
Warren Dukes 082d272157 fix compilation error when shout is not found
git-svn-id: https://svn.musicpd.org/mpd/trunk@2351 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-26 17:49:27 +00:00
Avuton Olrich 9b2529360d Added ao_driver options to help the user pick what they need, also told to refer to libao docs for more info
git-svn-id: https://svn.musicpd.org/mpd/trunk@2350 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-26 17:40:57 +00:00
Warren Dukes f20de32d0d fix segfault when reconnecting to icecast server, this was due to error sending metadata and not checking afterward if connection is open still
git-svn-id: https://svn.musicpd.org/mpd/trunk@2349 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-26 12:56:10 +00:00
Warren Dukes d9c8994319 add shout* stuff to exampe mpd config file
git-svn-id: https://svn.musicpd.org/mpd/trunk@2348 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-26 03:47:31 +00:00
Warren Dukes 2a165ca826 also, don't need the device open to send the metadata
git-svn-id: https://svn.musicpd.org/mpd/trunk@2347 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-26 02:33:09 +00:00
Warren Dukes 547448eee9 lets try this soltuion to sending metadata, here we store metadata to send on the next shout_play
git-svn-id: https://svn.musicpd.org/mpd/trunk@2346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-26 02:32:37 +00:00
Warren Dukes 91c7621376 undo last changes
git-svn-id: https://svn.musicpd.org/mpd/trunk@2345 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-26 02:13:13 +00:00
Warren Dukes a494bd73d8 try to fix metadata on initially playing (metadata being sent before device is open)
git-svn-id: https://svn.musicpd.org/mpd/trunk@2344 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-26 02:00:17 +00:00
Warren Dukes a2dbae4884 some shout cleanups
git-svn-id: https://svn.musicpd.org/mpd/trunk@2343 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-25 22:41:46 +00:00
Warren Dukes 0da404ebb2 little more robust error handling
git-svn-id: https://svn.musicpd.org/mpd/trunk@2341 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-25 21:36:08 +00:00
Warren Dukes 61a88f1692 stream name maybe icy-name or ice-name in the http headers
git-svn-id: https://svn.musicpd.org/mpd/trunk@2339 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-25 20:52:28 +00:00
Warren Dukes fececcea3c parse metadata and send to output when playing another stream
git-svn-id: https://svn.musicpd.org/mpd/trunk@2338 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-25 20:11:35 +00:00
Warren Dukes ce10ba4b11 fix a big time bug in metadataChunk (off by one in an array assignment)
also, now we have metadata in our streams

git-svn-id: https://svn.musicpd.org/mpd/trunk@2337 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-25 20:09:03 +00:00
Warren Dukes b6bcc65a45 shout_sync before shout_send, not after
git-svn-id: https://svn.musicpd.org/mpd/trunk@2318 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-23 16:20:38 +00:00
Warren Dukes 8dbbea8598 slightly better error handling/broken connection detection for shout output
git-svn-id: https://svn.musicpd.org/mpd/trunk@2316 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-23 15:25:42 +00:00
Warren Dukes 23c59e8cda wee found the audioFormatConversion bug, was actually a bug in shout plugin
git-svn-id: https://svn.musicpd.org/mpd/trunk@2311 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-23 12:58:59 +00:00
Warren Dukes 480023201a ok, resampling and converting to mono no works
git-svn-id: https://svn.musicpd.org/mpd/trunk@2309 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-23 02:40:03 +00:00
Warren Dukes 12597322a2 configure shout encoding quality and audio format
git-svn-id: https://svn.musicpd.org/mpd/trunk@2307 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-23 01:04:58 +00:00
Warren Dukes 413bf61ea1 fix a snafoo in configure.ac
git-svn-id: https://svn.musicpd.org/mpd/trunk@2306 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-22 23:12:52 +00:00
Warren Dukes 36a2d853bd use vbr for now, less cpu usage for some reason
git-svn-id: https://svn.musicpd.org/mpd/trunk@2304 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-22 20:43:20 +00:00
Warren Dukes cffe4c00db todo and configure script updates
git-svn-id: https://svn.musicpd.org/mpd/trunk@2301 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-22 19:47:05 +00:00
Warren Dukes 7b57a99583 initial working shout output
git-svn-id: https://svn.musicpd.org/mpd/trunk@2300 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-22 19:40:09 +00:00
Warren Dukes 5b7a1419b9 on finishAudioDriver, be sure to set shoutOutput = NULL
git-svn-id: https://svn.musicpd.org/mpd/trunk@2296 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-22 17:58:12 +00:00
Warren Dukes d021f6b042 this really fixes pause
git-svn-id: https://svn.musicpd.org/mpd/trunk@2294 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-22 16:16:39 +00:00
Warren Dukes d171fe9a2f fix segfault when resuming from pause
git-svn-id: https://svn.musicpd.org/mpd/trunk@2293 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-22 15:19:35 +00:00
Warren Dukes 8502eeee6e check HAVE_SHOUT
git-svn-id: https://svn.musicpd.org/mpd/trunk@2287 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-20 23:08:40 +00:00
Warren Dukes 41e81dbca0 i changed somethin *shrug*
git-svn-id: https://svn.musicpd.org/mpd/trunk@2286 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-20 21:09:04 +00:00
Warren Dukes 72a7740fd5 shout audioOutput will now connect and disconnect from icecast server
git-svn-id: https://svn.musicpd.org/mpd/trunk@2285 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-20 20:41:21 +00:00