Commit Graph

1983 Commits

Author SHA1 Message Date
Ron Pedde 9d9533a07a Win32 iconv fixes. 2007-09-04 07:34:18 +00:00
Ron Pedde 0be8f98a40 Allow --disable-iconv 2007-09-04 07:26:50 +00:00
Ron Pedde 9246bfe59e iconv fixes for linux 2007-09-04 05:11:43 +00:00
Ron Pedde 5e69ba1a35 add ff-plugin-events.h to dist package 2007-09-04 02:40:22 +00:00
Ron Pedde 9aaff066d3 Add codepage translation for non-utf8 id3v1 tags 2007-09-03 21:39:20 +00:00
Ron Pedde 00cbda5e95 deprecate general/playlist 2007-09-03 17:50:56 +00:00
Ron Pedde 839f500358 Fix re-write of config file by preserving line endings 2007-09-03 17:48:56 +00:00
Ron Pedde cab9a1ecd0 Fix utf-16 problems in win32 and unix. 2007-08-31 05:23:16 +00:00
Ron Pedde 2f83ecb3fc fix stupid pointer bug 2007-08-30 05:42:59 +00:00
Ron Pedde 9d222abd4b Fix sys/time requirement in upnp.c 2007-08-30 05:36:06 +00:00
Ron Pedde 153e874bef Patch from Stephane Moreau to make apache rewrites easier 2007-08-27 00:57:47 +00:00
Ron Pedde f2174b3173 Patch from Ian Burrell to move plugins from sysconfdit to libdir, as it Should Be 2007-08-27 00:55:17 +00:00
Ron Pedde 1ca5cef013 Fix windows open for non-latin files 2007-08-27 00:43:33 +00:00
Ron Pedde d88132f6c9 use iconv for utf8/utf16 conversion, in preparation for codepage id3tags and file system conversion 2007-08-23 03:55:10 +00:00
Ron Pedde f2be31595f add io_ functions for plugins 2007-08-18 01:15:51 +00:00
Ron Pedde 40956ee0f9 fix VA_COPY 2007-08-12 08:43:27 +00:00
Ron Pedde 17afc25676 linux fixes for new plugin arch 2007-08-12 06:30:00 +00:00
Ron Pedde a90bb2ab10 Add io-errors.h and io-plugin.h to make dist 2007-08-11 04:41:21 +00:00
Ron Pedde f40c75773a win32 fixes for new plugin model 2007-08-10 00:48:31 +00:00
Ron Pedde 57dded49f9 oops, forgot the plugin interface 2007-08-09 07:10:35 +00:00
Ron Pedde 0429230d00 remove function backpointers for dll plugins 2007-08-09 06:33:41 +00:00
Ron Pedde 366ae9913c Fix problems with ascii log files, also problems with WSAEWOULDBLOCK on send buffer/receive window full. 2007-08-06 05:18:01 +00:00
Ron Pedde 5cf869342b avoid re-entrant error logging to avoid deadlocks 2007-08-06 03:18:44 +00:00
Ron Pedde a806dde1da Implement ascii line-ending conversion for windows 2007-08-05 04:43:25 +00:00
Ron Pedde b108edbc52 fix excessive logging in mdns, and remove rdar tags 2007-08-05 04:09:12 +00:00
Ron Pedde 4f0b1f24e0 cleanups for io_ on win32. still not quite working right, some read or write errors when streaming files, but a strong "mostly works" 2007-08-01 06:32:15 +00:00
Ron Pedde ca7beedde3 convert scan-wma to io_ functions 2007-08-01 06:21:53 +00:00
Ron Pedde 4b9b1fe177 merge ron-ssl branch back to trunk in preparation for windows cleanups, merge setup tweaks and credits language as well as update rend-posix from stable-aspl-free 2007-07-31 04:34:33 +00:00
Ron Pedde f1cc5ca6fb Fix for missing upnp_uuid() 2007-05-18 02:27:29 +00:00
Ron Pedde 3ac4048b0d Fix wav scanner to allow both 16 and 18 byte 'fmt ' chunks, also allow for out-of-order WAVE chunks 2007-05-10 06:24:50 +00:00
Ron Pedde 7f5e364954 Add enough more UPnP discovery that it shows up on SoundBridge 2007-05-05 04:35:50 +00:00
Ron Pedde 648297e253 Finish (mostly) upnp discovery 2007-05-04 21:31:05 +00:00
Ron Pedde 0eba96d92a More UPnP work. Almost finished with discovery. 2007-05-03 03:30:30 +00:00
Ron Pedde 0115887492 Move split functions from conf to util 2007-05-03 00:28:14 +00:00
Ron Pedde 61f5e96ea7 Force a full rescan when the database version is too new 2007-05-03 00:18:25 +00:00
Ron Pedde f3d5caedb1 Missing header 2007-05-03 00:10:10 +00:00
Ron Pedde 9ba5a51fdd Fix small race in registerhandler 2007-05-02 23:49:42 +00:00
Ron Pedde 360c7f945e Fix for win32 playlist dissapearing issue 2007-04-30 00:18:04 +00:00
Ron Pedde 29c4e25425 Minor auth fixes 2007-04-27 12:31:42 +00:00
Ron Pedde 0ade4784ff Fix stupid password bug 2007-04-19 03:46:40 +00:00
Ron Pedde eedf20f7f2 More password handling 2007-04-19 03:19:57 +00:00
Ron Pedde e9a08a6951 upnp updates, plus some password fixes 2007-04-19 03:00:00 +00:00
Ron Pedde 5be4c9d8a4 More simple upnp updates 2007-04-19 02:58:56 +00:00
Ron Pedde c6a9009550 Oops, thinko on the playlist thing 2007-04-18 03:34:03 +00:00
Ron Pedde a15eabbd76 Crank up debug a bit for handlers to help track down wl500g errors 2007-04-18 03:12:42 +00:00
Ron Pedde 5b38bc6d6c Solve the case of the missing playlists\! D'oh\! 2007-04-18 03:07:25 +00:00
Ron Pedde d8ad7c7ebc Tune down auth logging a bit, increase debugging in ws handler to try and find wl500g problem 2007-04-16 21:31:56 +00:00
Ron Pedde e8ff234550 Minor win32 fixes for S_ISDIR 2007-04-16 05:30:10 +00:00
Ron Pedde fb86538d79 Add centralized auth handler for different user roles (currently admin and user), closing #225 and #220 2007-04-15 23:57:00 +00:00
Ron Pedde 29478fcca1 Remove regex functions from webserver, instead preferring path from root - fixes problems with bad regex in uclibc 2007-04-15 23:27:16 +00:00
Ron Pedde 096975abfe More UPnP work. Still doesn't show up in network neighborhood. Not quite sure why not, though. :) 2007-04-15 23:20:13 +00:00
Ron Pedde a6b9099e01 Use S_ISDIR to determine file directoryishness 2007-04-15 20:36:00 +00:00
Ron Pedde e991d1ec08 logging for bad passwords as suggested by mas 2007-04-13 23:31:57 +00:00
Ron Pedde 69ec57328e ifdef the upnp stuff in main 2007-04-13 23:31:22 +00:00
Ron Pedde 5e9d9a3f20 forgot upnp files 2007-04-13 21:38:05 +00:00
Ron Pedde 1f640234f5 start of UPnP functions 2007-04-13 21:37:42 +00:00
Ron Pedde 9ccc48eac9 uninitialized string error, found by Ron (the *other* ron) on the forums. 2007-04-12 18:34:09 +00:00
Ron Pedde 245e062530 Fix for tzset/putenv in compat, to help build on wl500g 2007-04-11 02:33:47 +00:00
Ron Pedde 914cd2d54d include config guards for headers in plugin.c, remove dynamic-art from vc project. 2007-04-10 01:39:08 +00:00
Ron Pedde 4d323f2729 Fix headers 2007-04-09 06:50:58 +00:00
Ron Pedde 6f1f6d8ece Add always_transcode, first pass at a fix for the hifidelio/olive, something like the one offered by Matthias Schmidt 2007-04-09 04:23:51 +00:00
Ron Pedde 363210ebcc Update Apple's mDNS to 107.6, the Apache/BSD licenced version, to remove aspl taint. This is high in autoconf hackery, though 2007-04-08 04:43:22 +00:00
Ron Pedde 751afbf285 header fixes for fbsd, as reported by oliver in the forums 2007-04-07 22:32:26 +00:00
Ron Pedde 00ded64dab Add a simple config migrator to move config items around at load. I've used it
to move general/process_m3u to scanning/process_playlists, scanning/process_xml
to scanning/process_itunes, and make scanning/process_m3u actually control just
m3u file rather than all playlists.  In addition, scan/correct_order has been
moved to daap/correct_order.  This closes long-standing bug #172.
2007-04-06 05:05:50 +00:00
Ron Pedde e6d550dd49 rename lock_t to ff_lock_t to prevent solaris breakage 2007-04-06 02:57:06 +00:00
Ron Pedde a4dea03121 Try to automatically locate plugins, show loaded plugins on web interface 2007-04-04 20:34:29 +00:00
Ron Pedde ec9ab04b40 xmbc fixes 2007-01-29 06:45:21 +00:00
Ron Pedde 55014d0a71 Fix signal handling on linuxthreads/NSLU2 2007-01-28 05:36:06 +00:00
Ron Pedde c9e70fb47f Add signal handling for nslu2, make -k send SIGTERM, not SIGSTOP 2007-01-20 14:20:59 +00:00
Ron Pedde fb66541657 Use pthread_sigmask over sigprocmask in an attempt to fix signals on linuxthreads machines 2007-01-19 07:11:40 +00:00
Ron Pedde 0d72198594 Get wrong pid when daemonizing 2007-01-19 06:20:12 +00:00
Ron Pedde 5383d1c1ca Fix double-free problems reported in forums 2007-01-18 06:07:26 +00:00
Ron Pedde 14fe9f9c6c Add memory debugging (--enable-mem-debug), find and fix several small (and not so small) memory leaks 2007-01-17 01:06:16 +00:00
Ron Pedde b23f0d226b update usage() to reflect new -k and -V options, as reminded by Steve in the forums 2007-01-11 01:28:18 +00:00
Ron Pedde 1d01c02296 Fix -V to exit after displaying version 2007-01-10 06:19:41 +00:00
Ron Pedde d2e5b45bd9 Move signal handling to parent thread, add -V and -k options, closing #219, and fixing problems with daemontools 2007-01-09 18:12:39 +00:00
Ron Pedde 5f922b44d8 Fix problem with adding playlists as reported in forums 2007-01-09 05:55:41 +00:00
Ron Pedde cc535d234f consolidate mutex locking to better debug deadlocks 2006-12-31 21:28:47 +00:00
Ron Pedde f7b2e3204e Don't delete hand-crafted static playlists (type 0) on full reload 2006-12-31 21:22:46 +00:00
Ron Pedde eb92a4b99b automatically shorten the rendezvous name if it's too long 2006-12-19 05:06:42 +00:00
Ron Pedde a3d3c21b65 try to better detect successful transcoding in order to update play counts - #191 2006-12-19 01:48:27 +00:00
Ron Pedde da77bb850a expand tabs 2006-12-18 06:31:13 +00:00
Ron Pedde c4c823affb add avahi support to trunk 2006-11-28 22:11:18 +00:00
Ron Pedde 23e567a94b Add more logging for duplicate playlist 2006-11-27 00:17:12 +00:00
Ron Pedde 9239e0ad36 Reference iTunes playlist by name hash rather than native playlist id 2006-11-27 00:00:00 +00:00
Ron Pedde e0098e20fa Fix rendezvous registration problem on win32 where sometimes rendezvous names wouldn't get registered. 2006-11-22 06:04:23 +00:00
Ron Pedde 36bc5951e5 include sys/select.h for freebsd, courtesy of Denis 2006-11-22 04:10:29 +00:00
Ron Pedde d5506fc46f Fix db upgrade from 12 -> 13 2006-11-19 18:58:03 +00:00
Ron Pedde 4d8e618f75 iTunes updates, courtesy of Shish 2006-11-16 04:13:57 +00:00
Ron Pedde 758c0c6245 stdint fixes 2006-11-14 05:29:32 +00:00
Ron Pedde 654d0fe685 PATH_MAX vs MAX_PATH fixes. Stupid windows. 2006-11-14 01:40:22 +00:00
Ron Pedde 16b323f024 Make fireflyshell drop a drive mapping ini file, so that the server can convert network drive letters to unc paths. 2006-11-13 00:09:16 +00:00
Ron Pedde c1ac15cd97 win32 cleanups, fixes for 48k flac playing slowly. 2006-11-11 23:15:33 +00:00
Ron Pedde d90fd30a9b Drop version number on startup 2006-11-11 21:47:43 +00:00
Ron Pedde 792fa16f1e Pass mp3struct to ssc plugins so they can take advantage of metainfo 2006-11-06 03:42:38 +00:00
Ron Pedde b5008ded8d reverse default in follow_symlink option, fix some warnings in plugin.c, fix errors in update as result of new db fields 2006-11-05 22:38:12 +00:00
Ron Pedde e02f0774ec add album_artist and bits_per_sample, bumping db version. Collect album_artist from flac, aac, wma, and iTunes xml. Collect sample_count and bits_per_sample for flac 2006-11-04 04:17:24 +00:00
Ron Pedde e33f1a3167 make encrypted wma files wmap/wma rather than wma/wmap 2006-11-02 04:50:31 +00:00
Ron Pedde 137875c23d add general/never_transcode to specify codectypes that shouldn't be transcoded, even if the client suggests it can't play it (amarok, rhythmbox, others that lie about user-agent) 2006-10-31 03:54:10 +00:00
Ron Pedde 69eb216e59 Implement option to skip initial start-up scan, useful for windows machines. Fixes ticket #208 2006-10-27 20:39:39 +00:00
Ron Pedde 3d352427f6 Fix auth problems on passworded shares, fixing ticket #205 2006-10-27 20:26:10 +00:00
Ron Pedde 5db53647d5 Tune down 'short read' errors, closing #207 2006-10-24 05:21:04 +00:00
Ron Pedde 0fa620d4a7 add scanning/follow_symlinks option to close ticket #194 2006-10-24 05:17:36 +00:00
Ron Pedde 40a62f7722 Fix divide by zero error for aac/m4v files < 1 second long (hat tip to arvzb from the forums) 2006-10-17 03:30:13 +00:00
Ron Pedde 325c86073b Add hostname (%h) and version (%v) templates for the servername parameter 2006-10-16 03:52:45 +00:00
Ron Pedde 2f0dafba61 trivial printf formatting bug 2006-10-16 03:24:52 +00:00
Ron Pedde d89220fb5e Byte-endian fixes for wma parsing 2006-10-16 03:19:10 +00:00
Ron Pedde 4e786208ed Fix for null title/artist/album/genre in wma files 2006-10-15 23:19:04 +00:00
Ron Pedde b928966f9b Make DRM-protected wma files have a codectype of WMAP 2006-10-15 23:07:16 +00:00
Ron Pedde 3810a8f0a4 Fix problem with smart playlists returning entire library 2006-10-15 05:00:20 +00:00
Ron Pedde 6d54f3c826 Add database/quick_startup directive to specify that the database should start up quickly -- without vacuum in the case of sqlite 2006-10-12 01:42:15 +00:00
Ron Pedde e0ff0c794e Better logging for broken connections while streaming 2006-10-09 00:16:48 +00:00
Ron Pedde 2193e14c98 Add CCRDudes patches for xhtml compliance 2006-10-09 00:07:59 +00:00
Ron Pedde cb18268049 Autoconf for dirent, rather than win32ing 2006-10-08 23:14:37 +00:00
Ron Pedde f7e3db6861 Load all plugins in plugin dir, rather than relying on a plugins entry 2006-10-08 18:05:31 +00:00
Ron Pedde c90e2394c5 Fix indexing, move updates back into core 2006-10-05 03:58:24 +00:00
Ron Pedde 4a9d8993b3 Various win32 fixes 2006-10-04 04:33:27 +00:00
Ron Pedde 5509a8cffd redist ff-dbstruct.h 2006-10-03 14:41:24 +00:00
Ron Pedde ac561f40dc Fix ld errors for automake 1.5 2006-10-02 05:08:15 +00:00
Ron Pedde 8e23eb9e1d Move daap to an external output module 2006-09-25 03:20:22 +00:00
Ron Pedde 19b8b3719c Make empty_strings dummy up artist, genre, and album 2006-09-10 19:27:55 +00:00
Ron Pedde ccf2cb4a0f Typo in genre 2006-09-10 04:53:17 +00:00
Ron Pedde 5a483a7fe6 Treat m4b files as m4a files. 2006-09-02 20:16:12 +00:00
Ron Pedde c797d64eb1 Better guess of bitrate when tag includes a duration tag 2006-09-01 04:16:51 +00:00
Ron Pedde ad16949d12 Make case-insensitive fs a little less broken 2006-08-31 02:43:13 +00:00
Ron Pedde e878464716 Fix for bad seeks on wma subheaders 2006-08-31 00:37:16 +00:00
Ron Pedde c594cb1ab2 tune down the stat errors 2006-08-29 04:01:30 +00:00
Ron Pedde c5ef4021a3 Support for multiple wma composers 2006-08-29 03:21:19 +00:00
Ron Pedde 0725c9ae13 Fixes for transcoding flacs with leading id3v2 tags 2006-08-28 03:59:04 +00:00
Ron Pedde 55793d6c32 win32 cleanups 2006-08-28 03:58:31 +00:00
Ron Pedde d5b29cd4ef Fix up iTunes metadata before inserting into the database (fixing the concat_compilations bug) 2006-08-27 00:02:09 +00:00
Ron Pedde c7a385b9b1 Add sample rate from wma files, closing #166 2006-08-26 04:14:17 +00:00
Ron Pedde c319c8b090 Move collecting pmp3->file_size in the scanner driver rather than individual scanners. Fixes half of #166 2006-08-26 03:57:35 +00:00
Ron Pedde e00ad47a55 get file info from stat, rather than from scandir, fixing bug #196 2006-08-26 03:44:43 +00:00
Ron Pedde e1fe5d53a1 Fix problem on mac when updating config file through web interface 2006-08-26 03:14:48 +00:00
Ron Pedde 81afc997c7 tune logging 2006-08-25 03:37:03 +00:00
Ron Pedde 9e7de7965a Fixes for traditional chinese file system 2006-08-23 05:02:08 +00:00
Ron Pedde 4163e62934 Bump db version to 12 to force a full rescan 2006-08-20 05:02:27 +00:00
Ron Pedde 231017d571 Make playlist filenames honor filesystem case settings 2006-08-20 05:02:09 +00:00
Ron Pedde 53510607f1 make full rescan rescan playlists as well as songs 2006-08-20 04:51:08 +00:00
Ron Pedde d64fe731eb add handler for case_insensitive 2006-08-20 04:50:19 +00:00
Ron Pedde 8f1c77f4df Fix processing of escaped strings 2006-08-20 03:59:59 +00:00
Ron Pedde 6dfcec0d60 Fix debugging 2006-08-20 03:59:37 +00:00
Ron Pedde 2f2dd3908c fixes for parser testing framework 2006-08-20 03:46:10 +00:00
Ron Pedde e8b1520ffc Change db safety outside transactions 2006-08-17 05:05:48 +00:00
Ron Pedde ddfea4d23d Bump the end-scan message to E_LOG 2006-08-17 02:25:41 +00:00
Ron Pedde 7c34c4ceee Default to case-sensitive fs 2006-08-17 02:22:43 +00:00
Ron Pedde 5e6575a153 wrap playlist scans in transaction 2006-08-14 04:09:45 +00:00
Ron Pedde 6891f3a169 make initial scan faster 2006-08-14 01:24:24 +00:00
Ron Pedde f3fecf593e more fs case fixes 2006-08-14 00:00:54 +00:00
Ron Pedde f9d27a4773 Show scan completion in logs 2006-08-14 00:00:48 +00:00
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
Ron Pedde 55bc7986de Fix problem with blank db_dirs, now that it isn't necessary anymore :) 2006-01-07 08:22:23 +00:00
Ron Pedde c0752c13ac fix playlist fd leak 2006-01-07 08:15:51 +00:00
Ron Pedde 4e6219272a Fix problem with key violations on updates from itunes xml 2006-01-07 07:42:44 +00:00
Ron Pedde f1acc3bc88 Add sqlite3 files 2006-01-06 19:11:01 +00:00
Ron Pedde 3a6ec603a1 add sqlite3 support 2006-01-06 17:43:38 +00:00
Ron Pedde e0ce8f273f add db_type and db_parameters for specifying different backend databases 2006-01-06 00:05:02 +00:00
Ron Pedde 56502cee62 abstract out the db function pointers 2006-01-05 22:43:45 +00:00
Ron Pedde b0c2a64a63 Fix index bug 2006-01-05 18:57:38 +00:00
Ron Pedde 60555d9f8d Fix playlist count problem 2006-01-05 15:35:36 +00:00
Ron Pedde 1418a64dc9 Fix frees for nulled error pointers, other minor problems 2006-01-04 23:46:15 +00:00
Ron Pedde 86b45a028e abstract database somewhat, improve error handling 2006-01-04 20:30:44 +00:00
Ron Pedde 24f40d7956 Fixes for not, add startswith and endswith operators 2005-12-13 20:42:03 +00:00
Ron Pedde 869aa94de4 Finish stats xml-rpc method 2005-11-23 04:11:04 +00:00
Ron Pedde d0d246735e oops 2005-11-21 05:26:12 +00:00
Ron Pedde 3fe312ead6 Support infrastructure for simpler xml handler. 2005-11-20 09:50:50 +00:00
Ron Pedde 3ac71ba469 Add Timo's metacharacter escaping code and codectype passed to scripts 2005-11-20 06:42:03 +00:00
Ron Pedde d4dfc17671 Shell-escape proper metachars before popening 2005-11-19 09:02:13 +00:00
Ron Pedde 6dba7aab41 Bullwinkle: Hey Rocky -- watch me pull a rabbit out of my hat. Rocky: Again? 2005-11-17 07:20:50 +00:00
Ron Pedde 381dc7eade back out the connection persist force 2005-11-17 05:14:52 +00:00
Ron Pedde 0851b29812 *really* fixed the race this time 2005-11-17 05:09:42 +00:00
Ron Pedde 5733445333 fix some more trivial problems 2005-11-16 05:03:17 +00:00
Ron Pedde 51274d7b03 Show idle threads in thread status 2005-11-15 07:41:50 +00:00
Ron Pedde a9e2d3a1b5 close fixes, obvious bug in webserver.c 2005-11-15 07:27:14 +00:00
Ron Pedde 9f5eabdabf fix obvious error in thread enumeration 2005-11-15 06:43:31 +00:00
Ron Pedde c52a0c9986 workaround for client that claim http 1.0 2005-11-14 05:40:54 +00:00
Ron Pedde a57b002243 Fix for races in thread status 2005-11-14 04:30:12 +00:00
Ron Pedde dee22896a8 codectype transcoding 2005-11-11 23:52:42 +00:00
Ron Pedde 230eaa0aba fix xml-rpc for thread status 2005-11-07 06:13:10 +00:00
Ron Pedde a82c564426 move the thread status stuff into the webserver, add status info to xml-rpc 2005-11-07 05:58:05 +00:00
Ron Pedde a35a59af31 Add date parsing and unary negate operator 2005-11-06 21:06:07 +00:00
Ron Pedde f127d8cb58 allow editing of smart playlists 2005-11-03 05:02:17 +00:00
Ron Pedde 88ab086900 musepack fixes by slomo 2005-11-03 03:46:26 +00:00
Ron Pedde 0821b9ce9d musepack support from slomo 2005-11-02 04:45:25 +00:00
Ron Pedde 679f253de8 Build indexes on playlists, comment out the playlist order stuff, until further investigation 2005-10-31 23:44:16 +00:00
Ron Pedde eefb9939b9 Start of date-based playlists 2005-10-29 21:23:43 +00:00
Ron Pedde cb42785a36 xing header alignment problems fix, hat tip to Paul Forgey 2005-10-29 15:49:11 +00:00
Ron Pedde fc2c656317 nslu fix for tag lenth in xml serialization 2005-10-26 07:13:53 +00:00
Ron Pedde 97652ba6fa simpler queries for nslu2... speed up playlist enumeration 2005-10-26 06:23:27 +00:00
Ron Pedde 64e1af83a4 Fixes for mlit to xml translation with string length of 0, suggested by Stefan Bruns 2005-10-26 06:00:54 +00:00
Ron Pedde 4c89c687a6 pidfile patches from Diego Petteno 2005-10-26 05:10:19 +00:00
Ron Pedde 283261585d Fix dist files 2005-10-24 06:14:36 +00:00
Ron Pedde 662795acb6 Add includes keyword 2005-10-24 00:18:08 +00:00
Ron Pedde 1c7c77be1c Check for valid playlist on add 2005-10-24 00:17:56 +00:00
Ron Pedde 8d3d31d119 integrate smart playlist parsing into the database 2005-10-23 07:33:24 +00:00
Ron Pedde 1d0ecad346 Fix string parsing, precedence problems, add more detailed error reporting 2005-10-22 23:05:29 +00:00
Ron Pedde dda666ea8e first pass of sql generation. Some problems in the production rules, I think, but coming along 2005-10-21 07:48:07 +00:00
Ron Pedde b32984abeb parse tree completely built, int and string values appear to be working 2005-10-20 07:33:58 +00:00
Ron Pedde 939db9fcf9 node 2005-10-18 22:35:10 +00:00
Ron Pedde 7e5535d9bd update lexer, first validating parser 2005-10-17 04:57:06 +00:00
Ron Pedde 4740aeded0 start on parsing side 2005-10-16 06:55:42 +00:00
Ron Pedde eba0f2f4fd make wavstreamer take a -l of 0, also remove long opts 2005-10-14 05:42:26 +00:00
Ron Pedde d25c5a53ca really really stupid tokenizer sort of working 2005-10-14 04:11:06 +00:00
Ron Pedde fb7931ad30 slow and steady 2005-10-13 07:38:22 +00:00
Ron Pedde edf3885e0b small changes in parser... I'll eventually get there 2005-10-06 04:48:04 +00:00
Ron Pedde 6dc8b0d29f some work on parser 2005-10-02 22:48:07 +00:00
Ron Pedde 6c15f31476 Phil Packer's m3u playlist-in-order stuff 2005-09-26 02:15:50 +00:00
Ron Pedde ee0c1e361f view persistence fixes for iTunes 5 2005-09-23 07:03:19 +00:00
Ron Pedde ff84e06334 commit the iTunes 5 fixes 2005-09-23 05:26:52 +00:00
Ron Pedde 1c83ac43a1 more incremental work on smart-parser 2005-08-16 02:32:37 +00:00
Ron Pedde ab17d88879 Add interface directive to config file -- fix stderr logging on rendezvous child 2005-08-16 02:26:32 +00:00
Ron Pedde fa48f1175b specify interface to register 2005-08-15 03:16:54 +00:00
Ron Pedde 1570844d6d incremental updates 2005-08-15 03:16:36 +00:00
Ron Pedde 517fe14667 what will eventually be the smart playlist parser 2005-08-02 03:17:22 +00:00
Ron Pedde 15fcb6b902 Fix problem with playlist dropoff 2005-08-02 03:10:36 +00:00
Ron Pedde 8b48e81db1 Pull date added from iTunes xml file -- thanks to Mark Woehrer 2005-07-24 17:08:19 +00:00
Ron Pedde c47315969f Crank up mdns debug messages 2005-07-21 03:40:07 +00:00
Ron Pedde e496d18424 Add support for compilation directories 2005-07-14 21:10:05 +00:00
Ron Pedde 681a0f4288 add logging types for smart playlist parser 2005-07-14 21:09:42 +00:00
Ron Pedde 9e08e57fd7 Add brute-force checking for itunes path -- fix iTunes for windows problems 2005-07-13 05:32:54 +00:00
Ron Pedde 4e2d820703 Fix idx problems, fix static playlist handling 2005-06-20 03:35:33 +00:00
Ron Pedde d18acd2f9e add 'host' smart tag to support daap applet 2005-06-15 03:27:27 +00:00
Ron Pedde f321aca92f Joe Holt's patches for config trashage 2005-06-15 02:44:32 +00:00
Ron Pedde 5c3e37e564 stupid database version error 2005-06-08 04:55:24 +00:00
Ron Pedde f61fbb60b3 Add idx to songs table to allow for index per path 2005-06-02 04:17:54 +00:00
Ron Pedde 8623fecab9 More scanning restructuring -- return TRUE on success, get rid of dual scanners 2005-06-02 02:26:04 +00:00
Ron Pedde 35af7991d9 Move genre list to scan-mp3.c 2005-06-01 14:55:36 +00:00
Ron Pedde 64a88ff2ed fix -Wall errors 2005-06-01 14:55:10 +00:00
Ron Pedde b94686a5af scanner driver updates 2005-06-01 14:54:07 +00:00
Ron Pedde 9c48844586 separate out mp3 and url scanning 2005-06-01 14:40:28 +00:00
Ron Pedde 6f3fb9dba7 Pull out of mp3-scanner.c 2005-06-01 03:04:43 +00:00
Ron Pedde 443afc5a76 abstract out wav scanning 2005-06-01 02:54:20 +00:00
Ron Pedde e2d835fbce -Wall cleanups for gcc4 2005-05-30 03:41:31 +00:00
Ron Pedde 5cb2784e2e -Wall cleanups for gcc 4.0 2005-05-29 23:48:53 +00:00
Ron Pedde 5915acfa81 Refactoring scanning -- split aac scanning from mp3-scanner 2005-05-29 23:44:23 +00:00
Ron Pedde baca93b823 Fix problem of numeric genres 2005-05-29 06:43:03 +00:00
Ron Pedde 5f9a558eb1 Fix problem with trailing spaces in tags (bug #0001) 2005-05-29 06:42:02 +00:00
Ron Pedde d56527c2d0 fix obvious urldecoding oversight 2005-05-26 01:39:37 +00:00
Ron Pedde 3222b7b51d Minor doc fix 2005-05-26 01:39:03 +00:00
Ron Pedde f647ae4391 Skip playlists we aren't interested in -- master playlist, for example 2005-05-23 01:14:56 +00:00
Ron Pedde 9ec19009ec that's the problem with vararg functions... no warning if you mess them up 2005-05-23 01:14:30 +00:00
Ron Pedde a0d776a6d7 Tune logging 2005-05-23 01:12:55 +00:00
Ron Pedde a2fdb8b107 for quick translation from itunes song id to mt-daapd song id 2005-05-21 05:56:09 +00:00
Ron Pedde 93e69a789a fix for no disc number information from North Overby 2005-05-21 05:53:48 +00:00
Ron Pedde 9ae132a127 Add iTunes playlist support 2005-05-21 05:53:11 +00:00
Ron Pedde 8b30cbce9a Add debuglevel config value 2005-05-21 05:52:47 +00:00
Ron Pedde 75d5f1b289 Fix ton of memory leaks 2005-05-18 05:48:22 +00:00
Ron Pedde e80fc585c9 Remove ezxml in favor of home-built saxish parser 2005-05-17 04:26:59 +00:00
Ron Pedde 2bb3bbe7d5 Update to use rxml rather than ezxml 2005-05-17 04:26:20 +00:00
Ron Pedde ed62041b82 a sax-inspired xml parser 2005-05-17 04:25:38 +00:00
Ron Pedde 50fcf93ec6 fix problem with missing paths in config file 2005-05-17 04:24:35 +00:00
Ron Pedde 9245e282e8 transcode fix -- wrong content type for transcoded files 2005-05-13 05:09:03 +00:00
Ron Pedde a42cb7549d missing some files in extra_dist 2005-05-01 05:09:02 +00:00
Ron Pedde cb37ce4fea Ummm.... maybe that's the huge memory loss that's triggering the oom killer? Hmmm? 2005-04-30 03:36:47 +00:00
Ron Pedde c4c8693df9 problem dropping update tables on full rebuild of database 2005-04-28 01:07:46 +00:00
Ron Pedde 27a7426bc2 First cut of itunes xml parsing -- this should augment song info. Still no playlist info 2005-04-27 06:13:26 +00:00
Ron Pedde 7a7cd186bb fixes for static playlists 2005-04-24 21:15:18 +00:00
Ron Pedde 0aadff5e5a add daap URIs for delete playlist and delete playlist items 2005-04-24 00:48:47 +00:00
Ron Pedde c2de7ce606 add function to delete a playlist item 2005-04-23 21:01:10 +00:00
Ron Pedde 7b3333df19 Fix aeSP icon problem, finish first pass at static playlists 2005-04-21 04:50:50 +00:00
Ron Pedde 104957bf2f add db_delete_playlist, fix m3u scanning to use new database routines 2005-04-21 03:16:19 +00:00
Ron Pedde afd41008dc add m3ufile struct, functions for retrieving it 2005-04-19 04:47:59 +00:00
Ron Pedde a3c30304b7 fix the no-flac-metadata bug, and the long standing no-year-metainfo bug 2005-04-19 04:47:30 +00:00
Ron Pedde ba6cd23838 more typos 2005-04-18 00:30:09 +00:00
Ron Pedde ee2c3aa045 minor fixes 2005-04-18 00:26:57 +00:00
Ron Pedde a0143734b7 add some support towards static file-based playlists 2005-04-17 23:57:10 +00:00
Ron Pedde 2c059f4bb2 minor fixes 2005-04-17 23:56:33 +00:00
Ron Pedde 2d208dc30b add ogg and vorbis to standalone scanner framework 2005-04-17 22:06:59 +00:00
Ron Pedde b06aad7e49 make ogg and flac single-pass scanners like wma 2005-04-17 21:41:42 +00:00
Ron Pedde 1ffd741e50 fix parsing extended_content_description, better song duration by using preroll 2005-04-17 21:18:59 +00:00
Ron Pedde b21d1340c9 A little more wma metadata 2005-04-17 03:28:51 +00:00
Ron Pedde 2b6878495c make config pages specify utf-8 content-type 2005-04-16 23:13:59 +00:00
Ron Pedde 40d97beea1 Fix leak on background rescan 2005-04-16 21:26:35 +00:00
Ron Pedde 350e4affa9 add song_length and bitrate to wma scanner 2005-04-16 20:56:47 +00:00
Ron Pedde e5f833c181 framework for testing metadata scanners outside of mt-daapd 2005-04-16 20:54:36 +00:00
Ron Pedde 2762f6730b hook wma scanner into mp3-scanner, add more metainfo 2005-04-14 06:23:05 +00:00
Ron Pedde ed7a6c5b32 add so I don't lose it 2005-04-12 06:34:07 +00:00
Ron Pedde f1d35c7f3c fix fd leak in dynamic art 2005-04-12 03:51:42 +00:00
Ron Pedde 622171c1b1 Add daap.songcodectype, normalize daap.songformat and daap.songdescription. 2005-04-04 02:21:26 +00:00
Ron Pedde 33e6284639 Add daap functions to add items to a static playlist 2005-04-02 10:52:28 +00:00
Ron Pedde 53f8c8166b add dmap methods to remotely add a playlist 2005-04-02 09:27:53 +00:00
Ron Pedde de9d433b3e Fix double-url-decode bug 2005-04-02 06:08:27 +00:00
Ron Pedde 533c273a0b make containers query honor metatags, add mt-daapd specific playlist tags for type and smart playlist spec 2005-04-02 05:31:20 +00:00
Ron Pedde 158a76ae16 Add smart playlist clause to playlist query 2005-04-02 04:33:04 +00:00
Ron Pedde f7bd776d5f Fix problem with daap queries using apostrophe. It must be encoded as %27 2005-03-28 01:20:39 +00:00
Ron Pedde f8a4166a2a Fix error building query with wildcard specifiers 2005-03-28 00:41:37 +00:00
Ron Pedde ff8c69d915 clean up invalid utf-8 data. this forces a database update and full rescan (mostly as a test of the db update stuff) 2005-03-28 00:28:54 +00:00
Ron Pedde 172802161f Fix sql database creation script 2005-03-21 05:07:05 +00:00
Ron Pedde 17c7b8d875 Move ssc check to dmap-building time, rather than scanning time so that transcoding can be done on a per-user-agent basis 2005-03-20 23:43:24 +00:00
Ron Pedde c9d7a75774 fix double-free of pmp3 2005-03-20 06:04:16 +00:00
Ron Pedde ed4b5609e1 fix insert syntax 2005-03-20 04:42:52 +00:00
Ron Pedde 65510ae93b fix error in update 2005-03-20 04:22:42 +00:00
Ron Pedde f8f442bc3c Move db_open after priv drop 2005-03-20 04:13:34 +00:00
Ron Pedde 5a435bc6e9 make flac.c -Wall clean 2005-03-20 01:27:55 +00:00
Ron Pedde d4aaf09700 Get rid of some configure verbosity, include dbs-sqlite.h 2005-03-20 01:24:17 +00:00
Ron Pedde 87d8544a72 auto-upgrade of databases, including auto-creating database 2005-03-20 00:42:47 +00:00
Ron Pedde 6565596321 cleanups in dbs-sqlite, fixes for paths with single quotes in them 2005-03-19 21:56:08 +00:00
Ron Pedde adc26c90b4 Big performance wins 2005-03-19 10:02:19 +00:00
Ron Pedde 559a45503f Ignore invalid queries 2005-03-16 12:26:22 +00:00
Ron Pedde cb5f0283d6 Implement xml output 2005-03-16 11:38:14 +00:00
Ron Pedde 8e6c0d2c6d add query/filter support 2005-03-14 06:17:28 +00:00
Ron Pedde 352f627471 add browse 2005-03-13 23:20:25 +00:00
Ron Pedde 0df3ad01e1 Fix stop attempts during initial scan 2005-03-13 21:22:05 +00:00
Ron Pedde 5eb03dae42 Remove old files 2005-03-11 06:43:26 +00:00
Ron Pedde 7713e226f8 remove 2005-03-11 06:40:50 +00:00
Ron Pedde 847d10b361 First pass of sqlite backend 2005-03-11 06:39:40 +00:00
Ron Pedde 488e63b39f Roll back patch - breaks fbsd 2005-03-05 06:37:37 +00:00
Ron Pedde 54ff9e862e Fix the junk-in-strings thing. again. 2005-03-05 05:06:26 +00:00
Ron Pedde ea71a2b410 Fix garbage characters on entity-encoding dmap strings, also fix browse results 2005-03-04 05:16:34 +00:00
Ron Pedde 72d2d7c5c8 missing stdarg for va_start and friends 2005-03-04 03:50:24 +00:00
Anders Betnér a9785ade36 Made all html xhtml 1.0 strict compliant
lowercase tag names, make sure attributes as quoted and don't leave
any unclosed tags. also moved the 'http-equiv refresh' to the head tag
(it isn't allowed in the body)
2005-03-03 13:50:57 +00:00
Ron Pedde c1f455b16f Fix content-type for xml serialized response 2005-03-03 06:56:58 +00:00
Ron Pedde fb646037b0 add better content-type handling 2005-03-03 06:22:37 +00:00
Ron Pedde 3b26120a3b Add xml output for daap requests (using output=xml in request) 2005-03-03 06:07:11 +00:00
Ron Pedde c86be33245 initial support for sqlite 2005-03-01 04:19:27 +00:00
Ron Pedde f3b6ef46f9 use short options when getopt.h isn't present 2005-02-28 21:49:51 +00:00
Ron Pedde cde5f4c917 Add Timo's match patch 2005-02-28 20:28:44 +00:00
Ron Pedde 4069118651 Timo's fix for short title buffer 2005-02-27 04:26:15 +00:00
Ron Pedde f43da69cf7 Add Timo's wavstreamer 2005-02-27 03:34:07 +00:00
Ron Pedde 52074343b4 Timo's flac metainfo scanner 2005-02-27 00:42:27 +00:00
Ron Pedde 9afb28a4ab Add Tim's ogg and flac patches, plus convert the existing ogg metainfo reading
stuff to use vorbisfile.
2005-02-27 00:41:55 +00:00
Ron Pedde ecaae83ce5 Add config option latin1_tags to fix utf-8 tags in text fields purporting to be latin1. Sadly, this is an all-or-nothing option. Perhaps one could autodetect? 2005-02-24 05:04:05 +00:00
Ron Pedde de5ed17847 Fix problems with scanning fileinfo of files with uppercase extensions 2005-02-22 07:23:09 +00:00
Ron Pedde bdd5ba39da integrate server-side conversion patches, -Wall cleanups, AMD64 fixes, and xml-rpc cleanups 2005-02-21 08:10:37 +00:00
Ron Pedde c33eade8ba Add getPlaylistItems rpc function 2005-02-19 00:50:29 +00:00
Ron Pedde f2ff609742 start framework for xml-rpc calls. 2005-02-17 04:24:16 +00:00
Ron Pedde 70ea2d7561 fix divide-by-zero bug. Doh 2005-02-05 21:22:47 +00:00
Ron Pedde d0e71cbec8 removed as part of the atoll fix 2005-02-05 20:55:20 +00:00
Ron Pedde 1ea0bce3b3 re-fix the atoll thing 2005-02-05 20:54:55 +00:00
Ron Pedde 86b87b43dd Fix segfault on foreground on older redhats 2005-02-04 07:37:48 +00:00
Ron Pedde ed0a9c9fb1 fix pidfile for heavyweight threads 2005-01-30 06:58:36 +00:00
Ron Pedde bef2d8714c Fix problems with spaces in config files 2005-01-30 04:32:35 +00:00
Ron Pedde 9b6d39d447 Fix typo in usage, dont write pidfile unless running as root 2005-01-24 07:42:42 +00:00
Ron Pedde 5555707a6d Patches for slow connect speed from dirkthedaring2 2005-01-24 01:05:00 +00:00
Ron Pedde be980f515d Fix miscounted items on rescans 2005-01-17 05:20:13 +00:00
Ron Pedde 1b38b66340 Tune down the seek errors on frame scanning 2005-01-12 04:04:00 +00:00
Ron Pedde defcc6a614 Bump syslog messages up to LOG_NOTICE 2005-01-11 03:52:24 +00:00
Ron Pedde 7e5444c100 Better error messages on missing config 2005-01-11 03:48:56 +00:00
Ron Pedde 9dbd40bde8 Fix config_create_directory bug 2005-01-11 03:37:28 +00:00
Ron Pedde c8a4fdd19d Order playlist items in the order they are in the playlist, rather than inverted 2005-01-11 01:12:02 +00:00
Ron Pedde 9eddb7e4ca Fix compile error on solaris 2005-01-10 18:11:29 +00:00
Ron Pedde 81ded39a63 Synchronize mDNS to Apples 58.8 drop 2005-01-10 01:07:01 +00:00
Ron Pedde cd91e5362d fix problem with id3v2 comments 2005-01-09 21:50:48 +00:00
Ron Pedde b8e421d8df Fix for "my libc doesn't have atoll" bug. 2005-01-09 20:34:12 +00:00
Ron Pedde 133e971edc Fixes for the "Doesn't actually delete stuff on rescan" bug. Thanks to Roger Mundt for the logs and documentation to track this down. 2005-01-09 20:02:01 +00:00
Ron Pedde f7bec2c5f6 fix minor errno problem 2005-01-07 06:57:59 +00:00
Ron Pedde 185b339bf3 Typo 2005-01-07 05:58:04 +00:00
Ron Pedde c681c03af1 Tune pidfile error 2005-01-07 05:57:52 +00:00
Ron Pedde dd3bc4c731 Try and fix rendezvous problem 2005-01-07 05:37:46 +00:00
Ron Pedde b5d490473a Fix compress and scan_type on config_write, SF bug 1093662 2005-01-02 19:05:22 +00:00
Ron Pedde ae5613a1df fix solaris compile problems... take 2. 2004-12-31 04:57:33 +00:00
Ron Pedde 0b895d31f9 Fix for ssize_t undefined error 2004-12-31 03:44:16 +00:00
Ron Pedde f044f7331e Check for zlib 1.2.0 or better for gzip content-encoding 2004-12-29 07:07:49 +00:00
Ron Pedde cfe3c7675a Fix indent style. :) 2004-12-29 06:21:08 +00:00
Ron Pedde 1e17bf8c41 Add gzip content-encoding from patch by Ciamac Moallemi 2004-12-29 05:44:32 +00:00
Ron Pedde 9976d7b2cf Minor ogg fixups 2004-12-25 06:24:32 +00:00
Ron Pedde 4dd995db1c add oggvorbis capture info 2004-12-24 21:21:24 +00:00
Ron Pedde 7176d060a2 Add COMMENT keyword to smart playlists 2004-12-22 05:05:47 +00:00
Ron Pedde e9e305586e reorder startup again 2004-12-22 04:59:34 +00:00
Ron Pedde abe5ffbd09 change loggin destination 2004-12-21 04:38:15 +00:00
Ron Pedde 34c3ba8b2a Automatically update database on version change 2004-12-21 04:37:35 +00:00
Ron Pedde 026b528136 Make browse case-insensitive, to match query processing 2004-12-17 21:26:36 +00:00
Ron Pedde 4bc637a1a6 More sanity checking on paths, try and create the dbdir directory if it does not exist 2004-12-17 20:28:10 +00:00
Ron Pedde 1e9554e5dd Tune down logging on adding/freeing daap atoms 2004-12-17 20:17:20 +00:00
Ron Pedde c2b27f1836 re-arrange stuff back the way it was, mostly. Fix pidfile generation. 2004-12-09 05:07:09 +00:00
Ron Pedde 16c954fdf4 Logging fixes 2004-12-09 05:05:54 +00:00
Ron Pedde 398988f566 64-bit inode support 2004-12-08 03:21:12 +00:00
Ron Pedde f36c8d20d0 fix rend_init before detach bug in main. Oops 2004-12-08 03:20:48 +00:00
Ron Pedde e7b4e3879b Sanity check the admin-root path 2004-12-07 00:26:14 +00:00
Ron Pedde c75a402576 more verbose error to try and highlight permissions problems 2004-12-07 00:25:17 +00:00
Ron Pedde 007fb3725c Try to wait as long as possible before detaching -- catch more startup errors that way 2004-12-07 00:24:39 +00:00
Ron Pedde ce0cde027f Always log fatal errors to the console 2004-12-07 00:24:08 +00:00
Paul Kim 7aa6aa0062 configure.in:
- Added support for optional Ogg/Vorbis support via the --enable-oggvorbis
flag.

Makefile.am:
- Added conditional compilation of ogg.c dependant on whether Ogg/Vorbis
support is enabled.

mp3-scanner.c:
- Added hook for Ogg/Vorbis support.
- Commented out code which set the "item_kind" of ogg files differently.
It now sets it the same as other audio files. They show up in iTunes
now but they will not stream.

ogg.c:
- Initial check-in.
- Code adapted from 'ogginfo' program. Does parsing of Ogg/Vorbis tags.
2004-12-06 03:06:12 +00:00
Ron Pedde 7823fae9d5 Stop unchanged static playlists from incrementing version number. Fix memory leak with background rescans and static playlists 2004-12-03 06:43:20 +00:00
Ron Pedde 8d9587e4fc use pascal packed string to avoid invalid rdata error 2004-11-30 04:17:32 +00:00
Ron Pedde 57bb0851cb database id txt record to store settings 2004-11-30 04:04:17 +00:00
Ron Pedde 2a9533fb9f Fix disappearing playlist bug 2004-11-30 02:14:22 +00:00
Ron Pedde b033952af2 Handle short file errors better 2004-11-29 06:37:52 +00:00
Ron Pedde b50617d356 bad type - off_t vs fpos_t 2004-11-29 06:01:27 +00:00
Ron Pedde a5362e2fa9 Fix for OpenBSD 2004-11-29 05:55:45 +00:00
Ron Pedde 27d8a51309 add scan_type directive for doing brute-force scans 2004-11-29 05:55:25 +00:00
Ron Pedde 7f1ca1f552 fix for bug 1074486 - Web interface doesn't save some options 2004-11-28 08:45:26 +00:00
Ron Pedde 1261535d75 fix bug 1074489 - spaces in web forms are written as plusses in config file 2004-11-28 08:31:10 +00:00
Ron Pedde cd59a2f1dd fix bug #107442 - time stamp in log off. Use localtime vs gmtime 2004-11-28 06:54:01 +00:00
Ron Pedde fd70a618d6 Still more attempts to better find the right mp3 frame header 2004-11-27 22:58:33 +00:00
Ron Pedde 3def3f6e9e Fixes for process_m3u 2004-11-27 07:09:51 +00:00
Ron Pedde 08bef94c48 Update rend-howl to run with howl 0.9.6 2004-11-27 03:13:35 +00:00
Ron Pedde f53a5ce363 Fix log bug spotted by keen-eyed debugger whodoneit. :) 2004-11-24 05:55:09 +00:00
Ron Pedde 4e07eba759 Fix the no-session problem with iTunes 4.7 by counting unique ip addresses rather than sessions in the online user count 2004-11-22 07:31:44 +00:00
Ron Pedde a95f75c667 Bump the version count 2004-11-22 07:23:04 +00:00
Ron Pedde a2a5c09c59 First pass at xing header parsing
Try more aggressive header scanning for badly-formed mp3
files.  Some pathalogical mp3 files aren't detected right --
I suspect because they have header signatures in id3v2 tags,
which shouldn't happen per the spec, but obviously does.
2004-11-22 07:16:56 +00:00
Ron Pedde ae0538d347 fix inverted error message 2004-11-22 07:14:37 +00:00
Paul Kim 5d813e8b13 db-gdbm.c:
- Added support for db_timestamp field. Field is the modification time
of the db record and is checked against the file modification time
in file system scans.

