79 Commits

Author SHA1 Message Date
Justin Maggard
608f3f902c * Add file filters to inotify scanner. Now, for example, an audio-only directory should not have image or video files put in the database by the inotify auto-scanner. 2009-04-02 02:40:35 +00:00
Justin Maggard
ea70f079f2 * Improve escaping of special characters in returned XML. Should close SF bug ID 2717054. 2009-04-01 22:41:27 +00:00
Justin Maggard
d937f13526 * Improve log messages when we're creating a new database. 2009-04-01 22:37:51 +00:00
Justin Maggard
8d12ee4ae7 * Major optimization for large Search/Browse responses. Using strcat gets very slow when the data size gets too big. Switching to memcpy gives us a huge performance improvement with very large responses. 2009-04-01 20:19:00 +00:00
Justin Maggard
047b9511a6 * Don't classify an MPEG1 video file with the MPEG1 DLNA profile if the resolution is too high for that profile. 2009-04-01 20:16:37 +00:00
Justin Maggard
1cf7824fce * Preserve SystemUpdateID across restarts.
* Fix compile issue with TiVo support disabled.
2009-03-31 17:29:34 +00:00
Justin Maggard
29aa8608c2 * Return a real value for the SystemUpdateID evented variable. 2009-03-31 02:48:55 +00:00
Justin Maggard
2e3a4f1dde * Implement the QueryItem command.
* Add error handling/reporting for unknown commands.
2009-03-30 07:43:10 +00:00
Justin Maggard
3aea5d6f07 * Add a fallback method for gathering the date/time an image was taken. 2009-03-30 07:42:24 +00:00
Justin Maggard
0a415861e7 * Fix bug with bad album art. 2009-03-27 22:22:23 +00:00
Justin Maggard
9854e35533 * Add Matroska Video (.mkv) support. 2009-03-27 07:39:09 +00:00
Justin Maggard
7372543da9 * Fix issues with duplicate entries in UPnPSearch results.
* Send XBox360 bad bitrate information, since it requires it.
2009-03-27 07:32:41 +00:00
Justin Maggard
9a481196fc * Check all contributor types when determining the artist. 2009-03-26 21:06:51 +00:00
Justin Maggard
6d5ef54c06 * Add .m2t as a valid video file extension. 2009-03-25 08:05:23 +00:00
Justin Maggard
8bc1fae910 * Put WMA artist tag info where the metadata parser expects it to be. 2009-03-25 07:41:12 +00:00
Justin Maggard
41170f4e30 * Fix possible uninitialized value. 2009-03-23 23:59:24 +00:00
Justin Maggard
575556ca9d * Fix race condition with file-serving SQL queries and scanner/inotify SQL queries. 2009-03-22 22:21:44 +00:00
Justin Maggard
c4d180f80d * Some image scaling tweaks for different platforms. 2009-03-20 19:33:34 +00:00
Justin Maggard
06784a31ca * Initialize some variables. 2009-03-19 21:42:13 +00:00
Justin Maggard
ac5a37b27a * Get rid of all depenence on libgd, and use libjpeg directly. 2009-03-19 08:06:27 +00:00
Justin Maggard
935225e1a3 * Reduce the priority of scanner and inotify threads so they don't preempt serving media. 2009-03-18 19:28:21 +00:00
Justin Maggard
06fb334cad * Handle the case where we have a embedded album art image size, but no data. 2009-03-18 17:34:30 +00:00
Justin Maggard
d484d5870c * Fix a couple bugs in error handling when forking. 2009-03-17 22:08:51 +00:00
Justin Maggard
58862a115f * Handle ampersands properly on TiVo. 2009-03-17 08:48:12 +00:00
Justin Maggard
f04296de38 * Fork request handling for resized images. 2009-03-16 18:43:42 +00:00
Justin Maggard
a62cceda99 * Add full support for SortOrder and Filter parameters from TiVo. 2009-03-16 06:59:27 +00:00
Justin Maggard
c5ba967f47 * Fix some issues with TiVo support. It should be pretty functional at this point if you stick to basic operations. 2009-03-14 23:29:13 +00:00
Justin Maggard
7a2e3ae67a * Many changes for TiVo support. It actually [kinda] works. :) 2009-03-13 08:39:37 +00:00
Justin Maggard
3ae378cdc9 * Treat an empty Filter argument as "*".
* Make sure we allocate enough memory to hold SourceProtocolInfo response data.
2009-03-09 20:53:21 +00:00
Justin Maggard
40a37fbd78 * Fix duplicate ObjectID issue. 2009-03-09 20:52:07 +00:00
Justin Maggard
0f4212117c * Fix a couple bugs with embedded album art error handling. 2009-03-07 23:12:45 +00:00
Justin Maggard
3be66cf1ca * Add ReadyNAS-specific flag file support. 2009-03-07 01:46:04 +00:00
Justin Maggard
28a7d7aedb * Tweak log level. 2009-03-06 20:40:45 +00:00
Justin Maggard
036b21fb00 * Minor log level changes. 2009-03-06 20:36:53 +00:00
Justin Maggard
23c858054c * Different log path for ReadyNAS. 2009-03-06 20:30:12 +00:00
Justin Maggard
a28c0ed53f * Add some more flexible browsing options for music. 2009-03-06 03:21:35 +00:00
Justin Maggard
ab434ba78b * Fix accidental checkin of object ID changes. 2009-03-03 08:46:50 +00:00
Justin Maggard
9eb6f81a64 * Fallback code for duplicate audio/video extensions (.mp4).
* Fix a couple potential very small memory leaks in the scanner.
2009-03-03 08:14:01 +00:00
Justin Maggard
e6aa386f77 * Remove debug code which was accidentally left in. 2009-03-03 00:14:12 +00:00
Justin Maggard
e3340c0839 * Handle inotify move events.
* Enable minimal logging to a file by default.
2009-03-03 00:13:05 +00:00
Justin Maggard
2664fe0d91 * Add device icon support. 2009-03-02 19:59:07 +00:00
Justin Maggard
e24e164d20 * Try harder to deduce a reasonable bitrate from certain AAC files. 2009-02-27 00:12:38 +00:00
Justin Maggard
9efb145aea * Fix typo in Video Folders container. 2009-02-26 07:51:19 +00:00
Justin Maggard
1c0bf5197d * Handle errors in WMV DLNA profiling. 2009-02-26 01:22:15 +00:00
Justin Maggard
f221610816 * Explicitly link to libvorbis. 2009-02-26 00:50:06 +00:00
Justin Maggard
b74e2d33f3 * Use internal music metadata functions intead of taglib.
1) Taglib does not support MP4 or WMA/ASF without hacking it in there.
  2) Taglib is C++, so it's nice to remove that dependency.
* Use embedded album art where available.
2009-02-25 21:16:51 +00:00
Justin Maggard
2da2f6d4a1 * Add some preliminary code for the eventual possibility of TiVo support. 2009-02-23 23:10:27 +00:00
Justin Maggard
10136482af * If a file deletion empties a container, remove the container as well. 2009-02-23 02:57:00 +00:00
Justin Maggard
45f294b404 * Use our own logging mechanism instead of syslog/printf. 2009-02-20 10:21:23 +00:00
Justin Maggard
69965b876e * Thanks to Steve Hollis for pointing out that GD's default JPEG quality setting is pretty bad for downscaling thumbnails. 2009-02-17 22:22:35 +00:00