Justin Maggard
1549254753
* Set database pragma for optimal performance on every DB open.
2009-11-17 19:13:00 +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
58ecfd6380
* Implement and use new sql_get_int_field() function to simplify getting integers from the database.
2009-11-02 19:21:38 +00:00
Justin Maggard
f36047098c
* Add bits for static linking.
2009-10-23 23:06:16 +00:00
Justin Maggard
745457e814
* Don't use getifaddrs(), since it's not portable; and rework the MAC address reading code.
2009-10-23 22:01:05 +00:00
Justin Maggard
4efa9d06ac
* Make strict DLNA adherence optional. Many products appear to handle JPEGs >4096x4096 classified as JPEG_LRG, and it's better to not downscale if we don't have to.
2009-10-14 21:24:23 +00:00
Justin Maggard
ba29e35bcc
* Clean up after some memory allocations before exit so valgrind is happy.
...
* Fork off the scanner process instead of doing it in another thread, so if libavformat leaks memory it will be cleaned up once scanning is finished.
2009-10-03 02:08:59 +00:00
Justin Maggard
1f29b0cac1
* Include the port number in the default presentation URL. One user claims XBox360 won't work without this.
2009-09-30 00:46:02 +00:00
Justin Maggard
20f01f4a3d
* Make realpath() usage not depend on implementation-specific behavior.
2009-09-16 18:04:10 +00:00
Justin Maggard
25861ebf92
* Use our own time-based UUID generation functions, to help eliminate potential compiling issues.
2009-09-01 02:54:20 +00:00
Justin Maggard
193c5305f9
* Also warn about old sqlite3 libraries during compile time.
2009-07-23 17:47:02 +00:00
Justin Maggard
c643cab907
* Add checks and change behavior based the type of sqlite library we're linked to.
2009-07-22 23:00:31 +00:00
Justin Maggard
f1ee94f927
* Prevent a segmentation fault if $LOGNAME is not set during startup.
2009-07-09 22:59:13 +00:00
Justin Maggard
4378b09557
* If the realpath() function does not work with the non-standard "resolved_path == NULL" feature, then just take the conf file at its word that the specified path is correct.
2009-07-09 17:54:26 +00:00
Justin Maggard
2ea232b518
* Print SQLite library version on startup.
2009-07-09 17:40:40 +00:00
Justin Maggard
d1049476ef
* Add new options to (1) force a rescan at startup, (2) display help text, and (3) bind to a specified network interface.
2009-06-30 02:05:32 +00:00
Justin Maggard
944729cf12
* Increment version to 1.0.14.
...
* Fix TiVo beacon issue where it would only broadcast on eth0.
* Fix a couple gcc4.4 warnings.
2009-06-16 01:08:29 +00:00
Justin Maggard
94989f8b15
* Take notifications back out of their own thread, and rely on select timeouts.
...
* Increment SystemUpdateID as necessary just before processing new HTTP requests.
2009-06-15 22:37:49 +00:00
Justin Maggard
13d9480956
* Fix uninitialized memory condition during shutdown when TiVo support is disabled.
2009-06-09 22:34:23 +00:00
Justin Maggard
27696edf6f
* Move SSDP and TiVo beacon notifications to a separate thread.
2009-06-03 20:47:48 +00:00
Justin Maggard
b08a53f3c9
* Eliminate a race condition whereby inotify watches would not be set after the initial scan completed.
2009-06-02 21:19:37 +00:00
Justin Maggard
c10c913b30
* Some fixes for the UPnP Device Validator.
2009-05-19 23:43:51 +00:00
Justin Maggard
1a26bfba7a
* Add version number.
2009-05-05 02:39:40 +00:00
Justin Maggard
0229ee64ee
* ReadyNAS-specific change to remove any leftover scanning flag files when we start.
2009-05-03 18:32:48 +00:00
Justin Maggard
ff046503bd
* Update client cache if the client type changes on a given IP.
...
* Default .avi files to MIME type video/x-msvideo for better backward compatibility.
2009-05-01 01:39:55 +00:00
Justin Maggard
76ab570ed1
* Add client type caching code, so we can behave in a customized manner if necessary for certain clients.
2009-05-01 00:01:03 +00:00
Justin Maggard
e509e8fe68
* Small change - pre-define a couple variables.
2009-04-30 06:47:06 +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
d937f13526
* Improve log messages when we're creating a new database.
2009-04-01 22:37:51 +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
0a415861e7
* Fix bug with bad album art.
2009-03-27 22:22:23 +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
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
a62cceda99
* Add full support for SortOrder and Filter parameters from TiVo.
2009-03-16 06:59:27 +00:00
Justin Maggard
7a2e3ae67a
* Many changes for TiVo support. It actually [kinda] works. :)
2009-03-13 08:39:37 +00:00
Justin Maggard
23c858054c
* Different log path for ReadyNAS.
2009-03-06 20:30: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
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
45f294b404
* Use our own logging mechanism instead of syslog/printf.
2009-02-20 10:21:23 +00:00
Justin Maggard
14547e2266
* Fix inotify detection in the root media directory.
...
* Hold off creating inotify watches until the initial file scan is complete.
* Use a thread instead of fork when scanning.
2009-02-17 08:25:15 +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
0d3505656d
* Fix accidental double-scan from last checkin.
...
* Add XBox360 compatibility.
2009-02-10 07:41:50 +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
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
3f454a5762
* Don't depend on libavutil carrying the ff_get_fourcc() function.
...
* Try determining our IP address with hostname lookup before trying eth0 and eth1.
2009-02-02 22:10:39 +00:00
Justin Maggard
7e30949498
* Code cleanup.
2009-01-31 00:25:03 +00:00
Justin Maggard
8cab1a2800
* Add some conditional statements to work with more ffmpeg library versions.
...
* Fix a crash bug when generating a friendly name if the hostname does not contain a dot.
* Implement folder browsing by media type.
* Add initial DLNA-compliant music album art support. (Using a <=160x160 cover.jpg, or folder.jpg, etc)
2009-01-30 08:50:09 +00:00