24 Commits

Author SHA1 Message Date
Justin Maggard
902b2105df * Allow the user to specify where to keep the database in the config file. 2009-11-19 03:22:35 +00:00
Justin Maggard
c8fe23d838 * Rework the sql_exec function to use format arguments, to simplfy the code.
* Don't set the DB version until after the scan completes.  This way, if only a partial scan has been done, a full scan will be initiated the next time minidlna is started.
2009-11-04 01:38:14 +00:00
Justin Maggard
e777a93a5e * Remove ALBUM_ART_PN from the database, since it's forced to be JPEG_TN now.
* Add a DISC entry to the database, so when the client sorts a multi-disc audio album by track, we can sort by disc first.
2009-10-14 01:14:10 +00:00
Justin Maggard
35b8bf2f09 * Don't bother analyzing a cover art jpg multiple times, once for each file in the directory. If it exists, just use it. 2009-07-10 01:54:08 +00:00
Justin Maggard
b1f4c35017 * If a new file is noticed by inotify, check if it is cover art for existing files, and update them if so. 2009-07-08 19:20:32 +00:00
Justin Maggard
66ce695272 * Look for file-specific cover art first (especially useful for video files). 2009-06-02 21:17:40 +00:00
Justin Maggard
cb61823ecc * Always store cached JPEG album art with a .jpg extension. 2009-05-11 00:56:04 +00:00
Justin Maggard
35352221b2 * Don't bother checking embedded art if the last hash matches, and it was invalid. 2009-05-01 08:01:40 +00:00
Justin Maggard
7f01aa7080 * Fix a couple potential memory leaks in album art error handling. 2009-04-28 21:13:25 +00:00
Justin Maggard
6fc880a25d * Fix issues with album art linking if the link target is in a different directory than the previous file. 2009-04-18 02:23:06 +00:00
Justin Maggard
0303f15fa4 * Fix segfault when encountering a certain type of corrupted embedded JPEG image on audio files. 2009-04-10 22:25:04 +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
0a415861e7 * Fix bug with bad album art. 2009-03-27 22:22:23 +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
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
7a2e3ae67a * Many changes for TiVo support. It actually [kinda] works. :) 2009-03-13 08:39:37 +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
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
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
Justin Maggard
5413646e1c * Downscale album art files to JPEG_TN specs and cache them if we find album art at a larger resolution. 2009-02-15 21:32:48 +00:00
Justin Maggard
42be3989bf * Allow users to specify the file names and order that the Album Art scanner will search for.
* Lots of changes for inotify support.
2009-02-10 03:10:09 +00:00
Justin Maggard
a1d385241d * Be more flexible when it comes to album art resolutions. This is really just a recommendation and not an absolute requirement for DLNA compliance. 2009-02-04 02:25:24 +00:00
Justin Maggard
0324818d86 * Fix some possible memory leaks.
* Pay attention to the specified port number.
* Add support for multiple media directories, and allow content filtering on the directories.
2009-02-03 03:36:59 +00:00
Justin Maggard
8c3ebe1259 * Forgot to add some new files... 2009-01-30 08:52:48 +00:00