Commit Graph

686 Commits

Author SHA1 Message Date
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
7e6b015b05 upnpsoap: fix samsung bookmarks
This makes the bookmark functionality work as expected on Samsung E series.
Adapted from http://sourceforge.net/p/minidlna/discussion/879956/thread/1a711ef6/ and
http://sourceforge.net/p/minidlna/bugs/197/.

Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
2014-01-31 15:33:51 -08:00
e2c73f163d clients: merge samsung Series C client id
A Samsung TV cannot be reliably detected by checking for "SEC_HHP_TV"
User Agent. Only the first part can be guaranteed, eg. "SEC_HHP_" as the rest
can be changed by the end user.

Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
2014-01-31 15:33:51 -08:00
ff76966a1c uuid: use CLOCK_REALTIME if CLOCK_MONOTONIC not available
Older versions of glibc may not have CLOCK_MONOTONIC, this is certainly the
case for the 2.3.2 based terastation libc.

Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
2014-01-31 15:33:51 -08:00
b0c1dea56b upnpsoap: fix some clients playing artwork instead of movie
While playback on an Samsung E Series TV is ok, other clients such as VLC
and vplayer (android) attempt to play the artwork rather than the movie.

The issue was traced to minidlna serving the artwork res before the movie res.
Other dlna server's were observed and found to the send the movie first then
the artwork.

Swapping the order seems to keep all tested clients happy.

Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
2014-01-31 15:33:51 -08:00
2c33d4149d build: fix out of src tree builds
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
2014-01-31 15:33:51 -08:00
f119cfe1a6 Support @parentID in SearchCriteria. 2014-01-31 13:18:36 -08:00
dda5b1c19d Mark X_MS_MediaReceiverRegistrar variables that are supposed to be evented as such. 2014-01-29 18:47:57 -08:00
58b2c604d8 Add configuration include file support. 2014-01-21 16:52:05 -08:00
6f7b5761c6 Fix memory leak in AAC tag parsing. 2014-01-16 17:09:51 -08:00
9eec5b8cac Fix possible memory leak in error conditions when saving resized album art. 2014-01-16 16:07:53 -08:00
a21bbe557d Fix a couple file descriptor leaks. 2014-01-16 13:11:54 -08:00
2aedabb52c Including <linux/netlink> requires <sys/socket.h> on some systems. 2014-01-16 12:08:37 -08:00
3f4877cf2f Add a new force_sort_criteria option, to globally override the SortCriteria value sent by the client. 2014-01-07 11:30:15 -08:00
a75bdadce1 Show client status on our basic presentation page. 2014-01-07 10:14:26 -08:00
eeffcf47dd Wrap up 1.1.1 release. 2013-11-01 18:06:41 -07:00
9312583101 Clarify license terms on new files. 2013-11-01 18:05:31 -07:00
622b0b7411 Merge branch 'for-justin' of git://github.com/BenoitKnecht/minidlna 2013-11-01 17:57:00 -07:00
0cc4fd980d Generate the generic Linux init script with the configured sbin path. 2013-11-01 17:44:41 -07:00
a9c299888d Conformance: We shouldn't give an event URL if there are no evented variables. 2013-10-22 19:10:16 -07:00
0700cf9774 Fix up a few conformance issues with latest testing tools. 2013-10-22 19:05:22 -07:00
8d6ce5e8b5 Handle new H.264 profile in recent ffmpeg versions. 2013-10-22 19:02:02 -07:00
e00d462a75 Add debug messages when sending ssdp:alive/ssdp:byebye packets. 2013-10-22 18:56:07 -07:00
c96e6e2adb Skip the initial ssdp:alive packets when initially registering our network
interfaces during startup, so the byebye's can come first.
2013-10-22 18:50:09 -07:00
2e68335430 * Filter out hidden files and folders. 2013-10-10 00:04:25 -07:00
bb163eb65f Fix various inotify issues with deleting entire folder contents, and then re-adding content back to the same folder. This should be the cause of '(null)' folder names. 2013-09-18 15:29:59 -07:00
701b2efacd Update NETGEAR icon images to match the new branding. 2013-09-18 15:28:52 -07:00
3995cbdac4 Limit the number of simultanious children
Make sure minidlna cannot fork more than 5 children, to avoid becoming a
fork bomb.

Reported-by: Rinat Ibragimov <ibragimovrinat@mail.ru>
2013-06-20 19:31:34 +02:00
862f6b986c Update French translation 2013-06-20 19:27:16 +02:00
c48addf397 Update po files 2013-06-20 19:27:16 +02:00
a4a301d1df Set the conversion indicator on fake resources for Sony BDP's. New models support most of these natively, and don't like fake resources. 2013-06-12 23:25:30 -07:00
8cb34a58ba Fix deprecation warning about AM_INIT_AUTOMAKE. 2013-06-11 15:37:02 -07:00
1c34c6c594 Update help output shown by "minidlna -h".
Reported-by: (and original version by) Benoît Knecht <benoit.knecht@fsfe.org>
2013-06-11 15:24:53 -07:00
bceacccb7b Do not let make_dir fail on EISDIR
Some systems set errno to EISDIR when a directory exists already,
instead of EEXIST.
2013-06-11 19:26:46 +02:00
9d276d04b3 Merge commit 'ec10c80dd0e365420d2ca91e16d840405cbb1a92' 2013-06-10 23:12:49 -07:00
07441e4e9a Silently ignore YOUKU-NOTIFY SSDP packets. 2013-06-10 22:43:03 -07:00
ec10c80dd0 FreeBSD icon 2013-06-09 21:19:52 -03:00
2558fa3b01 Missing include 2013-06-09 21:19:35 -03:00
62b6e235b1 Don't require a configured network interface to start up, and add network interface monitoring support on Linux. 2013-05-08 23:52:02 -07:00
1e4cf74436 * Enable all network interfaces by default if none were specified. 2013-04-30 21:09:30 +00:00
bcc69d0dd3 * Wrap up v1.1.0. 2013-04-04 23:39:12 +00:00
cd20aa0b24 - SQL escape user input in TiVo command processing. 2013-04-03 00:26:54 +00:00
ba75f275e1 - Check for output truncation in strcatf(). 2013-04-02 23:29:21 +00:00
1c748c1d5a * Consolidate client detection code.
* Add forced sorting support for Panasonic devices.
2013-03-18 05:37:46 +00:00
bc33a34331 * Applying various OpenBSD-related changes. (Thanks SF user sthen23934) 2013-03-13 07:44:54 +00:00
42bd49276f * Fix compile issue with old ffmpeg versions. 2013-03-09 00:03:03 +00:00
11998204e2 * Code reformatting. 2013-02-04 20:23:49 +00:00
77c30bdfba * Check for NULL pointers before reading them. 2013-02-01 20:26:52 +00:00
db1b9dff32 * Check for hidden album art files. 2013-01-19 01:16:19 +00:00
f06a93c17a * Store the media type in the TIMESTAMP column, so we can force a rescan if the user changes the media type configuration. 2013-01-02 21:00:52 +00:00