Justin Maggard
50b1a2e289
scanner: Clean up non-destructive rescan
...
Fix several issues with the non-destructive rescan functionality.
Most of these issues also affected inotify scanning as well. These
include annoying debug messages, adding album art for files that we
aren't supposed to be scanning anyway, incrementing the UpdateID when no
changes were made to the database, and other smaller issues.
2017-08-23 23:43:42 -07:00
Justin Maggard
9e534c56fd
monitor: Support NFO file changes
...
Detect when a .nfo file changes, and rescan metadata for the associated
video file.
2017-08-22 15:30:10 -07:00
Justin Maggard
2b3bdb8373
utils: Move duration formatting to shared function
...
We'll be using this a few different places.
2017-05-17 11:56:44 -07:00
Justin Maggard
34cb08928c
portability: add support for Illumos
...
This still won't work on older Solaris systems, but modern Illumos
at least should build and run now.
2014-05-14 17:53:25 -07:00
Justin Maggard
be5f4a50eb
Type data pointer variables as uint8_t.
2014-04-25 14:30:38 -07:00
Justin Maggard
381c4805e6
subtitles: accept smi in addition to srt
2014-04-21 15:44:39 -07:00
Justin Maggard
331d484555
utils: add noalloc flag to modifyString()
...
This should make it more straightforward for code analyzers to
tell if the function is going to allocate memory.
2014-04-18 15:18:44 -07:00
Justin Maggard
45cf9208fb
Declare printf-like attributes for strcatf() and xasprintf()
...
Declare printf-like attributes for strcatf() and xasprintf(), and
clean up errors found by the compile after doing so.
2014-04-10 18:18:28 -07:00
Justin Maggard
546b12e1a9
portability: rework inline functions for clang compatibility.
2014-03-07 12:36:50 -08:00
Spencer Oliver
f5ebc22eeb
utils: add unescape_tag function
...
This is added to remove any escape chars from a string.
This will be used in a pending patch, that correctly reads .nfo files that
contain escape chars.
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
2014-01-31 15:33:51 -08:00
Justin Maggard
fa37df8b1f
* Add support for TiVo MPEG-TS files.
2012-11-03 09:45:45 +00:00
Justin Maggard
584258c1f8
* Add support for limiting a media dir to multiple media types.
2012-10-03 07:26:00 +00:00
Justin Maggard
b15a5d144d
* Move SearchCriteria parsing to its own function.
2012-07-28 01:17:30 +00:00
Justin Maggard
cabbd0b1de
* Use an asprintf wrapper, to report errors and NULLify the result.
2012-03-14 17:57:21 +00:00
Justin Maggard
7f3c4349f4
* Improve handling of the media_dir setting.
2012-02-28 07:36:14 +00:00
Justin Maggard
ba7e33a062
* Add support for user-configurable log level settings.
2012-02-14 18:25:39 +00:00
Justin Maggard
ab33ab34bc
* Fix false positives in playlist caching optimization when we have duplicate file names in different directories.
2012-02-10 23:35:11 +00:00
Justin Maggard
875f0e2351
* Fix some unused result warnings.
...
* Handle folder art a little differently than file album art.
2011-11-19 08:26:10 +00:00
Justin Maggard
23746a68bf
* Introduce a new strcatf() function to help simplify some areas of the code.
2011-05-13 22:10:15 +00:00
Justin Maggard
9a9270cecf
* Fix some issues reported by cppcheck.
2011-05-02 23:50:52 +00:00
Justin Maggard
88b992bd51
* Escape video tags.
2011-04-21 08:50:44 +00:00
Justin Maggard
14a0d1ac98
* Don't expose album art images in the content directory.
...
* Support album art name wildcards.
2011-02-14 23:52:10 +00:00
Justin Maggard
8e0fcd56f9
* Complete/clarify license information.
2010-11-11 23:48:14 +00:00
Justin Maggard
346ff6e293
* Add M3U/PLS music playlist support.
2010-01-13 21:15:26 +00:00
Justin Maggard
24ff2a8a1c
* Add strstrc() function which helps avoid a couple reads of unitialized memory.
2009-11-12 01:53:40 +00:00
Justin Maggard
a295b448ba
* To my surprise, XFS doesn't support dt_type in readdir results, so we need to stat each entry of type DT_UNKNOWN.
2009-06-04 22:32:10 +00:00
Justin Maggard
223df2111b
* Fix some issues with ampersand escaping.
...
* Improve image date/camera metadata handling by not storing a date if none exists.
* Add preliminary TiVo video serving support.
2009-04-16 19:20:16 +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
7a2e3ae67a
* Many changes for TiVo support. It actually [kinda] works. :)
2009-03-13 08:39:37 +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
8c3ebe1259
* Forgot to add some new files...
2009-01-30 08:52:48 +00:00