Commit Graph

910 Commits

Author SHA1 Message Date
Warren Dukes f468aba16e new command "addid", this is the same as "add" command, except it also returns the songid of the added song. Note that "addid" does not work on directories
git-svn-id: https://svn.musicpd.org/mpd/trunk@2487 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 23:44:33 +00:00
Warren Dukes 78c5d884d2 new command "devices", prints devices and their states
git-svn-id: https://svn.musicpd.org/mpd/trunk@2486 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 23:08:00 +00:00
Warren Dukes 44eb26c16f new commands: enalbe_device, and disable_device, (maybe these commands should be toggles instead of two seperate commands?)
also, on close device, close the shout connection

git-svn-id: https://svn.musicpd.org/mpd/trunk@2485 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 22:13:58 +00:00
Warren Dukes 69176148bf enabling and disabling individual audioOutputs is mostly done, just need
to add the command hooks

git-svn-id: https://svn.musicpd.org/mpd/trunk@2484 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 21:48:53 +00:00
Warren Dukes 8b08ee82b4 begin work on avuton's disabling and enabling of individual audio outputs
git-svn-id: https://svn.musicpd.org/mpd/trunk@2483 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 21:06:44 +00:00
Warren Dukes 54679d9028 rewrite replaygain code, needs testing
git-svn-id: https://svn.musicpd.org/mpd/trunk@2482 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 19:56:59 +00:00
Warren Dukes 1d105d126e todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@2481 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 18:58:20 +00:00
Warren Dukes 8dcd31e19f todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@2480 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 18:54:30 +00:00
Warren Dukes bc3019dc69 make http buffer and prebuffer size configurable
git-svn-id: https://svn.musicpd.org/mpd/trunk@2479 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 18:53:38 +00:00
Warren Dukes d89a48aaa2 DEBUG statement that prints out which ao driver is being used
git-svn-id: https://svn.musicpd.org/mpd/trunk@2478 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 18:31:54 +00:00
Warren Dukes baf8efff5b disable shout support if vorbis not found
git-svn-id: https://svn.musicpd.org/mpd/trunk@2477 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 17:20:07 +00:00
Warren Dukes c1bbb35f58 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@2476 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 17:14:41 +00:00
Warren Dukes a6848582d0 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@2475 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 17:06:05 +00:00
Warren Dukes ee5d5d6330 abstract out audioFormat conversion from shout plugin to the audioOutput layer,
now format can be specified for each different audioOutput device

git-svn-id: https://svn.musicpd.org/mpd/trunk@2474 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 17:05:27 +00:00
Warren Dukes 0298239770 print more info out in error messages for shout
git-svn-id: https://svn.musicpd.org/mpd/trunk@2473 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 13:45:38 +00:00
Warren Dukes 2c9b50cabd only attempt to reconnect to shout server every 60 seconds
git-svn-id: https://svn.musicpd.org/mpd/trunk@2472 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 13:26:50 +00:00
Warren Dukes 82cb5e0931 move audioOutput dir to audioOutputs
git-svn-id: https://svn.musicpd.org/mpd/trunk@2471 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 12:50:53 +00:00
Warren Dukes 0adfd8ae76 move audioOutput plugins to audioOutput directory
git-svn-id: https://svn.musicpd.org/mpd/trunk@2470 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 12:46:52 +00:00
Warren Dukes ebc4418e01 oops, a typo, but that's ok, i'm still da man
git-svn-id: https://svn.musicpd.org/mpd/trunk@2468 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 05:30:16 +00:00
Warren Dukes 1d939538eb a few extra strerror()'s sprinkled in the code
git-svn-id: https://svn.musicpd.org/mpd/trunk@2467 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 05:29:22 +00:00
Warren Dukes 46792b175f todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@2466 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 04:52:45 +00:00
Warren Dukes 2bb238cde9 does this make you happy normalperson, is this the way you like it, do you like it like this?
git-svn-id: https://svn.musicpd.org/mpd/trunk@2465 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 03:25:23 +00:00
Warren Dukes 14bcd3f93b update ChangeLog with 0.11.5 changes
git-svn-id: https://svn.musicpd.org/mpd/trunk@2463 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 03:17:49 +00:00
Warren Dukes c269e18813 now np's OSS stuff actually works
git-svn-id: https://svn.musicpd.org/mpd/trunk@2459 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 02:03:00 +00:00
Warren Dukes b0d7d6b06f don't use managed mode for cbr
git-svn-id: https://svn.musicpd.org/mpd/trunk@2458 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 01:25:06 +00:00
Warren Dukes 5ffa401e74 haha! you thought you had me, but i found your ass, double _init() on the vorbis encoder
git-svn-id: https://svn.musicpd.org/mpd/trunk@2456 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-01 22:54:44 +00:00
Warren Dukes 6d7e6a8581 fix a memory leak if write_page() fails in openShoutConn()
git-svn-id: https://svn.musicpd.org/mpd/trunk@2455 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-01 20:23:00 +00:00
Warren Dukes 023fba803a something
git-svn-id: https://svn.musicpd.org/mpd/trunk@2453 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-01 20:02:08 +00:00
Warren Dukes eefe9df34e sendMetadata on reconnecting after a disconnection
git-svn-id: https://svn.musicpd.org/mpd/trunk@2447 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-01 16:58:06 +00:00
Warren Dukes 94dc65d516 set open = 0 on failing to open the connection
git-svn-id: https://svn.musicpd.org/mpd/trunk@2446 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-01 15:56:33 +00:00
Warren Dukes 5f219d925c some minor tweaks, and a minor memory leak plugged
git-svn-id: https://svn.musicpd.org/mpd/trunk@2445 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-01 14:56:32 +00:00
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