Commit Graph

967 Commits

Author SHA1 Message Date
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