mp3-scanner.h:
- Added db_timestamp field. This is now distinct from the file's
modification time which may, in some cases, be embedded in the file.

mp3-scanner.c:
- Added mac_to_unix_time to convert mac timestamps to unix ones.
- Mp3 files get their modification time from the files mod time.
- AAC files get their modification time from the embedded mod time.
- AAC files get their added time from the embedded creation time.
2004-11-20 19:22:40 +00:00
Ron Pedde 70024cb3e1 Minor fix - variable declarations first 2004-11-20 17:58:24 +00:00
Ron Pedde cbbddc5750 protect gdbm_* functions from reentrancy 2004-11-18 17:46:11 +00:00
Ron Pedde 8e09f1f042 more logging, smarter L_FATAL handling, tune error logging level 2004-11-18 06:58:31 +00:00
Ron Pedde 5280856f95 Fix fd leak from bad files in mp3 scan 2004-11-18 06:56:04 +00:00
Ron Pedde 2fa6a01019 Fix race in db_find/db_exists 2004-11-16 05:30:44 +00:00
Ron Pedde b6876538f3 expose always_rescan option 2004-11-16 05:28:48 +00:00
Ron Pedde cbfbd9990f readlock on db_find. a db_find during a background rescan apparently kills the db handle. still a small race there, need to rethink locking altogether. 2004-11-15 05:39:11 +00:00
Ron Pedde 90e50f9818 didn't actually *fix* the leak 2004-11-14 11:46:58 +00:00
Ron Pedde 813df56df0 small leak in daap_response_playlist_items 2004-11-14 11:46:41 +00:00
Ron Pedde c09b93d252 typos -- didn't compile 2004-11-14 07:24:37 +00:00
Ron Pedde 6c1f12ab61 fix gigantic memory leak on db enum 2004-11-14 06:45:13 +00:00
Ron Pedde d87940edad doxygen changes 2004-11-14 06:44:39 +00:00
Ron Pedde 06b5ad046f join signal handler on exit. make sure it exits okay 2004-11-14 06:44:20 +00:00
Ron Pedde 8bdd650ed2 oops 2004-11-13 21:00:30 +00:00
Ron Pedde bb14605b5c bug in setting error mask 2004-11-13 20:59:10 +00:00
Ron Pedde e24b0b7a66 Fix memory leak -- not disposing of mp3 struct returned by db_find in main 2004-11-13 20:58:30 +00:00
Ron Pedde 67c6782b3f doxygen fixes 2004-11-13 08:06:56 +00:00
Ron Pedde 19318d3708 add -D arg and err_setdebugmask 2004-11-13 08:05:27 +00:00
Ron Pedde 31aa0d8575 modularize debugging statements 2004-11-13 07:14:26 +00:00
Ron Pedde 2801956df0 more doxygen stuff 2004-11-12 07:27:05 +00:00
Ron Pedde 71ec35efd3 Add Doxyfile for doxygen doc generation 2004-11-12 06:38:05 +00:00
Ron Pedde afa041790b handle SIGCLD to catch zombies 2004-11-11 19:27:38 +00:00
Ron Pedde e2bf750033 Fix overrun in query.c -- calloc too small 2004-11-11 19:17:02 +00:00
Ron Pedde 672d262c17 fix typedefs for AMD64 2004-11-11 18:47:25 +00:00
Ron Pedde 7f046ed3b1 Fix URL handling for parameters with either an ampersand (&) or and equal (=). Patches from Stephen Lee fixing a bug reported by Peter Gutbrod. 2004-11-06 04:44:20 +00:00
Ron Pedde 35d5710d65 fix .url support for roku, which must have a asfm of pls. Doh. 2004-11-05 04:49:37 +00:00
Ron Pedde 7aec2d1639 add TYPE keyword to parser 2004-11-04 05:11:41 +00:00
Ron Pedde 493f0bffbf Support for streaming audio via .url files -- particularly for the Roku SoundBridge 2004-11-04 05:04:46 +00:00
Ron Pedde baf7ba8bda add compilation flag for id3v2.2 2004-10-31 00:19:45 +00:00
Ron Pedde 31ff9fc39c add --disable-mdns configure option, in prep for win32 build 2004-10-30 16:42:20 +00:00
Ron Pedde 099bcf911b Updates from Paul Kim 2004-10-27 22:09:16 +00:00
Ron Pedde 9bae797548 get rid of the ugly query dump 2004-10-27 04:11:32 +00:00
Ron Pedde 8fedf2d818 web config would write blank passwords 2004-10-27 04:09:05 +00:00
Ron Pedde e76fe090f8 invert strcasestr test 2004-10-27 04:01:33 +00:00
Ron Pedde 5134ce2154 abort on debug. Oops... 2004-10-27 03:54:07 +00:00
Ron Pedde 80073ac85c wrong parms to dump 2004-10-27 03:53:46 +00:00
Ron Pedde 4703588fe6 override for lazy background scanning 2004-10-25 04:52:52 +00:00
Ron Pedde 93255e0305 tune down some of the logging 2004-10-25 04:51:54 +00:00
Ron Pedde 0beb5c10d3 don't rescan the database if nobody is connected 2004-10-25 04:50:59 +00:00
Ron Pedde b77068393d do a reorg of the database following a db scan, to try and compact the db 2004-10-25 04:49:20 +00:00
Ron Pedde 8af2421541 Oops... last batch of stuff that was in -pre1, but not tagged as such 2004-10-25 03:15:35 +00:00
Ron Pedde d3217bc8ff rough estimate of bitrate for aac files 2004-10-15 23:00:19 +00:00
Ron Pedde 9bf4087971 Fix aac song length in files with a duration expressed in time intervals other than 10th of a second 2004-10-15 22:05:15 +00:00
Ron Pedde 7cc249142e Dynamic art for AAC files from Paul Kim 2004-10-15 20:10:39 +00:00
Ron Pedde feda9d5a02 Error on removing head element from connection list 2004-10-10 12:25:36 +00:00
Ron Pedde 491e7f8b57 dereferencing freed memory 2004-10-10 11:24:02 +00:00
Ron Pedde e600a30528 remove insertion sort for performance reasons 2004-10-10 06:58:28 +00:00
Ron Pedde ceb2f8cfc9 Track threads in the webserver to better terminate. Next need to move the config_status stuff out of configfile and into webserver.c 2004-09-30 03:03:18 +00:00
Ron Pedde fc5fc7dfa6 Comments 2004-09-25 21:43:56 +00:00
Ron Pedde ebf43ff4fb Case insensitive extension check for those with all uppercased file names 2004-09-19 21:14:27 +00:00
Ron Pedde 679faff120 fix logging bug 2004-09-19 06:02:19 +00:00
Ron Pedde 87f1e02c86 debug info on background rescans 2004-09-19 06:01:38 +00:00
Ron Pedde 628943123d free compiled regexes in page handlers 2004-09-19 06:00:43 +00:00
Ron Pedde 8577bec027 fix some really ugly memory leaks 2004-09-19 06:00:07 +00:00
Ron Pedde 9559452124 Fix date_added, modified problems. Also, fix db_exists 2004-09-19 05:18:49 +00:00
Ron Pedde 2861761d36 Stop hang while getting db_Version when rescanning 2004-09-19 05:18:17 +00:00
Ron Pedde 078c1e98e1 Since newest autotools automatically add the .c files to the DIST_COMMON, might as well add the parser.h too 2004-09-19 05:13:58 +00:00
Ron Pedde 32e4d018cb Make logs to stdout when running in foreground 2004-09-19 04:07:03 +00:00
Ron Pedde 9ac1213126 pedantic typecasting 2004-09-19 03:06:08 +00:00
Ron Pedde 335b21533b reliable shutdowns for webserver. Still need to move thread status into webserver.c, though 2004-09-19 03:05:18 +00:00
Ron Pedde 03f53ecc8f ARM (NSLU2) fixes for MP3 header scanning 2004-09-19 03:04:26 +00:00
Ron Pedde d317a98cdf Jim Buzbee's ARM patches for NSLU2 2004-09-19 03:03:47 +00:00
Ron Pedde 71d3892c89 Last OPT_QUERY reference 2004-09-18 17:13:14 +00:00
Ron Pedde 78ba4d7f20 hold lock during db enum -- reduce memory requirements by serializing updates (partcuarly with rescan_interval), and because the enum isn't currently reentrant 2004-09-18 05:24:34 +00:00
Ron Pedde 537233256b Default browse/query 2004-09-18 04:12:43 +00:00
Ron Pedde 773028d478 Fix problem with mozilla hanging on password-protected admin page... persisting the connection after a 401 makes mozilla and IE unhappy. 2004-09-15 06:10:27 +00:00
Ron Pedde 3d7cfd2695 add declaration for db_scanning 2004-09-15 05:01:26 +00:00
Ron Pedde b9a7c202c2 add scan_interval to config struct 2004-09-15 05:00:38 +00:00
Ron Pedde e67901f0a2 add an option to force a rescan. Add db version to status page. support scan_interval in config file 2004-09-15 04:59:56 +00:00
Ron Pedde 9cf3551c0c redo locking to allow for background rescanning. Add db_rescan to determine if the db is in rescan mode 2004-09-15 04:59:14 +00:00
Ron Pedde 68fa9b7b10 add background rescanning 2004-09-15 04:58:08 +00:00
Ron Pedde d9d0acd412 Allow empty playlists 2004-09-15 03:14:56 +00:00
Ron Pedde 9727812201 Remove playlist if last file is removed from the playlist on an update 2004-09-15 03:03:45 +00:00
Ron Pedde 23fa058c64 fix typo in add_long, made mper tag not work 2004-09-14 04:03:57 +00:00
Ron Pedde e43caee157 Add support for smart playlist manipulation by date added to database. Updated mt-daapd.playlist to match 2004-09-12 23:20:29 +00:00
Ron Pedde 5463b63436 Add HTTP/1.0 support, primarily for the Roku SoundBridge 2004-09-12 22:58:55 +00:00
Ron Pedde 86257b0129 Add decoding of Grouping, Composer, Comment and BPM for AAC files 2004-09-08 04:48:07 +00:00
Ron Pedde a96622cbe7 Add bitrate keyword to smart playlists 2004-09-08 04:07:53 +00:00
Ron Pedde 84d1ee1cca Add bpm keyword to smart playlists 2004-09-08 03:58:33 +00:00
Ron Pedde 5748b6502d Add support for TBPM (beats per minute) tag on MP3 files 2004-09-08 03:48:09 +00:00
David W. Berry a3eb5a6d53 shorten unknown meta code warning 2004-06-26 01:14:24 +00:00
David W. Berry 95989a91f0 Resolve problem parsing m4p files introduced with query changes. 2004-06-25 23:23:15 +00:00
David W. Berry 3294922dcf use hton instead of ntoh 2004-06-22 01:55:07 +00:00
David W. Berry 0ba13be4be fix problem with m4p files crashing sorting 2004-06-22 01:52:26 +00:00
David W. Berry 9492a64846 1. Implement browse and query. These are both still somewhat experimental
pending further verification against iTunes.  --enable-browse and
    --enable-query must be specified to configure to enable both options.
    browse support requires query support.
