ukdtom / exporttools.bundle Goto Github PK
View Code? Open in Web Editor NEWExport tools for Plex
Home Page: https://forums.plex.tv/t/rel-exporttools/175915
License: The Unlicense
Export tools for Plex
Home Page: https://forums.plex.tv/t/rel-exporttools/175915
License: The Unlicense
When exporting a CSV file, the output file is zero bytes, unless export is repeated
Changing that req. a reboot?
Seen on Windows
With ExportTools set to output level 666 and subsequently opening the .xlsx output file in Microsoft Excel, an error message is generated.
"We found a problem with some content in {filename}. Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes."
Further error message displayed in .xml format:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><logFileName>error065360_01.xml</logFileName><summary>Errors were detected in file 'H:\Downloads\ExportTools\Movies-Level 666-20180410-152731.xlsx'</summary><removedRecords><removedRecord>Removed Records: Formula from /xl/worksheets/sheet1.xml part</removedRecord></removedRecords></recoveryLog>
ExportTool logs:
ETlogs.zip
Plex version is 1.12.2.4929 running on Windows 10.
This may require a more complex SQL query, but would improve the usefulness of the exported files.
They could be converted then into conventional .m3u
files.
User wants this
Is their a Colum that indicates if a movie has been watched or unwatched
It would be nice if we could select what fields we want to export instead of level of bundles.
Thank you.
When this channel is launched the first time, it'll default to put the exported file in the same directory as the library you are trying to export.
Database file of the library? Where is the library located?
I don't know how plex works, but because a library can contain multiple folders, for me library is a virtual terminology it doesn't have physical appearance on my system.
Very unclear instructions.
Add colorPrimaries, colorRange, colorSpace, colorTrc
A lib named Фильмы falied to export
We need to test this
Forum thread
https://forums.plex.tv/discussion/comment/1631690/#Comment_1631690
Hi !
I want to export my audio playlists as m3u using the ExportTool but I always get an error that there was an internal error. When I look at the log file I cannot find anything that helps with debugging the issue:
2017-04-27 12:35:18,818 (7f42077fe700) : DEBUG (runtime:717) - Handling request GET /applications/ExportTools
2017-04-27 12:35:18,819 (7f42077fe700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2017-04-27 12:35:18,821 (7f42077fe700) : DEBUG (runtime:814) - Found route matching /applications/ExportTools
2017-04-27 12:35:18,821 (7f42077fe700) : DEBUG (init:114) - ********** Starting MainMenu **********
2017-04-27 12:35:18,821 (7f42077fe700) : DEBUG (init:150) - Entering ValidateExportPath
2017-04-27 12:35:18,822 (7f42077fe700) : DEBUG (init:155) - My master set the Export path to: /srv/playlists
2017-04-27 12:35:18,822 (7f42077fe700) : DEBUG (init:159) - Master entered a path that already existed as: /srv/playlists
2017-04-27 12:35:18,823 (7f42077fe700) : DEBUG (init:165) - Path verified as already present
2017-04-27 12:35:18,823 (7f42077fe700) : DEBUG (init:126) - Getting section List from: http://127.0.0.1:32400/library/sections
2017-04-27 12:35:18,824 (7f42077fe700) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/sections'
2017-04-27 12:35:18,834 (7f42077fe700) : DEBUG (init:134) - Title of section is 3D with a key of 12
2017-04-27 12:35:18,835 (7f42077fe700) : DEBUG (init:134) - Title of section is Disney Collection with a key of 5
2017-04-27 12:35:18,836 (7f42077fe700) : DEBUG (init:134) - Title of section is Dokumentationen with a key of 4
2017-04-27 12:35:18,836 (7f42077fe700) : DEBUG (init:134) - Title of section is Dokumentationen 2 with a key of 11
2017-04-27 12:35:18,837 (7f42077fe700) : DEBUG (init:134) - Title of section is Filme with a key of 2
2017-04-27 12:35:18,838 (7f42077fe700) : DEBUG (init:134) - Title of section is Musik with a key of 15
2017-04-27 12:35:18,838 (7f42077fe700) : DEBUG (init:134) - Title of section is Private Filme with a key of 3
2017-04-27 12:35:18,839 (7f42077fe700) : DEBUG (init:134) - Title of section is Serien with a key of 1
2017-04-27 12:35:18,840 (7f42077fe700) : DEBUG (init:134) - Title of section is Sport with a key of 16
2017-04-27 12:35:18,840 (7f42077fe700) : DEBUG (init:134) - Title of section is Test Videos with a key of 9
2017-04-27 12:35:18,841 (7f42077fe700) : DEBUG (init:134) - Title of section is Video Test with a key of 18
2017-04-27 12:35:18,842 (7f42077fe700) : DEBUG (init:134) - Title of section is Video2Brain with a key of 13
2017-04-27 12:35:18,842 (7f42077fe700) : DEBUG (init:142) - ********** Ending MainMenu **********
2017-04-27 12:35:18,843 (7f42077fe700) : DEBUG (base:117) - Checking if com.plexapp.plugins.ExportTools is broken
2017-04-27 12:35:18,843 (7f42077fe700) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMzEKY29tLnBsZXhhcHAucGx1Z2lucy5FeHBvcnRUb29sc3MxMAppZGVudGlmaWVycjAK'
2017-04-27 12:35:18,855 (7f42077fe700) : DEBUG (runtime:88) - Sending packed state data (112 bytes)
2017-04-27 12:35:18,855 (7f42077fe700) : DEBUG (runtime:924) - Response: [200] MediaContainer, 4189 bytes
2017-04-27 12:35:18,887 (7f42077fe700) : DEBUG (runtime:717) - Handling request GET /applications/ExportTools/selectPList
2017-04-27 12:35:18,888 (7f42077fe700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2017-04-27 12:35:18,889 (7f42077fe700) : DEBUG (runtime:814) - Found route matching /applications/ExportTools/selectPList
2017-04-27 12:35:18,889 (7f42077fe700) : DEBUG (init:518) - User selected to export a playlist
2017-04-27 12:35:18,890 (7f42077fe700) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/playlists/all'
2017-04-27 12:35:18,899 (7f42077fe700) : DEBUG (init:538) - Added playlist: 80s to the listing with a key of: /playlists/63331/items
2017-04-27 12:35:18,899 (7f42077fe700) : DEBUG (init:538) - Added playlist: Arnolds nächste Filme to the listing with a key of: /playlists/22504/items
2017-04-27 12:35:18,900 (7f42077fe700) : DEBUG (init:538) - Added playlist: EAV to the listing with a key of: /playlists/63444/items
2017-04-27 12:35:18,900 (7f42077fe700) : DEBUG (init:538) - Added playlist: Heavy to the listing with a key of: /playlists/63692/items
2017-04-27 12:35:18,901 (7f42077fe700) : DEBUG (init:538) - Added playlist: Laufen 1 to the listing with a key of: /playlists/52448/items
2017-04-27 12:35:18,901 (7f42077fe700) : DEBUG (init:538) - Added playlist: Laufen 2 to the listing with a key of: /playlists/52490/items
2017-04-27 12:35:18,902 (7f42077fe700) : DEBUG (init:538) - Added playlist: On Demand to the listing with a key of: /playlists/51556/items
2017-04-27 12:35:18,903 (7f42077fe700) : DEBUG (init:538) - Added playlist: Onkelz Best Of to the listing with a key of: /playlists/114220/items
2017-04-27 12:35:18,903 (7f42077fe700) : DEBUG (init:538) - Added playlist: Pop Mix to the listing with a key of: /playlists/52427/items
2017-04-27 12:35:18,904 (7f42077fe700) : DEBUG (init:538) - Added playlist: Radfahren to the listing with a key of: /playlists/51354/items
2017-04-27 12:35:18,904 (7f42077fe700) : DEBUG (init:538) - Added playlist: Rammstein Best of to the listing with a key of: /playlists/107727/items
2017-04-27 12:35:18,905 (7f42077fe700) : DEBUG (init:538) - Added playlist: Rock Mix to the listing with a key of: /playlists/46952/items
2017-04-27 12:35:18,905 (7f42077fe700) : DEBUG (init:538) - Added playlist: Rock Neu to the listing with a key of: /playlists/63697/items
2017-04-27 12:35:18,906 (7f42077fe700) : DEBUG (init:538) - Added playlist: Rock Neu 2 to the listing with a key of: /playlists/107721/items
2017-04-27 12:35:18,906 (7f42077fe700) : DEBUG (init:538) - Added playlist: Rock Neu 3 to the listing with a key of: /playlists/107722/items
2017-04-27 12:35:18,909 (7f42077fe700) : DEBUG (runtime:88) - Sending packed state data (112 bytes)
2017-04-27 12:35:18,909 (7f42077fe700) : DEBUG (runtime:924) - Response: [200] MediaContainer, 5326 bytes
2017-04-27 12:35:21,724 (7f42077fe700) : DEBUG (runtime:717) - Handling request GET /applications/ExportTools/selectPList
2017-04-27 12:35:21,726 (7f42077fe700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2017-04-27 12:35:21,727 (7f42077fe700) : DEBUG (runtime:814) - Found route matching /applications/ExportTools/selectPList
2017-04-27 12:35:21,727 (7f42077fe700) : DEBUG (init:518) - User selected to export a playlist
2017-04-27 12:35:21,728 (7f42077fe700) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/playlists/all'
2017-04-27 12:35:21,739 (7f42077fe700) : DEBUG (init:538) - Added playlist: 80s to the listing with a key of: /playlists/63331/items
2017-04-27 12:35:21,740 (7f42077fe700) : DEBUG (init:538) - Added playlist: Arnolds nächste Filme to the listing with a key of: /playlists/22504/items
2017-04-27 12:35:21,740 (7f42077fe700) : DEBUG (init:538) - Added playlist: EAV to the listing with a key of: /playlists/63444/items
2017-04-27 12:35:21,741 (7f42077fe700) : DEBUG (init:538) - Added playlist: Heavy to the listing with a key of: /playlists/63692/items
2017-04-27 12:35:21,742 (7f42077fe700) : DEBUG (init:538) - Added playlist: Laufen 1 to the listing with a key of: /playlists/52448/items
2017-04-27 12:35:21,742 (7f42077fe700) : DEBUG (init:538) - Added playlist: Laufen 2 to the listing with a key of: /playlists/52490/items
2017-04-27 12:35:21,743 (7f42077fe700) : DEBUG (init:538) - Added playlist: On Demand to the listing with a key of: /playlists/51556/items
2017-04-27 12:35:21,743 (7f42077fe700) : DEBUG (init:538) - Added playlist: Onkelz Best Of to the listing with a key of: /playlists/114220/items
2017-04-27 12:35:21,744 (7f42077fe700) : DEBUG (init:538) - Added playlist: Pop Mix to the listing with a key of: /playlists/52427/items
2017-04-27 12:35:21,745 (7f42077fe700) : DEBUG (init:538) - Added playlist: Radfahren to the listing with a key of: /playlists/51354/items
2017-04-27 12:35:21,745 (7f42077fe700) : DEBUG (init:538) - Added playlist: Rammstein Best of to the listing with a key of: /playlists/107727/items
2017-04-27 12:35:21,746 (7f42077fe700) : DEBUG (init:538) - Added playlist: Rock Mix to the listing with a key of: /playlists/46952/items
2017-04-27 12:35:21,747 (7f42077fe700) : DEBUG (init:538) - Added playlist: Rock Neu to the listing with a key of: /playlists/63697/items
2017-04-27 12:35:21,747 (7f42077fe700) : DEBUG (init:538) - Added playlist: Rock Neu 2 to the listing with a key of: /playlists/107721/items
2017-04-27 12:35:21,748 (7f42077fe700) : DEBUG (init:538) - Added playlist: Rock Neu 3 to the listing with a key of: /playlists/107722/items
2017-04-27 12:35:21,751 (7f42077fe700) : DEBUG (runtime:88) - Sending packed state data (112 bytes)
2017-04-27 12:35:21,752 (7f42077fe700) : DEBUG (runtime:924) - Response: [200] MediaContainer, 5327 bytes
2017-04-27 12:35:21,789 (7f42077fe700) : DEBUG (runtime:717) - Handling request GET /applications/ExportTools/backgroundScan?title=audio&random=3.022096&key=%2Fplaylists%2F107727%2Fitems§iontype=playlists
2017-04-27 12:35:21,791 (7f42077fe700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2017-04-27 12:35:21,792 (7f42077fe700) : DEBUG (runtime:814) - Found route matching /applications/ExportTools/backgroundScan
2017-04-27 12:35:21,792 (7f42077fe700) : DEBUG (init:217) - ******* Starting backgroundScan *********
2017-04-27 12:35:21,793 (7f42077fe700) : DEBUG (init:306) - ******* Ending backgroundScan ***********
2017-04-27 12:35:21,795 (7f42077fe700) : DEBUG (runtime:88) - Sending packed state data (112 bytes)
2017-04-27 12:35:21,795 (7f42077fe700) : DEBUG (runtime:924) - Response: [200] MediaContainer, 984 bytes
Could you please help me with solving this issue ?
When throwing an url towards PMS, we need params to be dynamic depending on section type and level
Pr. forum comment:
http://forums.plex.tv/discussion/comment/1489918/#Comment_1489918
includeBandwidth=1
I hate Channel menu system :-(
I get an internal error trying to output 3100 movies to an xlsx at special level 2 -- log:
017-11-17 00:26:08,238 (700009a6b000) : CRITICAL (init:351) - Exception happened in backgroundScanThread (most recent call last):
File "/Application Support/Plex Media Server/Plug-ins/ExportTools.bundle/Contents/Code/init.py", line 333, in backgroundScanThread
scanMovieDB(myMediaURL, outFile)
File "/Library/Application Support/Plex Media Server/Plug-ins/ExportTools.bundle/Contents/Code/init.py", line 409, in scanMovieDB
Log.Debug("******* Ending scanMovieDB ***********")
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 344, in ElementFromURL
method=method,
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/networkkit.py", line 67, in _http_request
req = self._core.networking.http_request(url, *args, **kwargs)
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 370, in http_request
return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method)
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 141, in init
self.load()
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 181, in load
f = self._opener.open(req, timeout=self._timeout)
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 444, in open
response = meth(req, response)
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 557, in http_response
'http', request, response, code, msg, hdrs)
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 482, in error
return self._call_chain(*args)
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 416, in _call_chain
result = func(*args)
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 565, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
2017-11-17 00:26:08,238 (700009a6b000) : CRITICAL (runtime:1128) - Exception in thread named 'backgroundScanThread' (most recent call last):
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1126, in _start_thread
f(args, kwargs)
File "/Library/Application Support/Plex Media Server/Plug-ins/ExportTools.bundle/Contents/Code/init.py", line 333, in backgroundScanThread
scanMovieDB(myMediaURL, outFile)
File "/Library/Application Support/Plex Media Server/Plug-ins/ExportTools.bundle/Contents/Code/init.py", line 409, in scanMovieDB
Log.Debug("**** Ending scanMovieDB ***********")
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 344, in ElementFromURL
method=method,
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/networkkit.py", line 67, in _http_request
req = self._core.networking.http_request(url, *args, **kwargs)
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 370, in http_request
return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method)
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 141, in init
self.load()
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 181, in load
f = self._opener.open(req, timeout=self._timeout)
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 444, in open
response = meth(req, response)
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 557, in http_response
'http', request, response, code, msg, hdrs)
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 482, in error
return self._call_chain(*args)
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 416, in _call_chain
result = func(*args)
File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 565, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
Plex2CSV is often used to do "house cleaning" of your media collection.
One thing that's missing when exporting music, is the genre, both that of the artist and that of the album.
Yes, I know that the genre is only stored at the album and the artist level, The XML of an audio track doesn't show the genre.
Yet, in some situations it'd be very helpful to have a list of artist and/or albums with the associated 'genre'.
I am unsure how to solve this.
Maybe generate 3 lists from a music library? (artists, albums, tracks)
Or include the artist and album genre within the tracklist (although this'd mean a lot of redundant information)?
Feature Request: Add ability to stop scan from the scanning progress page
There was a change in the server a short time ago.
When requesting the mediainfo XML, the informations related to 'deep analysis' are no longer included by default.
They must be requested explicitly by adding includeBandwidths=1
to the URI
I assume this is the reason why they are no longer in the exported file as well.
Add Collections to that
Ref: https://forums.plex.tv/discussion/comment/1557204/#Comment_1557204
Someone, who's named shall not be mentioned, wants this exported as well:
albumGain="-8.44" albumPeak="0.981049" albumRange="8.028128" gain="-9.67" loudness="-8.33" lra="5.49" peak="0.977325"
I need to look into this ;-)
https://forums.plex.tv/discussion/comment/1456374/#Comment_1456374
Might be something silly, but I haven't figured it out yet. I am getting a permission denied error, when its trying to write the .csv to a network path. The permissions on the mount seem to be fine otherwise.
Any ideas?
I am trying to develop a Live Channels plugin for Android TV to watch live tv and set recordings through plex backend using Live Channels frontend (plex epg guide isn't the greatest imo).
Question is can we somehow create a live_tv export to export all epg data into xmltv.xml and channels.m3u8?
We need to update the wiki to reflect the changes from Plex2CSV, as well as add some pictures
Seems like export is broken with V1.0.2.10, if title of the section is already unicode
Forum thread:
http://forums.plex.tv/discussion/comment/1632184/#Comment_1632184
Look into exporting Metadb link
Ref: http://forums.plex.tv/discussion/comment/1534967#Comment_1534967
Seen on Win10.
Will see to reproduce in due time
Would it be possible to export everything plex has ever seen? The hope is to dump everything I've ever watched even if I deleted it. I know plex stores this information because when I add a show I deleted back it knows whether I watched it or not.
Poster url broken due to Pep8
Make sure, that AutoPath set is logged properly
Currently stopping grab of info on directory level.
Needs to go to each individual item
Would it be possible to add the Title value to the fields Sort title and Original Title when they don't have a value in the database instead of filling them with N/A?
No point in sorting a table in Excel based on the Sort title when most of the cells contain N/A.
I do this manually today when I import the cvs file into Excel, but with 6100+ movies in my collection, it takes some time... ;-)
I notice that the export of a movie country is either a two letter country code or the country name, and two movies added at the same time and from the same country one could end up with the full name and the other with the country code. Here is the latest 18 movies added earlier today:
US, France, US, US, FR, FR, CA, US, ES, DE, DE, US, US, US, DE, US, US, USA
So not sure if this is an issue with Plex or with ExportTools...
An image showing more examples:
Need to grap in smaller chunks, to avoid stressing the PMS
V1.0.1.0
Export from playlists...
"This channel is not responding."
Might fail, if what's digested from Library starts with like:
u'\\?\G:\Filme_HD\ExportTools'
Users would like this:
https://forums.plex.tv/discussion/comment/1410524/#Comment_1410524
Helpful when debugging
Look into exporting tags
As it is, duplicate copies of a movie are exported on a single line, with fields such as 'Part Size as Bytes' expressed as '12345 - 6789'.
This makes parsing the output very difficult.
Can an option be added to require that each entry has it's own specific line?
Support Home videos in Photo export as well
See: http://forums.plex.tv/discussion/comment/1465241/#Comment_1465241
Path to export media changed to: d:\Export
Ignore export path and write output to the media storage instead unchecked, but still this Error ...
With the TV-Show only levels, we are on the show level, and as such, can export sharing labels as well
Forum ref: https://forums.plex.tv/discussion/comment/1470752/#Comment_1470752
Building on #17 it should be possible to export playlists in the widely supported m3u format.
https://en.wikipedia.org/wiki/M3U
This'll provide compatibility with almost any other player software and makes the export function immensely more useful.
When I tried to export movies I received internal error.
p.s. Where in code could I raise timeout ?
Log errors:
2017-02-14 11:23:24,253 (7f3aeeffd700) : DEBUG (runtime:88) - Sending packed state data (112 bytes)
2017-02-14 11:23:24,254 (7f3aeeffd700) : DEBUG (runtime:924) - Response: [200] MediaContainer, 1677 bytes
2017-02-14 11:23:34,314 (7f3aedffb700) : CRITICAL (__init__:348) - Exception happened in backgroundScanThread (most recent call last):
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/ExportTools.bundle/Contents/Code/__init__.py", line 330, in backgroundScanThread
scanMovieDB(myMediaURL, outFile)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/ExportTools.bundle/Contents/Code/__init__.py", line 389, in scanMovieDB
media = XML.ElementFromURL(myExtendedInfoURL, timeout=float(consts.PMSTIMEOUT)).xpath('//Video')[0]
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 344, in ElementFromURL
method=method,
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/networkkit.py", line 67, in _http_request
req = self._core.networking.http_request(url, *args, **kwargs)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 370, in http_request
return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 141, in __init__
self.load()
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 181, in load
f = self._opener.open(req, timeout=self._timeout)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 438, in open
response = self._open(req, data)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 456, in _open
'_open', req)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 416, in _call_chain
result = func(*args)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 1217, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 1192, in do_open
raise URLError(err)
URLError: <urlopen error timed out>
2017-02-14 11:23:34,315 (7f3aedffb700) : CRITICAL (runtime:1128) - Exception in thread named 'backgroundScanThread' (most recent call last):
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1126, in _start_thread
f(*args, **kwargs)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/ExportTools.bundle/Contents/Code/__init__.py", line 330, in backgroundScanThread
scanMovieDB(myMediaURL, outFile)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/ExportTools.bundle/Contents/Code/__init__.py", line 389, in scanMovieDB
media = XML.ElementFromURL(myExtendedInfoURL, timeout=float(consts.PMSTIMEOUT)).xpath('//Video')[0]
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 344, in ElementFromURL
method=method,
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/networkkit.py", line 67, in _http_request
req = self._core.networking.http_request(url, *args, **kwargs)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 370, in http_request
return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 141, in __init__
self.load()
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 181, in load
f = self._opener.open(req, timeout=self._timeout)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 438, in open
response = self._open(req, data)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 456, in _open
'_open', req)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 416, in _call_chain
result = func(*args)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 1217, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-b46e0ea/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 1192, in do_open
raise URLError(err)
URLError: <urlopen error timed out>
2017-02-14 11:23:59,433 (7f3aedffb700) : DEBUG (runtime:717) - Handling request GET /applications/ExportTools/backgroundScan?random=4.311281&statusCheck=1&title=Movies
2017-02-14 11:23:59,435 (7f3aedffb700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2017-02-14 11:23:59,437 (7f3aedffb700) : DEBUG (runtime:814) - Found route matching /applications/ExportTools/backgroundScan
2017-02-14 11:23:59,437 (7f3aedffb700) : DEBUG (__init__:217) - ******* Starting backgroundScan *********
2017-02-14 11:23:59,439 (7f3aedffb700) : DEBUG (__init__:306) - ******* Ending backgroundScan ***********
Missing from episodes, but field is there
grandparentTitle
= AlbumArtist
originalTitle
= Artist or TrackArtist
All with love from Otto, so this will be exported as well soon
We need to add a tad to the column with, so the filter drop-down arrow is clear of the text
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.