The branch, frodo has been updated
via f3757f8ba589c884a8de99fadd1179127d7215d5 (commit)
from 3355d13644389fd7d3f87d60adfff0d0f5d9a420 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=f3757f8ba589c884a8de99fadd1179127d7215d5
commit f3757f8ba589c884a8de99fadd1179127d7215d5
Author: Martijn Kaijser <[email protected]>
Date: Sun Jan 5 14:39:44 2014 +0100
[script.artwork.downloader] 12.0.23
diff --git a/script.artwork.downloader/addon.xml
b/script.artwork.downloader/addon.xml
index 16017e3..5d474fc 100644
--- a/script.artwork.downloader/addon.xml
+++ b/script.artwork.downloader/addon.xml
@@ -2,7 +2,7 @@
<addon
id="script.artwork.downloader"
name="Artwork Downloader"
- version="12.0.22"
+ version="12.0.23"
provider-name="Martijn"
>
<requires>
diff --git a/script.artwork.downloader/changelog.txt
b/script.artwork.downloader/changelog.txt
index 1013c35..91d6427 100644
--- a/script.artwork.downloader/changelog.txt
+++ b/script.artwork.downloader/changelog.txt
@@ -1,3 +1,6 @@
+v12.0.23
+- Fix multiple text search for disctype in filename and avoiding ac3 dubs to
be recognized as 3d (ex. ac3d)
+
v12.0.22
- Fix that some files where never found or downloaded
diff --git a/script.artwork.downloader/lib/media_setup.py
b/script.artwork.downloader/lib/media_setup.py
index 22cbef5..2a398cc 100644
--- a/script.artwork.downloader/lib/media_setup.py
+++ b/script.artwork.downloader/lib/media_setup.py
@@ -180,11 +180,11 @@ def _media_listing(media_type):
return Medialist
def media_disctype(filename, streamdetails):
- if (('dvd') in filename and not ('hddvd' or 'hd-dvd') in filename) or
(filename.endswith('.vob' or '.ifo')):
+ if (('dvd') in filename and not any(x in filename for x in ['hddvd',
'hd-dvd']) or (filename.endswith('.vob') or filename.endswith('.ifo'))):
disctype = 'dvd'
- elif '3d' in filename:
+ elif ('3d' in filename and not 'ac3d' in filename):
disctype = '3d'
- elif (('bluray' or 'blu-ray' or 'brrip' or 'bdrip') in filename):
+ elif any(x in filename for x in ['bluray', 'blu-ray', 'brrip', 'bdrip']):
disctype = 'bluray'
elif streamdetails:
videowidth = streamdetails[0]['width']
@@ -213,4 +213,4 @@ def media_path(path):
path.append(urllib.url2pathname(item))
else:
path = [path]
- return path
\ No newline at end of file
+ return path
-----------------------------------------------------------------------
Summary of changes:
script.artwork.downloader/addon.xml | 2 +-
script.artwork.downloader/changelog.txt | 3 +++
script.artwork.downloader/lib/media_setup.py | 8 ++++----
3 files changed, 8 insertions(+), 5 deletions(-)
hooks/post-receive
--
Scripts
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons