2b611ba8e2Update version number to 1.0.18 to reflect nfo parsing and TiVo changes.
Justin Maggard
2010-06-03 22:06:36 +00:00
35c727e77d* Add very basic nfo parsing support. * Rework how some of the metadata is stored and freed, to be more consistent.
Justin Maggard
2010-06-03 22:03:34 +00:00
100ba2835c* Send the comment field as program description when sharing TiVo items. * Separate out Title from EpisodeTitle.
Justin Maggard
2010-06-03 22:00:48 +00:00
3673e07cff* Store the root XML element when parsing, and make sure we don't write to memory we shouldn't be writing to.
Justin Maggard
2010-06-03 21:59:18 +00:00
047165a502* Free configuration memory from the scanner process before it quits.
Justin Maggard
2010-06-03 21:58:32 +00:00
6b1ae89af6* Skip hidden entries when scanning newly found directories.
Justin Maggard
2010-06-03 21:56:53 +00:00
310f928fab* Fix memory leak in cases where XMP parsing fails.
Justin Maggard
2010-06-03 21:56:00 +00:00
cfe45db393* Forgot to remove a line from last checkin.
Justin Maggard
2010-03-18 21:37:39 +00:00
71e399b4a6* Use chunked encoding on resized images, so we can send out the header before transcoding.
Justin Maggard
2009-11-10 20:09:04 +00:00
db4b8d0a02* Real proper handling of chunked requests.
Justin Maggard
2009-11-10 00:01:06 +00:00
c4170af521* Add a no-resize flag, which tells us to to advertise downscaled images. Useful for clients like Samsung TVs, which can use large images well, but will use downscaled small images when given a choice.
Justin Maggard
2009-11-10 00:00:09 +00:00
4073837a34* Set the conversion-indicator flag on resized images.
Justin Maggard
2009-11-09 23:57:09 +00:00
516b025eca* Make JPEG resolution parsing work properly on big-endian systems.
Justin Maggard
2009-11-06 19:03:56 +00:00
a26802539f* Fall back to rudimentary XMP parsing when getting image dates from EXIF fails.
Justin Maggard
2009-11-05 23:15:29 +00:00
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.
Justin Maggard
2009-11-04 01:38:14 +00:00
6738b8a722* Fix bug from the previous checkin.
Justin Maggard
2009-11-02 19:47:57 +00:00
58ecfd6380* Implement and use new sql_get_int_field() function to simplify getting integers from the database.
Justin Maggard
2009-11-02 19:21:38 +00:00
9712e90bdd* Enlarge the DLNA buffer, since it was a couple bytes too small for a couple profiles.
Justin Maggard
2009-11-02 18:51:56 +00:00
ef4271cb83* Fix bug with filter processing, which was introduced by recent uClibc changes.
Justin Maggard
2009-10-30 17:57:27 +00:00
e685e0be3c* Use faster (lower quality) JPEG scaling methods on all non-x86 machines.
Justin Maggard
2009-10-28 20:52:59 +00:00
db25ccd095* Fix one more uClibc issue with reading boot_id in the absense of a system MAC address.
Justin Maggard
2009-10-28 19:26:38 +00:00
41f204029b* Fix some issues with uClibc.
Justin Maggard
2009-10-28 07:44:45 +00:00
745457e814* Don't use getifaddrs(), since it's not portable; and rework the MAC address reading code.
Justin Maggard
2009-10-23 22:01:05 +00:00
6df206efc0* Increment DB version number to signify the added TIMESTAMP column.
Justin Maggard
2009-10-23 02:43:12 +00:00
0f0d22c2f5* Update database entries if inotify catches a file CLOSE_WRITE and the modify time is newer than the last recorded time in the database.
Justin Maggard
2009-10-23 02:38:42 +00:00
e18cf08880* Add initial support for 3gp video files. * Add LPCM to the main SourceProtocolInfo list.
Justin Maggard
2009-10-21 21:11:57 +00:00
e450ae2b19* Bump to 1.0.16-pre6 to reflect subtitle support.
Justin Maggard
2009-10-15 01:36:14 +00:00
f7e525019a* Add SRT subtitle support using Samsung's method.
Justin Maggard
2009-10-15 00:40:27 +00:00
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.
Justin Maggard
2009-10-14 21:24:23 +00:00
b632bf1704* Use band name for virtual audio containers when it's available.
Justin Maggard
2009-10-14 03:01:15 +00:00
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.
Justin Maggard
2009-10-14 01:14:10 +00:00
7c62467398* Better handling for extremely large JPEGs: expose the full image, JPEG_LRG, JPEG_SM, and thumbnail if the image is >4096x4096.
Justin Maggard
2009-10-13 22:51:45 +00:00
5465380a6d* Increment version number.
Justin Maggard
2009-10-13 01:22:18 +00:00
1ef627ac3c* Don't trust EXIF to tell us the accurate resolution; instead, parse the JPEG data ourselves. * Add on-the-fly downscaling for JPEGs too large to fit the JPEG_LRG DLNA profile.
Justin Maggard
2009-10-13 01:20:19 +00:00
ecec767f17* Add PCM support, assuming defaults of 44.1K and 2 channels.
Justin Maggard
2009-10-12 21:07:14 +00:00
f3d9805d7b* Fix a potential buffer overflow in ProcessSSDPRequest().
Justin Maggard
2009-10-09 01:13:07 +00:00
9ac3e78991* Give Quicktime MOV files the right MIME type.
Justin Maggard
2009-10-05 23:19:13 +00:00
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.
Justin Maggard
2009-10-03 02:08:59 +00:00
1f29b0cac1* Include the port number in the default presentation URL. One user claims XBox360 won't work without this.
Justin Maggard
2009-09-30 00:46:02 +00:00
99174b50b7* Check .mov files for video content when scanning.
Justin Maggard
2009-09-29 19:21:04 +00:00
b6788cccb0* Automatically adapt our friendly_name to meet Xbox360 requirements if we detect an Xbox360 client.
Justin Maggard
2009-09-18 07:53:36 +00:00
20f01f4a3d* Make realpath() usage not depend on implementation-specific behavior.
Justin Maggard
2009-09-16 18:04:10 +00:00
bf298f75fb* Default to video/avi MIME type for generic DLNA 1.5 clients, since that seems to be the norm.
Justin Maggard
2009-09-14 19:42:51 +00:00
6d288868ca* Only pass resolution details on scaled images if they are requested.
Justin Maggard
2009-09-14 19:41:15 +00:00
bd0aabf933* Fix a couple DLNA HTTP header errors with resized images.
Justin Maggard
2009-09-02 01:59:49 +00:00
7f8d3ff7bb* No need to link to libuuid any more, since we have the requisite functions internally now.
Justin Maggard
2009-09-01 06:28:45 +00:00
25861ebf92* Use our own time-based UUID generation functions, to help eliminate potential compiling issues.
Justin Maggard
2009-09-01 02:54:20 +00:00
a78c7c9077* Some vendor-specific compilation/configuration tweaks.
Justin Maggard
2009-08-13 17:52:15 +00:00
f259479ecf* Don't call WAV files LPCM, because they're disqualified due to endianness.
Justin Maggard
2009-08-10 21:16:53 +00:00
d249992cc4* Use a defined value for max SOAP response size. Previously we would probably crash if a response got over 1MB due. Now we will realloc in 1MB increments until we reach our prefined max response size. This should be useful for clients like djmount, which don't specify a result limit in their request, but also don't handle huge (>1MB) responses.
Justin Maggard
2009-08-07 23:41:32 +00:00
aba116a445* Avoid using '&' in URIs for resized images, to avoid client compatibility issues.
Justin Maggard
2009-08-06 07:50:12 +00:00
e925174081* Enable JPEG resizing support so we can advertise JPEG_SM images we downscale from JPEG_MED or JPEG_LRG files.
Justin Maggard
2009-08-06 02:43:45 +00:00
51e61e3973* Track MAC addresses in the client cache (when we can find them); so if we have an expired cache entry, but the MAC hasn't changed, we can assume the original ID is still valid.
Justin Maggard
2009-07-31 01:41:10 +00:00
780ae7ad8b* Add Popcorn Hour support for using the wrong MIME type for FLAC. * Fix a couple crash bugs with invalid UPnP-A/V SOAP requests. * Fix WAV file extension support.
Justin Maggard
2009-07-28 23:17:31 +00:00
6fe702f332* Change sqlte3_mprintf size specifiers to %lld instead of %jd, since sqlite doesn't work with %jd.
Justin Maggard
2009-07-24 07:53:00 +00:00
193c5305f9* Also warn about old sqlite3 libraries during compile time.
Justin Maggard
2009-07-23 17:47:02 +00:00
c643cab907* Add checks and change behavior based the type of sqlite library we're linked to.
Justin Maggard
2009-07-22 23:00:31 +00:00
0d069effd9* Fix some minor 64-bit compilation issues.
Justin Maggard
2009-07-17 22:54:31 +00:00
1a5e1a6de9* Add hacks to make .mkv support work on Samsung TVs.
Justin Maggard
2009-07-13 18:00:06 +00:00
35b8bf2f09* Don't bother analyzing a cover art jpg multiple times, once for each file in the directory. If it exists, just use it.
Justin Maggard
2009-07-10 01:54:08 +00:00
f1ee94f927* Prevent a segmentation fault if $LOGNAME is not set during startup.
Justin Maggard
2009-07-09 22:59:13 +00:00
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.
Justin Maggard
2009-07-09 17:54:26 +00:00
2ea232b518* Print SQLite library version on startup.
Justin Maggard
2009-07-09 17:40:40 +00:00
b1f4c35017* If a new file is noticed by inotify, check if it is cover art for existing files, and update them if so.
Justin Maggard
2009-07-08 19:20:32 +00:00
038356bf78* Add chkconfig compatibility to the startup script.
Justin Maggard
2009-07-02 00:33:15 +00:00
d1049476ef* Add new options to (1) force a rescan at startup, (2) display help text, and (3) bind to a specified network interface.
Justin Maggard
2009-06-30 02:05:32 +00:00