Commit Graph

1182 Commits

Author SHA1 Message Date
Ron Pedde bccd2e473f Improve reload perforamnce by skipping db lookups on forced reload 2006-08-12 21:01:37 +00:00
Ron Pedde f7cc8ea470 Make flac and ogg transcode and scan properly for unicode filenames. 2006-08-11 05:33:54 +00:00
Ron Pedde 9defe79e42 make ssc-wma work with unicode file names (bad codepage in multibyte translation) 2006-08-11 03:40:36 +00:00
Ron Pedde 7554aabf90 Make path searches case insensitive 2006-08-09 05:16:06 +00:00
Ron Pedde 6c84e8863e Make RSP honor the correct_order flag 2006-08-07 05:06:23 +00:00
Ron Pedde 5acac92603 Skip background scan if a foreground scan just happened 2006-08-04 01:50:30 +00:00
Ron Pedde d2ba19d8ce Get rid of mangle_rendezvous option 2006-08-03 02:55:57 +00:00
Ron Pedde ca6bcec06e Inverted rendezvous test 2006-08-03 02:55:14 +00:00
Ron Pedde 9ca4ac55ba Fix for crash on empty extension, as reported by Denis in forums 2006-08-02 23:37:08 +00:00
Ron Pedde 287c35d25d disable updates pending implementation of incremental updats 2006-08-01 03:34:51 +00:00
Ron Pedde 7f38e5f6e1 Default correct_order to 1 2006-07-29 06:33:22 +00:00
Ron Pedde 714af4c9ce Minor fixes to limit memory used by wma scanner 2006-07-29 06:31:30 +00:00
Ron Pedde fe4742b026 Fix inverted test on whether or not the db revision was stable 2006-07-29 05:42:34 +00:00
Ron Pedde 90a6a39ce1 Add defensive index creation on startup, fix indexes for ordered query (and update schema), better startup after interrupted shutdown 2006-07-29 00:45:23 +00:00
Ron Pedde e54a8a1d9e Defer updates while db is changing 2006-07-29 00:18:00 +00:00
Ron Pedde 63d6df105f Make sure not to play data_kind 1 songs -- radio stations 2006-07-26 05:44:54 +00:00
Ron Pedde 0e84da1679 -Wall cleanups, fix correct_order flag 2006-07-25 03:49:36 +00:00
Ron Pedde dd5b5acdac Fix crash on TERM signal (unintialized memory) 2006-07-19 05:55:05 +00:00
Ron Pedde 1063187b27 roll back codectype tomfoolery in rsp.c 2006-07-19 05:21:45 +00:00
Ron Pedde ca259e8e12 Fix crash with no location in iTunes xml 2006-07-19 05:13:08 +00:00
Ron Pedde 916ad55eb5 Stat wrapper for os-unix, bring in sync with windows 2006-07-17 22:35:21 +00:00
Ron Pedde 5b18d69d28 Make win32 version file handling use wide character functions (for non-latin filenames) 2006-07-17 04:49:44 +00:00
Ron Pedde 840fe59997 Add -b option to manually set the ffid 2006-07-15 05:56:32 +00:00
Ron Pedde 581b8df5c7 Make server abort when a shutdown signal happens during a playlist or xml scan 2006-07-13 08:29:21 +00:00
Ron Pedde 2ea83c6f2e Fix problem where version wasn't being created properly on initial db 2006-07-13 03:13:24 +00:00
Ron Pedde 8954451434 Win32 fixes and cleanups 2006-07-12 23:07:03 +00:00
Ron Pedde b1a5f93987 Fix tab expansion 2006-07-12 22:52:50 +00:00
Ron Pedde 0d4bd16789 fix select timeout in rend-win32.c 2006-07-12 08:28:38 +00:00
Ron Pedde 26e4259332 split well-used utility functions into util.c 2006-07-12 04:39:11 +00:00
Ron Pedde 7a3a5ce3af Fix memory leak in scan-xml, closing #173 2006-07-12 04:10:21 +00:00
Ron Pedde e0162752d0 Make scanner stop in middle of scan 2006-07-11 05:54:42 +00:00
Ron Pedde d8bdbe234d Fix erroneous startup message 2006-07-09 23:03:20 +00:00
Ron Pedde a574c2f752 Add comment info from iTunes xml file 2006-07-07 22:53:03 +00:00
Ron Pedde d91ac3ff42 Exclude radio station metadata from browse info. Not sure this is entirely correct. Should it be a config option? 2006-07-07 22:24:48 +00:00
Ron Pedde c20b3e52e9 Make config file realpathed, fixing unwritable config file problem on mac 2006-07-07 20:36:24 +00:00
Ron Pedde 328a4861fb Stop using strftime on error logs, as it is defective on win32 -- fixes #158 2006-07-07 20:19:51 +00:00
Ron Pedde 2d7da86e8c Fix thinko in err.c, possibly fixing #165 2006-07-07 20:10:11 +00:00
Ron Pedde 8c0561f144 Fix os_apppath function, closing #185 2006-07-07 20:07:25 +00:00
Ron Pedde 817532fcf5 Add debugging to chase down "out of phandles" error. 2006-07-06 05:18:53 +00:00
Ron Pedde 534005fb70 Fix error messages in smart playlists, and verify updated clauses on edit 2006-06-30 05:33:35 +00:00
Ron Pedde 5873ce9bd7 Fix iTunes xml scanning 2006-06-30 05:17:06 +00:00
Ron Pedde 57d75bc35c Really REALLY fix the transcode playcount update 2006-06-30 05:10:13 +00:00
Ron Pedde 8ba331adae Fix cover art on win32, closing #167 2006-06-29 07:01:06 +00:00
Ron Pedde b3b3f2f39c Suppress errors when dep libs aren't present (wmvcore.dll for ssc-wma, for example). Should close ticket #177 2006-06-29 06:37:28 +00:00
Ron Pedde 554c72e1a6 Add db auto-upgrade back in 2006-06-29 06:21:41 +00:00
Ron Pedde c2ae17e635 Add type and disabled to all browse returns 2006-06-29 05:25:24 +00:00
Ron Pedde f5012295e8 make updates work with art_filename 2006-06-29 02:57:45 +00:00
Ron Pedde 607c4b7e61 Only scan xml files named iTunes music library 2006-06-28 05:57:22 +00:00
Ron Pedde 02664912f6 fix deadlock on smp (fingers crossed) 2006-06-28 05:29:41 +00:00
Ron Pedde 067d252f81 Fix index on path 2006-06-28 05:29:15 +00:00
Ron Pedde 6706895ea5 Minor logging fixes 2006-06-20 03:41:34 +00:00
Ron Pedde e20b851f2d Fix erroneous messages on bad playlists 2006-06-20 03:12:45 +00:00
Ron Pedde 5859bca5ac Fix crash on no user-agent, fixing ticket #164 2006-06-19 05:47:38 +00:00
Ron Pedde c926c05c6e Always log E_LOG or higher to syslog, closing #137 2006-06-19 05:16:32 +00:00
Ron Pedde ebeaed447e Maybe fix for deadlocks on smp 2006-06-19 05:06:25 +00:00
Ron Pedde 57d82a07d5 302 directory requests to the index page, closing ticket #157 2006-06-19 05:02:16 +00:00
Ron Pedde c9c0b4de9a multiple composer support (maybe) fixing #156 2006-06-19 04:45:03 +00:00
Ron Pedde 61d4ddff26 Make empty password not show a lock in iTunes, closing #155 2006-06-19 04:29:27 +00:00
Ron Pedde 5f3a12c351 Import streaming stations form iTunes XML file, closing ticket #130, add scan/correct_order to make static playlists return in correct order closing ticket #159 2006-06-19 04:25:08 +00:00
Ron Pedde ebbbc0acda Add shutdown method, closing ticket #121 2006-06-18 06:16:51 +00:00
Ron Pedde 28a0125a32 serve wma natively to soundbridge over daap 2006-06-17 05:36:03 +00:00
Ron Pedde fcae68c3a5 Fix crash on unknown config options 2006-06-16 06:57:19 +00:00
Ron Pedde cf9281f1e4 Fix bad forward declaration 2006-06-16 05:53:43 +00:00
Ron Pedde ce85c85aa0 win32 header fixes; cleanups. 2006-06-16 05:50:21 +00:00
Ron Pedde 1dc1257f2c add rescan/full rescan methods to xml-rpc for ticket #121 2006-06-15 07:10:05 +00:00
Ron Pedde 603ce10fae Attempt to fix #147 - long song lists hang soundbridge... need grommet to test 2006-06-15 04:26:01 +00:00
Ron Pedde a533430540 Another attempt at #153 2006-06-15 04:16:22 +00:00
Ron Pedde eb403982b8 Fix MAX_PATH/PATH_MAX issue, closing #153 2006-06-15 00:28:58 +00:00
Ron Pedde 97328767d8 Don't do startup scan (unless requested) when scan_interval is set to 0 2006-06-14 04:33:27 +00:00
Ron Pedde 52809bb712 add testing for stdint for uintXX_t 2006-06-14 04:19:17 +00:00
Ron Pedde 042a249c07 scanner framework update to include corefoundation 2006-06-13 08:13:08 +00:00
Ron Pedde 0b9505e63b Win32 cleanups for aiff support. 2006-06-13 05:49:22 +00:00
Ron Pedde 1948eef43d Purge unindexed music files after the song scan, fixing ticket #146. This needs much testing. 2006-06-13 05:48:30 +00:00
Ron Pedde bff6193572 Support for log truncation. 2006-06-13 05:45:58 +00:00
Ron Pedde 57debc0493 add support for POPM in mp3 files, closing ticket #149 2006-06-13 05:30:54 +00:00
Ron Pedde 166d351ad1 fix wm/shareduserrating 2006-06-13 02:57:45 +00:00
Ron Pedde a1e2bc3799 add -a switch for mac .app bundle 2006-06-13 02:27:21 +00:00
Ron Pedde d4b78197b2 Fix typo on art_filename (possibly fixing cover art?) closing #140 and #94 2006-06-12 06:53:56 +00:00
Ron Pedde d05c9ad5c2 Don't transcode alac to iTunes clients 2006-06-12 06:11:34 +00:00
Ron Pedde fc0cea1d49 first pass at aif support. Doesn't honor the ID3 block, but should get merged by the iTunes XML file. Closes #141 2006-06-12 05:41:36 +00:00
Ron Pedde ee5955cb30 logoing changes 2006-06-09 05:06:35 +00:00
Ron Pedde a1c2a47f2b Make event logs register correctly, turn down the select error on windows rendezvous, and fix crash on short mp3 files. 2006-06-08 10:10:23 +00:00
Ron Pedde c6075137bf Add wmav back in, make wma transocing for non-standard bitrates and samplerates. 2006-06-07 05:43:15 +00:00
Ron Pedde 606858a02f stop crash on unknown song_length 2006-06-07 04:38:54 +00:00
Ron Pedde 53125647d6 segv when error not set, thanks to kit from forums 2006-06-07 03:24:39 +00:00
Ron Pedde b36c4a12d6 Disable wma voice pending further debugging. 2006-06-06 05:22:54 +00:00
Ron Pedde 8f8a5a5cb7 Add plugin for wma transcoding based on windows media format 9.5 SDK. 2006-06-05 04:18:33 +00:00
Ron Pedde 15ae458b87 new codectype for wma voice 2006-06-05 03:37:33 +00:00
Ron Pedde 0554045c32 add framework for testing transcoder dlls 2006-06-04 09:31:32 +00:00
Ron Pedde 2ca9a89ccf add wmal and wmap codectypes for wma lossless and wma pro 2006-06-04 08:13:50 +00:00
Ron Pedde 2072b9eaf2 Calculate bitrate without header 2006-06-04 04:51:52 +00:00
Ron Pedde d2bb534ddd Better estimate of bitrate on mp3 files 2006-06-04 04:45:47 +00:00
Ron Pedde 998fdcc9d0 Lower debug load by only event plugining level E_LOG or lower 2006-06-04 03:36:27 +00:00
Ron Pedde 23e5a964d5 Fix sample rate and bitrate for rsp and daap, fixing #134 2006-06-03 09:17:17 +00:00
Ron Pedde 5a9ecc0191 tune logging 2006-06-03 07:47:40 +00:00
Ron Pedde bb9c3fe75b implement password handling for rsp 2006-06-03 06:10:16 +00:00
Ron Pedde 93ef128cfb Add browse type detailed for rsp 2006-06-03 06:02:03 +00:00
Ron Pedde bdc4fdc425 compile first, then commit. even on one-liners. stupid stupid stupid. 2006-06-01 06:27:16 +00:00
Ron Pedde 95dd1048be Don't send scan stopped events if the scan was aborted by service shutdown 2006-06-01 06:20:55 +00:00
Ron Pedde 6fd6a1c9bb Make the no_access page work for blank admin_pw 2006-06-01 06:17:26 +00:00
Ron Pedde b3682a2d11 implement configfile for the no_access page 2006-06-01 05:04:13 +00:00
Ron Pedde 704822faa0 fix debuglevel not being honored in config 2006-06-01 04:21:31 +00:00
Ron Pedde b5e2f92f19 fix crash on web interface when saving config 2006-06-01 04:19:26 +00:00
Ron Pedde c0e5416071 Fix problem with remotely accessing config page 2006-05-31 09:50:27 +00:00
Ron Pedde 7b19b6f533 Fix event dispatching across platforms, clean up icon on win32, update installer template. 2006-05-31 08:34:52 +00:00
Ron Pedde f0434c8c8f win32 cleanups 2006-05-31 08:33:23 +00:00
Ron Pedde 8a6b2ee00a Fix the opportunistic encoding thing -- only transcode to platforms that need it 2006-05-31 06:07:42 +00:00
Ron Pedde 9e5cb8879d turn down debugging info in xml-rpc.c 2006-05-31 05:43:10 +00:00
Ron Pedde ec00f049f1 Make blank admin password disable the admin interface for all but localhost 2006-05-31 04:24:48 +00:00
Ron Pedde b567d86d46 escape commas in multivalued string, closing ticket #128 2006-05-31 04:15:06 +00:00
Ron Pedde f15d1d7d96 Check all parameters before writing them to the config file, send meaningful information to web client on bad update 2006-05-31 02:33:23 +00:00
Ron Pedde 5486e8c76a Logging fixups -- allow multiple log destinations, always syslog fatals (even before config read), honor logging changes via web interface 2006-05-30 23:46:43 +00:00
Ron Pedde 86cc769b2d Fix crash on connect with no plugins 2006-05-30 19:31:55 +00:00
Ron Pedde a159058bf7 Make int/string descriptors interchangeable on wma tags 2006-05-30 19:28:25 +00:00
Ron Pedde 7f84afb786 get rid of mtd-plugins.h in favor of combined plugin header file ff-plugins.h 2006-05-29 11:58:23 +00:00
Ron Pedde ef8ebaf93d get rid of uninitialized value, closing ticket #120 2006-05-29 11:52:28 +00:00
Ron Pedde 770a583dcf Make conf writer write multivalued properties as comma separated 2006-05-29 11:29:51 +00:00
Ron Pedde 920cb31052 force section and key names to not have spaces. Fixes problems in the configurator 2006-05-29 11:25:09 +00:00
Ron Pedde 7f08580a24 Merge from dev-FireflyShell branch 2006-05-29 09:14:04 +00:00
Ron Pedde 0a14704fd9 Maybe fix for frontrow problems? 2006-05-29 07:57:45 +00:00
Ron Pedde bc0f4889ad back out changes to xml-rpc.c 2006-05-29 07:37:31 +00:00
Ron Pedde b9e14d22ed Fix format string problems in rsp.c 2006-05-29 07:37:00 +00:00
Ron Pedde 54be2c1c41 minor syntax fixes 2006-05-28 20:11:15 +00:00
Ron Pedde 1dfb7d0bc0 add ogg metainfo parsing, and ogg playback. fix problems with not recognizing when to transcode on rsp 2006-05-28 08:45:44 +00:00
Ron Pedde e7d04dbd6b Add support for flac metatag reading and playback on win32. 2006-05-28 06:36:28 +00:00
Ron Pedde 89b6af89b3 Fixes to build, install, and run ffmpeg ssc on win32 2006-05-28 06:11:37 +00:00
Ron Pedde 0f64686356 add ffmpeg-based transcoding 2006-05-28 04:06:14 +00:00
Ron Pedde 0285f0bdc0 shorten name mangling on rsp 2006-05-27 10:37:46 +00:00
Ron Pedde b03942bfba Add the ffmpeg transcoding plugin 2006-05-27 10:33:08 +00:00
Ron Pedde 27f4765408 fix for new plugin format 2006-05-27 08:50:09 +00:00
Ron Pedde b3fbb9bbd5 abstract the plugin interface to the db to prepare for db plugins and making daap a plugin 2006-05-27 08:02:39 +00:00
Ron Pedde 9705113b40 add a ffid txt record so rsp and iTunes entries can be correlated 2006-05-24 05:14:58 +00:00
Ron Pedde fb2e9382c5 ephemeral port fixups for win32 2006-05-24 05:04:44 +00:00
Ron Pedde fb1b1f8f1c Make wavstreamer compile under win32 2006-05-24 04:58:46 +00:00
Ron Pedde a9cb506963 Make windows slashed playlists work on unix (and vice versa) 2006-05-24 04:53:44 +00:00
Ron Pedde b0f3a6efb9 Fix double-free in wma parsing causing crash on scan 2006-05-24 04:25:21 +00:00
Ron Pedde 41aabeeab9 Make port optional config value, searching for unused port if necessary. Closes #110 2006-05-24 04:19:44 +00:00
Ron Pedde 88999e7d49 Make bad xml-rpc methods return xml error message rather than http error message, fixing #108 2006-05-24 03:56:06 +00:00
Ron Pedde 80f7c87567 Make default server name based on hostname, fixing #111 2006-05-24 03:53:22 +00:00
Ron Pedde e11f7e2b30 path browse fixes for win32 (update readdir_r to support DT_REG) 2006-05-19 05:28:52 +00:00
Ron Pedde a443cef62e browse enhancement for #98 2006-05-19 05:22:27 +00:00
Ron Pedde 04ed0711a4 Fix problem reported in #7 2006-05-19 05:10:08 +00:00
Ron Pedde 65147d6278 apply VC express 2005 patch from Mike Crowe 2006-05-19 04:55:19 +00:00
Ron Pedde aca2f7701f Make script-based transcoding work on rsp 2006-05-19 04:50:45 +00:00
Ron Pedde 3eef14e1cf add missing web interface files, fix minor memory leak in event handler 2006-05-18 06:30:11 +00:00
Ron Pedde 703221c715 fix for ticket #7 -- empty values delete items 2006-05-18 05:11:07 +00:00
Ron Pedde 1b723bca94 fix crash on scan 2006-05-18 03:02:02 +00:00
Ron Pedde cb9598608b fix error code on xml_return_error 2006-05-17 06:44:56 +00:00
Ron Pedde 64eed880d3 Fix rating on wma 2006-05-17 05:53:02 +00:00
Ron Pedde b48e99dd70 make bulk update of config file work 2006-05-17 05:42:32 +00:00
Ron Pedde f9a3b37583 add helpful error messages for onblur validation 2006-05-17 03:43:44 +00:00
Ron Pedde 1003812ee9 expose the single-key validation 2006-05-16 06:39:09 +00:00
Ron Pedde c99e0c23dc start on validating single items 2006-05-16 06:22:32 +00:00
Ron Pedde 11fa293e41 buffer output on web pages, make safari faster 2006-05-14 04:14:50 +00:00
Ron Pedde c8b10769a2 Oops.. move the wma tags to the right place 2006-05-11 07:06:00 +00:00
Ron Pedde fae19b3b63 wma tag realignments 2006-05-11 06:50:47 +00:00
Ron Pedde eb7d0e7e0d force ie not to cache .xml files 2006-05-11 06:05:50 +00:00
Ron Pedde 08ddf8a24a Fix compile problem on unix 2006-05-11 05:36:35 +00:00
Ron Pedde b780bac291 make iTunes playlists work on win32 2006-05-09 07:17:46 +00:00
Ron Pedde 36f35206dc make browse_path work on win32 -- implement d_type in readdir_r emulation. 2006-05-09 05:51:08 +00:00
Ron Pedde bcdc603b40 Make m3u parser recognize windows path separators, as well as windows drive letters. This fixes both bug #104 and #105. 2006-05-09 05:48:29 +00:00
Ron Pedde e16844dbee Fix logging error that crashes on bad database 2006-05-08 05:36:15 +00:00
Ron Pedde 658bf223f2 fix ticket #97 by only selecting non-empty values 2006-05-08 04:18:22 +00:00
Ron Pedde 75ae3c6d26 tune down debug logging some more 2006-05-08 04:02:55 +00:00
Ron Pedde 97cf6ae2d8 Add browse_path method to xml-rpc, closing ticket #98 2006-05-08 03:40:32 +00:00
Ron Pedde 6db7465303 Fix plugin install path, fixing ticket #102 2006-05-07 04:41:03 +00:00
Ron Pedde d000f503e9 adjust logging spam on gzipped output 2006-05-07 02:58:40 +00:00
Ron Pedde 7c3b08cd53 prefer wma wm/tracknumber over wm/track 2006-05-06 22:34:46 +00:00
Ron Pedde ba1214e0e4 oops... this was already working. 2006-05-06 07:35:29 +00:00
Ron Pedde 6f281d4cfb Fix rend publishing for plugins 2006-05-06 07:32:37 +00:00
Ron Pedde cfaceb8d94 Add fullscan events, make configurator display fullscan items. 2006-05-06 07:22:51 +00:00
Ron Pedde 2350b5a6f5 Serve xml files with a content type of text/xml, closing ticket #100 2006-05-06 03:25:29 +00:00
Ron Pedde 5de59a26aa fix deadlock on event plugin 2006-05-05 07:38:13 +00:00
Ron Pedde 4440ac7013 add event plugin type 2006-05-04 06:20:26 +00:00
Ron Pedde 4fd83e45a9 Fix blindingly obvious utf-16 to utf-8 bug, fixes bug #89 2006-05-03 04:21:28 +00:00
Ron Pedde 00dd561aac Fix bad track parsing on wma 2006-05-03 03:37:31 +00:00
Ron Pedde 713068402a Add missing files to plugin dir 2006-05-02 06:41:20 +00:00
Ron Pedde 757e576537 make empty password same as unspecified password. 2006-05-02 06:12:38 +00:00
Ron Pedde e60d1f75ec invert the sense of the -s switch, default skipping intial scan 2006-05-01 08:06:19 +00:00
Ron Pedde f68f7678fb Fix PATH_MAX too short on win32 2006-05-01 03:59:05 +00:00
Ron Pedde 465b1258a3 Update rsp to latest version, integrate rsp build with standard win32 build 2006-05-01 03:14:15 +00:00
Ron Pedde 553c57ccc1 Add rsp files 2006-04-30 23:02:35 +00:00
Ron Pedde a2ea8c3de0 Consider loopback addresses local (for passwordless access to config page on win32) 2006-04-28 05:31:42 +00:00
Ron Pedde 4a1609cb2d revert u_int32_t changes for solaris -- must autoconfiscate, fixups for debian 2006-04-28 05:10:06 +00:00
Ron Pedde df264d56da oops, put ignore_appledouble in wrong section 2006-04-27 07:18:16 +00:00
Ron Pedde e3ba86f03a add scanning/skip_appledouble and scanning/ignore_dotfiles to close #82 2006-04-27 07:15:05 +00:00
Ron Pedde eba07e1e15 Make iTunes .xml file authoritative for songs outside the mp3_dir, closing #84 2006-04-27 06:59:46 +00:00
Ron Pedde 5ed16bc1ca fix bad seek resync on large tags (covr) 2006-04-27 06:12:43 +00:00
Ron Pedde f6bab734d1 Allow nulls in txt entry for rend registration 2006-04-26 03:29:43 +00:00
Ron Pedde 1ca265d4c5 Let plugins register rendezvous names 2006-04-25 23:13:04 +00:00
Ron Pedde 07857c6eba Update win32 for zlib 1.2.3 2006-04-25 20:46:03 +00:00
Ron Pedde b10762b4d5 Move xml stuff out of plugins 2006-04-25 10:02:43 +00:00
Ron Pedde 1b8244b7f3 Add auth handler to plugin 2006-04-24 08:44:04 +00:00
Ron Pedde e2fd480c78 pass functions to plugins through struct, rather than relying on auto-exported functions from executable 2006-04-23 04:42:18 +00:00
Ron Pedde c2c4bb1542 Add plugin headers 2006-04-23 02:06:05 +00:00
Ron Pedde 15e6302fc0 Bring win32 up to current 2006-04-22 20:03:26 +00:00
Ron Pedde b4bc212f65 Make auth requests for plugins work 2006-04-22 19:45:49 +00:00
Ron Pedde eed9619063 Make auth handers receive connection info 2006-04-22 18:22:41 +00:00
Ron Pedde 2fd2f15d23 Make plugins use reader/writer locks rather than semaphores, that they might be re-entrant 2006-04-22 18:22:24 +00:00
Ron Pedde 433a2ce666 More plugin work 2006-04-21 06:43:41 +00:00
Ron Pedde 1af9e8c08e more plugin work 2006-04-20 06:52:21 +00:00
Ron Pedde ff0491f798 Forgot the most important parts of the last commit 2006-04-20 04:08:12 +00:00
Ron Pedde fd0d5cbbd9 start plugin infrastructure 2006-04-19 08:32:18 +00:00
Ron Pedde e3fc9fa94c Fix errors introduced by r962 on unix side 2006-04-17 04:56:22 +00:00
Ron Pedde 201ab40e73 Fix warnings from bad prototype 2006-04-16 05:14:22 +00:00
Ron Pedde 7b32ce3022 pass hostname to auth functions so auth functions can set passwords based on host. Also, make win32 not require passwords to config page from localhost. Ticket #76 2006-04-16 04:57:04 +00:00
Ron Pedde 882111a52a reopen log and re-read config on sighup -- fixes ticket #73 2006-04-15 23:03:31 +00:00
Ron Pedde 7907540aa5 Bring win32 up to date with compat changes 2006-04-15 22:39:45 +00:00
Ron Pedde 6979a7a67e Fixes for compiling on solaris -- fixes #66 and #5 2006-04-15 08:53:56 +00:00
Ron Pedde ad0455d09a more gdbm 2006-04-13 02:19:56 +00:00
Ron Pedde 267528f070 Make mp3_dir multivalued, closing ticket #16 2006-04-12 05:18:55 +00:00
Ron Pedde 964285cf41 Minor win32 fixes, fix path parsing in conf validation to fix ticket #48 2006-04-10 19:02:39 +00:00
Ron Pedde f83f66130b add config_path and version items to stats xml-rpc. Fixes ticket #33. Take 2. :) 2006-04-10 17:59:10 +00:00
Ron Pedde bb5866fd21 make mtd-update not depend on sqlite 2006-04-10 07:38:26 +00:00
Ron Pedde e0597644b7 finish implementing xml-rpc for config values, closing ticket #33 2006-04-10 06:33:57 +00:00
Ron Pedde f40cf8eb8f make scanner-driver show reslution with millisecond accuracy 2006-04-10 05:26:22 +00:00
Ron Pedde 61d2cd0df1 Fix playlist updating when updating smart playlist but not editing name. Fixes ticket #56 2006-04-10 05:14:43 +00:00
Ron Pedde 86a44ea550 Fix crash on invalid smart playlist 2006-04-10 04:52:14 +00:00
Ron Pedde 8ca978322a fix error messages on bad schema 2006-04-10 04:27:52 +00:00
Ron Pedde c7cc788a1d add external database update program (mtd-update) 2006-04-10 04:18:38 +00:00
Ron Pedde 92e967e78c set default config file location based on prefix 2006-04-09 01:35:10 +00:00
Ron Pedde e6b57ef704 properly implement mtco for indexed operations. Fixes ticket #53 2006-04-08 23:25:30 +00:00
Ron Pedde 5ce3ebbb86 make ogg reading errors non-fatal, fixes bug #51 2006-04-08 06:11:28 +00:00
Ron Pedde 66fa97e8d1 bad first pass at setting config stuff... doesn't work for multivalued config values 2006-04-07 06:55:04 +00:00
Ron Pedde b147348dbd more defensive aac scanning to fix bug #47 2006-04-05 06:31:33 +00:00
Ron Pedde 0028d16aa0 update scanner and parser makefiles. Deps really have to be trimmed 2006-04-05 05:11:28 +00:00
Ron Pedde c5fcb96aed make update support configurable 2006-04-05 04:18:18 +00:00
Ron Pedde 78455709c2 add xml-rpc method for getting config 2006-04-04 06:31:19 +00:00
Ron Pedde 860f853778 Expand tabs 2006-04-04 04:28:07 +00:00
Ron Pedde fa2a3a1005 Make transcoding work for codec types that aren't known 2006-04-03 03:47:11 +00:00
Ron Pedde 5d967ead1e 80 col cleanups 2006-04-03 02:24:58 +00:00
Ron Pedde 96686cd917 Fix errors in null codectype when empty_strings enabled 2006-04-03 02:22:02 +00:00
Ron Pedde 805708da1f retrieve strings from database as blobs rather than strings to stop mangling codepage filenames. Fixes ticket #38 2006-03-31 22:40:38 +00:00
Ron Pedde 43bbf96024 anti-ie defensive anti-caching 2006-03-31 22:23:18 +00:00
Ron Pedde 8fc0ab5272 Kind of a cheesy fix for #26, and not strictly correct, but close enough. Better would be to declare a path separator char in the os stuff. 2006-03-31 09:41:27 +00:00
Ron Pedde 3b31d22c02 Fix bug #9 and #10 -- by making error statuses persistent, the win32 password problem goes away, as does the reprompting on bad password attempts. Nice. 2006-03-31 07:29:51 +00:00
Ron Pedde cbf607fd2e bad fix for ticket #31 -- there is a more elegant way to do this, but this will have to work for now 2006-03-31 06:12:37 +00:00
Ron Pedde 7bace3ab5a Fix for null thread status on a blocked db update thread 2006-03-31 05:02:47 +00:00
Ron Pedde b1ed033d9e rollback r884 and r885, the json mess. Probably cleaner to make an xml-building api that more cleanly maps to json 2006-03-30 04:13:20 +00:00
Ron Pedde a2528eba8c Fix ticket #27 -- make errors in dispatch return dmap/xml errors rather than HTTP errors 2006-03-30 03:53:39 +00:00
Ron Pedde 970a75f00e win32 fixes 2006-03-29 22:02:42 +00:00
Ron Pedde a1a4ba9c1b Fix ticket #28 -- incorrect song duration on wma files. Also update scanner driver for new config, etc 2006-03-29 05:08:57 +00:00
Ron Pedde dfcc54342b fix minor typo in error message 2006-03-29 05:08:13 +00:00
Ron Pedde 8ebc66e5db typo. argh. 2006-03-29 04:42:28 +00:00
Ron Pedde 23e2bab36b Make sure that 'Library' isn't editable 2006-03-29 04:41:57 +00:00
Ron Pedde c67af0fb50 Fix for #23 -- playlist name or query can be null now 2006-03-29 04:40:35 +00:00
Ron Pedde 8d8178b46e almost json on the non-dmap version 2006-03-28 23:36:23 +00:00
Ron Pedde a102c38763 json harder than I thought 2006-03-28 07:49:39 +00:00
Ron Pedde 476ee42faf starting simple gdbm backend 2006-03-27 01:48:43 +00:00
Ron Pedde 96753e59ca Implement subcontainer browsing, closing ticket #3 2006-03-26 23:24:11 +00:00
Ron Pedde 9a396eca29 Make compdirs work again, closing ticket #15 2006-03-26 22:07:33 +00:00
Ron Pedde 1a71d3bdd7 tab exapand 2006-03-26 19:47:30 +00:00
Ron Pedde f1037ae45a tab expand 2006-03-26 19:46:55 +00:00
Ron Pedde abee2d9792 autocreate directories from config file 2006-03-26 04:55:59 +00:00
Ron Pedde e1a1c7f18a oops, forgot headers 2006-03-25 23:27:55 +00:00
Ron Pedde 0b11dc0e39 Make failures in mp3 scanning non-fatal (in case of bad mp3_dir) 2006-03-25 23:21:43 +00:00
Ron Pedde 0eb3160bbc add path verification and creation to config file 2006-03-25 23:21:16 +00:00
Ron Pedde 51a3a6279c -Wall cleanups 2006-03-25 11:15:53 +00:00
Ron Pedde 4d1555ec2b untabify err.c 2006-03-25 10:52:10 +00:00
Ron Pedde 75fab9657d Fix parser crash on empty strings 2006-03-24 22:29:24 +00:00
Ron Pedde 1cca7d3a53 index support, closes ticket #1 2006-03-24 19:23:47 +00:00
Ron Pedde be8eef8384 Fixes for sqlite3 from jlbz on the forums, walk out the thread pooling 2006-03-24 05:10:29 +00:00
Ron Pedde 35d7a9bc61 Fix double-free in logout 2006-03-23 02:57:39 +00:00
Ron Pedde 2fbb744e6f string splitting function 2006-03-20 22:27:56 +00:00
Ron Pedde 5020ed6884 start toward multi-entry terms 2006-03-19 22:03:26 +00:00
Ron Pedde b8c423321a Fix problems with date based queries 2006-03-19 06:43:32 +00:00
Ron Pedde 185f26d240 Fix obvious misorder of L_XML and L_PARSE 2006-03-19 06:42:23 +00:00
Ron Pedde 9612a26af6 only debug parser info 2006-03-19 06:33:53 +00:00
Ron Pedde 2882146e62 Fix for static error lists 2006-03-19 06:33:30 +00:00
Ron Pedde 0b7968d468 Fix browse problem with empty content 2006-03-19 05:26:51 +00:00
Ron Pedde 7fe019693b commit tri's concatination stuff 2006-03-19 00:16:02 +00:00
Ron Pedde 75868e50aa make daap parser emit empty strings when daap/empty_strings is set -- for better xbmc compatibility 2006-03-17 08:50:13 +00:00
Ron Pedde d5da21ae85 warn of null keys in ll 2006-03-17 08:49:22 +00:00
Ron Pedde 779a139c9d Fix up overflows in comment resizing 2006-03-16 23:56:49 +00:00
Ron Pedde 850fd90d45 take out references to query.h, as it is being done now by smart-parser 2006-03-16 23:56:34 +00:00
Ron Pedde ebe7f7a861 Get rid of query.c and query.h, as they are now done via smart-parser.c 2006-03-16 08:02:44 +00:00
Ron Pedde 5163942322 new dmap atoms 2006-03-14 07:28:59 +00:00
Ron Pedde f0ee070937 win32 cleanups 2006-03-14 00:45:33 +00:00
Ron Pedde be7bdfbbfb config file upgrading 2006-03-13 06:33:58 +00:00
Ron Pedde d5bfeba7da working toward comment preservation 2006-03-12 21:25:29 +00:00
Ron Pedde 0cbc4a22d6 Fix double-free in dispatch.c 2006-03-12 11:38:38 +00:00
Ron Pedde 90dc66110a Complete unifying smart playlists and query/filters 2006-03-12 11:30:58 +00:00
Ron Pedde ae22cba1ae fix for type punning warning on gcc 4, thanks to pietu 2006-03-12 00:39:26 +00:00
Ron Pedde 4927155787 Fix string scanning for quoted literals 2006-03-12 00:29:48 +00:00
Ron Pedde 4964fb1374 almost have both query types working 2006-03-10 23:41:13 +00:00
Ron Pedde e1c98c5fda make a translation from daap/dmap items to field names 2006-03-10 05:51:53 +00:00
Ron Pedde 8ba1c68d62 fix smart parsing, now just need to finish the browse/query parsing 2006-03-10 04:00:38 +00:00
Ron Pedde 2b6b8cd208 parser still not quite working on both queries and smart playlists 2006-03-09 23:54:00 +00:00
Ron Pedde 43afe26932 Working toward single smart playlist/query parser 2006-03-07 23:37:42 +00:00
Ron Pedde c635c85e95 fix limits.h 2006-03-07 07:55:36 +00:00
Ron Pedde a6675697be realpath fixes 2006-03-07 07:03:00 +00:00
Ron Pedde 5917ca0cda trivial logging 2006-03-07 07:02:34 +00:00
Ron Pedde ec087d86ec make auth handler take effect on /content-codes, just like iTunes does. 2006-03-07 07:02:03 +00:00
Ron Pedde 942125f271 type fixes 2006-03-07 06:07:34 +00:00
Ron Pedde 8e9d759e05 make sqlite3 thread-safer(?) by using a thread pool 2006-03-07 06:01:59 +00:00
Ron Pedde d53e2f83e4 revert to 1.11 2006-03-06 08:32:43 +00:00
Ron Pedde f79756769a more attempts at sqlite3 fixage 2006-03-06 08:29:58 +00:00
Ron Pedde f037a53452 crazy fixes for sqlite3 2006-03-06 07:48:53 +00:00
Ron Pedde 11650fbf76 fix typo 2006-03-06 06:55:58 +00:00
Ron Pedde 0c05af2610 finalize on error on enum_fetch 2006-03-06 06:55:51 +00:00
Ron Pedde a6248dfc98 Add sqlite3, fix minor compilation problems 2006-03-06 06:29:03 +00:00
Ron Pedde dad6b9e9d5 add debugging code to try and find the sqlite3 double-free bug 2006-03-06 01:35:49 +00:00
Ron Pedde cf59f7dc33 fix up txt records to show password info, mtd-version, and itunes version 2006-03-05 08:09:27 +00:00
Ron Pedde 4b728b899d Fix some races in sqlite3 2006-03-05 05:40:48 +00:00
Ron Pedde 1e48e88215 Add ability to concat title and artist on compilation tracks 2006-03-05 02:03:11 +00:00
Ron Pedde 9e5f21db7f fix for STDERR problem in rend-unix 2006-03-05 02:02:15 +00:00
Ron Pedde ea2eeb24b1 Fix byte order problem on wrong-endian machines 2006-03-05 02:01:46 +00:00
Ron Pedde 58236d00c1 close STDERR on fork 2006-03-05 02:01:22 +00:00
Ron Pedde 97fea2ff84 Fix play count updating 2006-03-04 08:29:57 +00:00
Ron Pedde 90d5e1fa4c Fix problem with relative paths in config file 2006-03-03 06:05:34 +00:00
Ron Pedde e53562943f still need to update atom and type for new metas 2006-03-02 07:03:48 +00:00
Ron Pedde c92b0ed841 Fix configfile errors 2006-03-02 05:17:47 +00:00
Ron Pedde 6a824aa09a Fix for iTunes 6.0.4 2006-03-02 00:39:52 +00:00
Ron Pedde 64415a5c42 fix bug in opendir/readdir emulation 2006-03-01 23:25:50 +00:00
Ron Pedde d44bd674c1 fix wait3 problem on linux 2006-02-28 05:23:59 +00:00
Ron Pedde e5dd11b090 fix errors when using a null default in conf_get_string 2006-02-27 23:39:11 +00:00
Ron Pedde 0918494faf unused variables 2006-02-27 22:55:05 +00:00
Ron Pedde 096a2a4dbc make more ansi-ish 2006-02-27 22:54:40 +00:00
Ron Pedde 940cfed25e fix typo 2006-02-27 22:53:57 +00:00
Ron Pedde 73636a5a4c add ini style config handling 2006-02-27 22:48:42 +00:00
Ron Pedde 9a133dcbdc Merged win32-branch 2006-02-26 08:46:24 +00:00
Ron Pedde 4402588e2d Finish out the config file stuff. Only missing comment preservation now 2006-02-21 23:19:53 +00:00
Ron Pedde 1d0a3c4149 More fixes for new config system 2006-02-21 03:08:14 +00:00
Ron Pedde 87f84ded09 Work on config fetching functions 2006-02-20 03:56:47 +00:00
Ron Pedde 2915c1e9c9 Annoying fprintf 2006-02-20 03:36:57 +00:00
Ron Pedde b5abd3faf9 Minor updates 2006-02-14 06:39:06 +00:00
Ron Pedde 3d27be7405 More incremental config changes 2006-02-08 23:02:43 +00:00
Ron Pedde 49e9b3be32 slowly working on the config changes 2006-02-05 00:22:46 +00:00
Ron Pedde 9bfbfa8615 Herman's web interface fixes 2006-01-26 15:08:11 +00:00
Ron Pedde 593bcda38f just saving my changes 2006-01-25 22:31:53 +00:00
Ron Pedde a6f5be301c More config file changes 2006-01-24 23:41:05 +00:00
Ron Pedde 6efb792704 Implement playcount updating 2006-01-24 04:17:38 +00:00
Ron Pedde 048bef92ed Initial checkin 2006-01-24 00:18:42 +00:00
Ron Pedde b20dece00b Only use transactions on reload to avoid busy errors 2006-01-20 15:55:51 +00:00
Ron Pedde 2967af19ea stop file collissions with sqlite2 2006-01-20 15:52:42 +00:00
Ron Pedde bf9e414169 Fix races in enum 2006-01-17 21:35:39 +00:00
Ron Pedde c7233f0947 bubble parse errors up to the web interface 2006-01-16 22:28:26 +00:00
Ron Pedde 31879fd091 add true/false definitions here 2006-01-16 22:28:08 +00:00
Ron Pedde 4116a68166 fix parse error 2006-01-16 22:27:49 +00:00
Ron Pedde 4b7b5d78fc Add diego's configure patches 2006-01-16 20:23:50 +00:00
Ron Pedde 38ad8000f6 fix typo 2006-01-16 20:13:35 +00:00
Ron Pedde 961f986414 semicolon fix 2006-01-16 10:11:33 +00:00
Ron Pedde 7e65fd67f4 Fix problem with values with % in them 2006-01-13 22:23:42 +00:00
Ron Pedde 8dfea7dee3 Add video support for m4v files 2006-01-12 08:10:48 +00:00
Ron Pedde 7b6560c651 typo 2006-01-12 06:53:25 +00:00
Ron Pedde 40ab6dfb01 Preserve playlists on db upgrades 2006-01-12 06:20:15 +00:00
Ron Pedde 10b5d73ca0 Fix deadlock in updating playlists 2006-01-12 00:39:50 +00:00
Ron Pedde b02eed1195 fix the hidden directory thing 2006-01-12 00:36:05 +00:00
Ron Pedde 01180d60f1 return id from db_add 2006-01-10 23:57:43 +00:00
Ron Pedde 2e00839a36 Fix thinko breaking static playlists 2006-01-10 06:00:21 +00:00