diff --git a/README.md b/README.md index 22945c3..ade7506 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,7 @@ The utility has several options that operate on media library items grouped into * tvshows The following "meta" media classes can also be used in place of one of the above media classes: -* music _(equivalent to: `albums` + `artists` + `songs`)_ +* audio _(equivalent to: `albums` + `artists` + `songs`)_ * video _(equivalent to: `movies` + `sets` + `tvshows`)_ * all _(equivalent to: `addons` + `agenres` + `vgenres` + `pvr.tv` + `pvr.radio` + `albums` + `artists` + `songs` + `movies` + `sets` + `tvshows`)_ diff --git a/texturecache.py b/texturecache.py index 1560c13..edf5a1c 100755 --- a/texturecache.py +++ b/texturecache.py @@ -4858,7 +4858,7 @@ def cacheImages(mediatype, jcomms, database, data, title_name, id_name, force, n t = MyImageLoader(single_work_queue, multiple_work_queue, error_queue, complete_queue, gConfig, gLogger, TOTALS, force, gConfig.DOWNLOAD_RETRY) THREADS.append(t) - t.setDaemon(True) + t.daemon = True if not multiple_work_queue.empty(): tCount = gConfig.DOWNLOAD_THREADS["download.threads.%s" % mediatype] @@ -4868,7 +4868,7 @@ def cacheImages(mediatype, jcomms, database, data, title_name, id_name, force, n t = MyImageLoader(multiple_work_queue, single_work_queue, error_queue, complete_queue, gConfig, gLogger, TOTALS, force, gConfig.DOWNLOAD_RETRY) THREADS.append(t) - t.setDaemon(True) + t.daemon = True # Start the threads... for t in THREADS: t.start() @@ -6131,7 +6131,7 @@ def _ProcessIMDB(mediatype, jcomms, data, plotFull, plotOutline, movies250, imdb for i in range(threadcount): t = MyIMDBLoader(gConfig, gLogger, input_queue, output_queue, plotFull, plotOutline, movies250, imdbfields) threads.append(t) - t.setDaemon(True) + t.daemon = True # Start the threads... for t in threads: t.start() @@ -7358,7 +7358,7 @@ def rbphdmi_listen(self, method, params): cmdqueue = Queue.Queue() hdmimgr = MyHDMIManager(gConfig, gLogger, cmdqueue, hdmidelay=delay) - hdmimgr.setDaemon(True) + hdmimgr.daemon = True hdmimgr.start() gLogger.debug("Connecting to Kodi on %s..." % gConfig.KODI_HOST)