2.  Database iteration is now sorted and the database is not kept locked
    as long during iteration.
2004-06-14 19:01:06 +00:00
Ron Pedde 483d354468 Fix gdbm for debian stable, configure problem with new howl 2004-06-02 05:28:52 +00:00
Ron Pedde d895dc8b41 bumper patch from dwb 2004-05-21 13:56:04 +00:00
Ron Pedde 7ba8f31273 Get rid of the update stuff, and the web server shutdown that sometimes hangs 2004-05-10 03:31:11 +00:00
Ron Pedde 4370cb960c Seeking working on iTunes 4.5 2004-04-28 23:51:26 +00:00
Ron Pedde 3978d0932c More fixes for iTunes 4.5 2004-04-28 18:55:22 +00:00
Ron Pedde 3d2c60572d Updates for iTunes 4.5. Some problems with seeking on mac, though 2004-04-28 18:45:56 +00:00
Ron Pedde 366a44702e fix valgrind errors 2004-04-26 23:47:25 +00:00
Ron Pedde 39052e10e1 fix Wall warnings 2004-04-26 23:46:44 +00:00
Ron Pedde 8ef12d52f6 Fix for out of stack space on large music libraries 2004-04-22 04:20:30 +00:00
Ron Pedde 2dee0cebd4 Starting to fix signal stuff 2004-04-19 06:19:46 +00:00
Ron Pedde c4367412b2 Don't add art to .aac files 2004-04-18 20:24:01 +00:00
Ron Pedde 44d29752c7 fix seek problems using dynamic art on mac platform 2004-04-17 22:20:02 +00:00
Ron Pedde b3e3f349c7 stupid 2004-04-17 21:46:08 +00:00
Ron Pedde 40169a7e91 fixed error when not finding cover art 2004-04-17 21:40:47 +00:00
Ron Pedde ffee7a4acf add logging to find reason for file skipping 2004-04-16 04:03:35 +00:00
Ron Pedde e84e153910 Add art files 2004-04-15 21:37:21 +00:00
Ron Pedde 2f484c23e3 minor fixes to art-merge 2004-04-14 07:04:05 +00:00
Ron Pedde 3e31ccf1d2 Add experimental dynamic art code by Hiren Joshi 2004-04-14 06:17:22 +00:00
Ron Pedde 6f5b8b6e96 logging fixes 2004-04-13 04:27:04 +00:00
Ron Pedde 6170df9af4 logging enhancements 2004-04-13 04:23:36 +00:00
Ron Pedde 625729613b refactor for background updates 2004-04-07 03:51:01 +00:00
Ron Pedde ffff21d118 Fix problems with not noticing removed files 2004-04-06 21:27:31 +00:00
Ron Pedde 5710d771d0 too many -lgdbm 2004-04-06 20:06:41 +00:00
Ron Pedde 543e8c1ee1 make gdbm the default 2004-04-06 15:26:46 +00:00
Ron Pedde a2d9dfec41 Make gdbm the default 2004-04-06 14:06:16 +00:00
Ron Pedde 451b522dfd fix db_init after dropping privs 2004-04-06 13:44:26 +00:00
Ron Pedde dc9c7c96be off by one 2004-04-06 01:56:00 +00:00
Ron Pedde 84ea7aa49c don't crash on 0 bitrate 2004-04-04 08:39:54 +00:00
Ron Pedde 1c590645be more compatible automake 2004-04-04 08:23:34 +00:00
Ron Pedde 2627002b2c Add support for MPEG 1, 2, and 2.5 layers I, II, and III 2004-04-04 06:34:44 +00:00
Ron Pedde 8273834a8c Add feedback info 2004-04-02 06:48:24 +00:00
Ron Pedde a8a540c7fe Move mdns stuff out of mdns subdir to help compile on older automakes 2004-03-29 19:44:58 +00:00
Ron Pedde 2d397683da Get rid of mdns 2004-03-29 19:37:54 +00:00
Ron Pedde 863346cbb9 Flatten mdns stuff 2004-03-29 17:55:17 +00:00
Ron Pedde 46ac5acdf8 Moving mdns stuff 2004-03-29 17:44:44 +00:00
Ron Pedde a551776cf0 Start adding some stats stuff 2004-03-26 20:59:28 +00:00
Ron Pedde e4df3def97 include the redblack tree files. Doh\! 2004-03-19 04:37:26 +00:00
Ron Pedde f0cd6d37a0 Add version keyword 2004-03-18 17:52:28 +00:00
Ron Pedde c702b4c7a3 Add support for composer, orchestra, conductor, and grouping 2004-03-16 07:54:37 +00:00
Ron Pedde 0a697cc0fa Solaris fixes 2004-03-16 05:25:25 +00:00
Ron Pedde e296c15d04 Fixes from James Turner 2004-03-16 05:24:54 +00:00
Ron Pedde 30d7753e1c Fix obvious typecast bug 2004-03-16 05:11:18 +00:00
Ron Pedde c82841a551 Fix genre bugs in aac and mp3 2004-03-14 21:37:07 +00:00
Ron Pedde 6795f24fae Determine song length of aac files 2004-03-14 07:28:52 +00:00
Ron Pedde 1003467e63 Fix missing sync frame on bad id3 headers 2004-03-14 06:29:41 +00:00
Ron Pedde 7c8f83684a include config.h 2004-03-14 01:06:15 +00:00
Ron Pedde 59059a48f3 add delete to gdbm 2004-03-14 00:47:42 +00:00
Ron Pedde acfcde0dda Return correct playlist status 2004-03-14 00:12:25 +00:00
Ron Pedde 9a943fdcd0 More debugging 2004-03-14 00:11:49 +00:00
Ron Pedde 01f976eef6 Add redblack for gdbm 2004-03-14 00:11:34 +00:00
Ron Pedde 922b9e2ae0 fix static playlists 2004-03-14 00:11:07 +00:00
Ron Pedde b473f745a3 Add Damian Ivereigh's redblack tree implementation to speed lookups 2004-03-13 23:43:02 +00:00
Ron Pedde c846b649d4 Fix the stupid strcasestr thing 2004-03-11 06:05:40 +00:00
Ron Pedde b5462f8ca0 Add support for smart playlist icons 2004-03-11 05:47:15 +00:00
Ron Pedde 246655d914 fix typecast problem 2004-03-09 08:15:55 +00:00
Ron Pedde ca260d4fb9 Fix minor valgrind bugs 2004-03-09 04:37:59 +00:00
Ron Pedde 01023b470d Fix double-free 2004-03-09 04:37:34 +00:00
Ron Pedde 11eaaf6d4f Small fixes 2004-03-08 21:27:38 +00:00
Ron Pedde cdbbab756f Get smart playlists working on gdbm 2004-03-08 20:36:07 +00:00
Ron Pedde cff316a742 start of background scanning 2004-03-08 19:21:03 +00:00
Ron Pedde 13a5b089c0 Add path token to playlist parser 2004-03-07 06:22:44 +00:00
Ron Pedde 4d14d11dff Fix lingering pl_newpredicate error 2004-03-07 06:16:41 +00:00
Ron Pedde 7df7ce5c83 First pass at .m4a support 2004-03-07 05:42:25 +00:00
Ron Pedde c8628a27da Fixes for db-gdbm for initial scan 2004-03-03 18:51:12 +00:00
Ron Pedde 449d2104db First pass on db stuff. Still some unpacking problems 2004-03-03 06:50:09 +00:00
Ron Pedde a74ab2712e fix domain 2004-03-02 01:35:31 +00:00
Ron Pedde c25b197d2e Update to mdns 58.3 2004-03-02 00:14:26 +00:00
Ron Pedde 8ddc247d7b Merge new rendezvous code 2004-03-02 00:03:37 +00:00
Ron Pedde c28a956379 Increase logging 2004-03-01 21:12:20 +00:00
Ron Pedde d8981d353c Fix logging 2004-03-01 16:29:42 +00:00
Ron Pedde ce28b4a9ea More -Wall cleanups 2004-02-25 16:13:37 +00:00
Ron Pedde a6572b3f34 Code cleanups provided by David Imhoff 2004-02-24 00:34:04 +00:00
Ron Pedde 642f060ec6 Add specified file types 2004-02-23 03:27:49 +00:00
Ron Pedde 62ea6d2fa8 Initial changes for db 2004-02-18 20:35:14 +00:00
Ron Pedde 6f4df7885b Add disc number info 2004-02-18 20:34:08 +00:00
Ron Pedde 1c26070a38 Empty shell 2004-02-18 00:18:02 +00:00
Ron Pedde 9289f526db -Wall fixes 2004-02-15 00:51:11 +00:00
Ron Pedde 76bdffec53 Password fix 2004-02-09 21:32:30 +00:00
Ron Pedde 092b6de067 Pretty up 2004-02-09 18:33:59 +00:00
Ron Pedde d58c2c6ede Fix problem with genres greater than 148 2004-02-09 17:42:57 +00:00
Ron Pedde 6ab0019817 Fix init error 2004-01-29 18:56:25 +00:00
Ron Pedde 7179a157e6 Fix null password problem 2004-01-27 05:30:25 +00:00
Ron Pedde 58a3d45cef Add track tags 2004-01-27 05:30:06 +00:00
Ron Pedde 10f7ca1790 merge new-rend-branch 2004-01-20 04:41:20 +00:00
Ron Pedde 41021a3a94 Fix solaris debug message problem 2004-01-13 15:39:49 +00:00
Ron Pedde fcde8d4bd8 Better scanner fix for solaris 2004-01-13 15:39:30 +00:00
Ron Pedde 9119ab738a utf8 comments 2004-01-13 15:29:31 +00:00
Ron Pedde 09e9f8c571 don't translate comments from utf8 2004-01-13 04:30:32 +00:00
Ron Pedde 5dca8dcbf2 format fix 2004-01-13 04:29:43 +00:00
Ron Pedde b24a3200d0 solaris fixes 2004-01-13 04:29:30 +00:00
Ron Pedde 25b3dd0679 Solaris fixes 2004-01-13 00:13:53 +00:00
Ron Pedde 30ac2eb1c5 Change mDNS default to 1 2004-01-04 21:57:38 +00:00
Ron Pedde 78f63acdfa Fix version message 2004-01-04 21:32:22 +00:00
Ron Pedde 3cfaf1f44d Fix error messages on init_scan 2004-01-04 21:32:04 +00:00
Ron Pedde f666a32d0a Allow comments 2004-01-04 21:31:32 +00:00
Ron Pedde c39af59e01 no SIGCLD on OSX 2004-01-04 21:16:20 +00:00
Ron Pedde c1adc86587 Fix double-free 2004-01-04 05:27:43 +00:00
Ron Pedde 56aec738a8 fix segfault on dropping privs 2004-01-04 05:02:23 +00:00
Ron Pedde ad6a6b3d5e add priv dropping 2003-12-29 23:39:18 +00:00
Ron Pedde 54a22bfee4 Add daemonizing code 2003-12-29 22:09:15 +00:00
Ron Pedde eadacb07b6 Make sure all files have GPL notice 2003-12-29 20:41:08 +00:00
Ron Pedde f4b1fd9eb2 Fix minor make dist problems 2003-12-29 19:46:58 +00:00
Ron Pedde eac98e0a61 Fix stat time fields 2003-12-09 15:56:17 +00:00
Ron Pedde e3b5c496bc Make 401 persistent. Not convinced this is right 2003-12-09 05:49:00 +00:00
Ron Pedde 0df8292d6f add password support 2003-12-09 05:48:30 +00:00
Ron Pedde af983110a2 playing with date stuff -- seems wrong 2003-12-09 05:48:06 +00:00
Ron Pedde 4cf8d865d8 Add password configfile entry 2003-12-09 05:46:53 +00:00
Ron Pedde 727ba5e076 little more debug info -- fix cvar problem in debug 2003-12-08 06:38:21 +00:00
Ron Pedde e35cf88e50 Add YEAR token, and integer ops -- equal, greater, less, etc. 2003-12-07 06:36:06 +00:00
Ron Pedde 47dd724c35 Add scanning for year tag - TDRC 2003-12-07 00:24:01 +00:00
Ron Pedde c8e62c0357 add pl_load and pl_eval for smart-playlist loading and evaluating 2003-12-05 06:01:21 +00:00
Ron Pedde e6673b0f5d Remove TOK_ from tokens 2003-12-05 06:00:30 +00:00
Ron Pedde 9eb513bfa8 add smart-playlist evaluation to mp3 adder. Arguably deserves to go in db_add 2003-12-05 05:59:51 +00:00
Ron Pedde 2fde2c1250 add playlist parse option, as well as initializing smart playlists 2003-12-05 05:59:19 +00:00
Ron Pedde 9744ab3830 remove TOK_ from tokens to make error messages better. Make lexer case insensitive 2003-12-05 05:58:29 +00:00
Ron Pedde 67e17f22f2 Add playlist directive and config variable 2003-12-05 05:57:16 +00:00
Ron Pedde 377356bd06 Start of smart playlists 2003-12-04 23:20:51 +00:00
Ron Pedde a98bdfbf66 Oops... memory leak -- forgot to free the daap tree after serializing 2003-12-03 21:31:34 +00:00
Ron Pedde ebf850a12e debug msgs for m3u processing. Why are not all playlists showing up? 2003-12-03 20:25:23 +00:00
Ron Pedde 988f0e5b77 Fork first, ask questions later 2003-12-03 20:18:01 +00:00
Ron Pedde 47148ed0f6 Stop serializing to memory 2003-12-03 20:17:38 +00:00
Ron Pedde 7f15282951 Handle m3u files 2003-12-02 06:20:54 +00:00
Ron Pedde 6166b8a6d3 don't count empty playlists 2003-12-02 06:20:41 +00:00
Ron Pedde 1533d3b33c done playing with playlists 2003-12-02 06:20:19 +00:00
Ron Pedde c9ea0b4bfc playing with playlists 2003-12-02 05:28:39 +00:00
Ron Pedde 375521caaa Initial playlist support 2003-12-02 05:28:01 +00:00
Ron Pedde ca10ac95ec Change ID handling to inode 2003-12-02 05:27:32 +00:00
Ron Pedde 1b5e2ca2c4 More linux fixes 2003-12-01 20:06:09 +00:00
Ron Pedde 2c029ddd15 Small linux fixes 2003-12-01 15:27:40 +00:00
Ron Pedde abed11fc99 Add HTTP_USER var 2003-12-01 07:05:54 +00:00
Ron Pedde 2c1b1d5a05 add user directive 2003-12-01 07:05:42 +00:00
Ron Pedde 5feb9f8528 Add ws_getrequestheader 2003-12-01 06:55:36 +00:00
Ron Pedde 25bc6750e1 Add arbitrary seeking 2003-12-01 06:55:05 +00:00
Ron Pedde 90d3cd8929 Finally _really_ fixed OSX advertisements via rendezvous 2003-12-01 06:18:47 +00:00
Ron Pedde eead131cc2 Add native OSX rendezvous registration 2003-12-01 05:27:54 +00:00
Ron Pedde f1dbd03605 first pass 2003-12-01 05:24:41 +00:00
Ron Pedde 8a79262ef5 Fah 2003-12-01 03:24:17 +00:00
Ron Pedde 7f5d8f96b1 Fix ID3v1 tags 2003-12-01 03:23:43 +00:00
Ron Pedde 4a61df3739 oops 2003-12-01 03:01:56 +00:00
Ron Pedde 72d19c0777 Exclude from memory checks 2003-11-26 06:12:53 +00:00
Ron Pedde 5bb7712b5b Include listener thread in the threads waited for on shutdown 2003-11-26 06:12:25 +00:00
Ron Pedde 74238741d1 notify memory checker about utf-8 strings 2003-11-26 06:11:30 +00:00
Ron Pedde 6367c53800 Allow graceful shutdown 2003-11-26 06:10:58 +00:00
Ron Pedde 0371cae9dc add some flags to the config structs 2003-11-26 06:10:46 +00:00
Ron Pedde f7e16d22ab Add function to let the memory watcher know about memory allocated in libraries 2003-11-26 06:10:21 +00:00
Ron Pedde 3993a75dbf needed fd for update to test for dead socket 2003-11-26 06:09:36 +00:00
Ron Pedde 98ef1d26fd Add graceful socket closure handling to daap.c 2003-11-26 06:09:20 +00:00
Ron Pedde cccc273969 added service-status directive. Added shutdown handlers for daap server and mdns responder 2003-11-26 06:08:40 +00:00
Ron Pedde 95d1283c86 implemented the deinit function 2003-11-23 18:15:05 +00:00
Ron Pedde 3949902b1b Add close function to free up used memory 2003-11-23 18:14:40 +00:00
Ron Pedde 572a27b9b5 Take out excessive logging 2003-11-23 18:14:03 +00:00
Ron Pedde c7435c28fc Take out argv stuff 2003-11-23 18:13:35 +00:00
Ron Pedde 45c2b5e4b2 Exit rather than returning... shouldn't make a difference, but does. ? 2003-11-23 18:13:15 +00:00
Ron Pedde d334bfdb96 Fix memory stomp in err_malloc 2003-11-23 06:16:57 +00:00
Ron Pedde 41746a0326 Add memory leak checks 2003-11-23 06:10:25 +00:00
Ron Pedde 938d54b055 More diag logging, move WS_PRIVATE into the WS_CONNINFO 2003-11-20 21:58:22 +00:00
Ron Pedde 14a508bc34 Fix memory leak 2003-11-18 00:16:32 +00:00
Ron Pedde fcf1918438 Fix gigantic memory leak 2003-11-17 23:10:56 +00:00
Ron Pedde 7130df6469 add howl support 2003-11-17 22:28:48 +00:00
Ron Pedde 87c324a1c2 add support for named db 2003-11-17 16:40:09 +00:00
Ron Pedde 718a9a0af3 Add support for named db 2003-11-17 16:38:44 +00:00
Ron Pedde 4b6af9ccdd Add support for db naming 2003-11-17 16:38:03 +00:00
Ron Pedde d93504dd5a add howl support 2003-11-17 16:37:39 +00:00
Ron Pedde 85c4cdc9fe replace fsetpos junk with fseek 2003-11-14 22:38:02 +00:00
Ron Pedde 8bf0c61357 add unique session id 2003-11-14 22:37:35 +00:00
Ron Pedde c7b28232c2 add unique session ids 2003-11-14 22:37:01 +00:00
Ron Pedde 9bc76676b3 Fix fpos_t thing 2003-11-14 19:19:29 +00:00
Ron Pedde a01e46d961 Add debugging 2003-11-14 19:19:18 +00:00
Ron Pedde abf326c69e Add user-count directive 2003-11-14 19:18:57 +00:00
Ron Pedde 5e13a6c3ed Add ispage handler 2003-11-14 16:20:44 +00:00
Ron Pedde 0885bbfb50 Skip mp3 files with no sync frame 2003-11-14 16:19:21 +00:00
Ron Pedde d780313965 Add status updates 2003-11-14 04:56:20 +00:00