here the sh, py and video file
Oh! that's strange, guess you didn't unlock before deleting the plugin. *bummer*
/iSh0w
Sent from my iPhone using Tapatalk
how do i unhide it?
Since it is technically hidden it is still there. How do I delete that section? To re create another. It’s a pretty large section of TV shows that I hate to just take up space in the database and metadata
Hey noxx2,
Here is the init_py file. Pl. copy/paste into your current init_py file!
Pl. don't forget to follow the terminal commands mentioned here after you make changes to the init_py file
If the above init_py code does not work, try this (I was studying the history of the problem you were facing, initially you were able to call the l0ck.sh file but sqlite3 was the problem, now that you are using your system's sqlite3 you are able to l0ck via terminal. However, at that time, since we could not pin point the origin of the problem, we made changes to the init_py file. The init_py file may not have had any problem to begin with ;) )
After copy/pasteing the above init_py file(which is the originally generated one), pl. don't forget to follow the terminal commands mentioned here.
Just out of curiosity, debian wheezy is running on what arm processor or what gadget/nas are you using?
/iSh0w
Ps: Even if nothing works out, here's a lil something just for us ;D
L0CK-WHY-NO-WORK.jpgSeasons Greetings!
hi iShow,
i will try this today evening.
this is my system:
OS:
Debian Wheezy
Like I said "bummer man", "■■■■ happens" ;) I'll have to come over to fix the problem :D
On a serious note, do you use Firefox if yes, can you gat a hold of the addon "SQLite Manager" letmeknow!
/iSh0w
Sent from my iPhone using Tapatalk
Lol! Yeah ■■■■ always seems to happen!... Yes, I used the manager to edit the db to change the movie/tv show icons pictures back in the day before they stopped using them on most clients.
This is just fantastic work guys I love it. I'd even go as far to say even if there wasnt another signle update to Plex, I'd be perfectly happy with the way it is now. Thanks again for the hard work and great execution.
Hey noxx2,
Here is the init_py file. Pl. copy/paste into your current init_py file!
Pl. don't forget to follow the terminal commands mentioned here after you make changes to the init_py file
If the above init_py code does not work, try this (I was studying the history of the problem you were facing, initially you were able to call the l0ck.sh file but sqlite3 was the problem, now that you are using your system's sqlite3 you are able to l0ck via terminal. However, at that time, since we could not pin point the origin of the problem, we made changes to the init_py file. The init_py file may not have had any problem to begin with ;) )
After copy/pasteing the above init_py file(which is the originally generated one), pl. don't forget to follow the terminal commands mentioned here.
Just out of curiosity, debian wheezy is running on what arm processor or what gadget/nas are you using?
/iSh0w
Ps: Even if nothing works out, here's a lil something just for us ;D
L0CK-WHY-NO-WORK.jpgSeasons Greetings!
i try both, but both dont work
1st Link:
Lock Button isnt there, see lock_1.png
here the log file:
2014-11-06 19:43:52,897 (7fed5d2ec700) : INFO (core:347) - Starting framework core - Version: 2.5.0, Build: a51033b (Mon Jul 28 12:19:14 UTC 2014)
2014-11-06 19:43:52,897 (7fed5d2ec700) : DEBUG (core:359) - Using the elevated policy
2014-11-06 19:43:52,897 (7fed5d2ec700) : DEBUG (core:448) - Starting runtime component.
2014-11-06 19:43:52,898 (7fed5d2ec700) : DEBUG (core:448) - Starting caching component.
2014-11-06 19:43:52,898 (7fed5d2ec700) : DEBUG (core:448) - Starting data component.
2014-11-06 19:43:52,899 (7fed5d2ec700) : DEBUG (core:448) - Starting networking component.
2014-11-06 19:43:52,899 (7fed5d2ec700) : DEBUG (networking:288) - Loaded HTTP cookies
2014-11-06 19:43:52,899 (7fed5d2ec700) : DEBUG (networking:458) - Setting the default network timeout to 20.0
2014-11-06 19:43:52,900 (7fed5d2ec700) : DEBUG (core:448) - Starting localization component.
2014-11-06 19:43:52,900 (7fed5d2ec700) : INFO (localization:408) - Setting the default locale to en-us
2014-11-06 19:43:52,900 (7fed5d2ec700) : DEBUG (core:448) - Starting messaging component.
2014-11-06 19:43:52,900 (7fed4d7fa700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.plugins.l0ckunl0ck'
2014-11-06 19:43:52,900 (7fed5d2ec700) : DEBUG (core:448) - Starting debugging component.
2014-11-06 19:43:52,901 (7fed5d2ec700) : DEBUG (core:448) - Starting services component.
2014-11-06 19:43:52,901 (7fed5d2ec700) : DEBUG (core:448) - Starting myplex component.
2014-11-06 19:43:52,901 (7fed5d2ec700) : DEBUG (core:448) - Starting notifications component.
2014-11-06 19:43:52,991 (7fed5d2ec700) : DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.plugins.l0ckunl0ck in namespace 'metadata'
2014-11-06 19:43:52,994 (7fed5d2ec700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2014-11-06 19:43:53,284 (7fed4d7fa700) : DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2014-11-06 19:43:53,284 (7fed5d2ec700) : DEBUG (runtime:1111) - Created a thread named 'load_all_services'
2014-11-06 19:43:53,286 (7fed4d7fa700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'
2014-11-06 19:43:53,287 (7fed4c7f8700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400'
2014-11-06 19:43:53,287 (7fed5d2ec700) : DEBUG (runtime:1111) - Created a thread named 'get_server_info'
2014-11-06 19:43:53,287 (7fed5d2ec700) : DEBUG (core:150) - Finished starting framework core
2014-11-06 19:43:53,287 (7fed5d2ec700) : DEBUG (core:558) - Loading plug-in code
2014-11-06 19:43:53,290 (7fed5d2ec700) : CRITICAL (core:567) - Exception while loading code (most recent call last):
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/core.py", line 561, in load_code
self.init_code = self.loader.load(self.init_path, elevated, use_xpython = Framework.constants.flags.use_xpython in self.sandbox.flags)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/loader.py", line 47, in load
code = self.compile(str(source), str(uni(filename)), elevated)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/loader.py", line 52, in compile
return RestrictedPython.compile_restricted(source, name, 'exec', elevated=elevated)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/RestrictedPython/RCompile.py", line 115, in compile_restricted
gen.compile()
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/RestrictedPython/RCompile.py", line 68, in compile
tree = self._get_tree()
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/RestrictedPython/RCompile.py", line 59, in _get_tree
tree = self.parse()
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/RestrictedPython/RCompile.py", line 56, in parse
return niceParse(self.source, self.filename, self.mode)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/RestrictedPython/RCompile.py", line 38, in niceParse
compile(source, filename, mode)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/L0ck.bundle/Contents/Code/__init__.py", line 69
filepath = '"' + path + '"'
^
IndentationError: unexpected indent
2014-11-06 19:43:53,292 (7fed4c7f8700) : DEBUG (core:536) - Machine identifier is 5de14e0adcefdc1185d317ad0dd7e14b2b2de26b
2014-11-06 19:43:53,292 (7fed4c7f8700) : DEBUG (core:537) - Server version is 0.9.11.1.678-c48ffd2
2014-11-06 19:43:53,386 (7fed4d7fa700) : DEBUG (services:362) - Loaded services
2014-11-06 19:43:53,389 (7fed4cff9700) : DEBUG (services:438) - No shared code to load
2nd Link, Lock Button is back, but i cant lock my Libary
2014-11-06 19:43:52,897 (7fed5d2ec700) : INFO (core:347) - Starting framework core - Version: 2.5.0, Build: a51033b (Mon Jul 28 12:19:14 UTC 2014)
2014-11-06 19:43:52,897 (7fed5d2ec700) : DEBUG (core:359) - Using the elevated policy
2014-11-06 19:43:52,897 (7fed5d2ec700) : DEBUG (core:448) - Starting runtime component.
2014-11-06 19:43:52,898 (7fed5d2ec700) : DEBUG (core:448) - Starting caching component.
2014-11-06 19:43:52,898 (7fed5d2ec700) : DEBUG (core:448) - Starting data component.
2014-11-06 19:43:52,899 (7fed5d2ec700) : DEBUG (core:448) - Starting networking component.
2014-11-06 19:43:52,899 (7fed5d2ec700) : DEBUG (networking:288) - Loaded HTTP cookies
2014-11-06 19:43:52,899 (7fed5d2ec700) : DEBUG (networking:458) - Setting the default network timeout to 20.0
2014-11-06 19:43:52,900 (7fed5d2ec700) : DEBUG (core:448) - Starting localization component.
2014-11-06 19:43:52,900 (7fed5d2ec700) : INFO (localization:408) - Setting the default locale to en-us
2014-11-06 19:43:52,900 (7fed5d2ec700) : DEBUG (core:448) - Starting messaging component.
2014-11-06 19:43:52,900 (7fed4d7fa700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.plugins.l0ckunl0ck'
2014-11-06 19:43:52,900 (7fed5d2ec700) : DEBUG (core:448) - Starting debugging component.
2014-11-06 19:43:52,901 (7fed5d2ec700) : DEBUG (core:448) - Starting services component.
2014-11-06 19:43:52,901 (7fed5d2ec700) : DEBUG (core:448) - Starting myplex component.
2014-11-06 19:43:52,901 (7fed5d2ec700) : DEBUG (core:448) - Starting notifications component.
2014-11-06 19:43:52,991 (7fed5d2ec700) : DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.plugins.l0ckunl0ck in namespace 'metadata'
2014-11-06 19:43:52,994 (7fed5d2ec700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2014-11-06 19:43:53,284 (7fed4d7fa700) : DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2014-11-06 19:43:53,284 (7fed5d2ec700) : DEBUG (runtime:1111) - Created a thread named 'load_all_services'
2014-11-06 19:43:53,286 (7fed4d7fa700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'
2014-11-06 19:43:53,287 (7fed4c7f8700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400'
2014-11-06 19:43:53,287 (7fed5d2ec700) : DEBUG (runtime:1111) - Created a thread named 'get_server_info'
2014-11-06 19:43:53,287 (7fed5d2ec700) : DEBUG (core:150) - Finished starting framework core
2014-11-06 19:43:53,287 (7fed5d2ec700) : DEBUG (core:558) - Loading plug-in code
2014-11-06 19:43:53,290 (7fed5d2ec700) : CRITICAL (core:567) - Exception while loading code (most recent call last):
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/core.py", line 561, in load_code
self.init_code = self.loader.load(self.init_path, elevated, use_xpython = Framework.constants.flags.use_xpython in self.sandbox.flags)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/loader.py", line 47, in load
code = self.compile(str(source), str(uni(filename)), elevated)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/loader.py", line 52, in compile
return RestrictedPython.compile_restricted(source, name, 'exec', elevated=elevated)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/RestrictedPython/RCompile.py", line 115, in compile_restricted
gen.compile()
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/RestrictedPython/RCompile.py", line 68, in compile
tree = self._get_tree()
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/RestrictedPython/RCompile.py", line 59, in _get_tree
tree = self.parse()
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/RestrictedPython/RCompile.py", line 56, in parse
return niceParse(self.source, self.filename, self.mode)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/RestrictedPython/RCompile.py", line 38, in niceParse
compile(source, filename, mode)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/L0ck.bundle/Contents/Code/__init__.py", line 69
filepath = '"' + path + '"'
^
IndentationError: unexpected indent
2014-11-06 19:43:53,292 (7fed4c7f8700) : DEBUG (core:536) - Machine identifier is 5de14e0adcefdc1185d317ad0dd7e14b2b2de26b
2014-11-06 19:43:53,292 (7fed4c7f8700) : DEBUG (core:537) - Server version is 0.9.11.1.678-c48ffd2
2014-11-06 19:43:53,386 (7fed4d7fa700) : DEBUG (services:362) - Loaded services
2014-11-06 19:43:53,389 (7fed4cff9700) : DEBUG (services:438) - No shared code to load
no, sorry. dont work
2014-11-06 20:14:49,323 (7f9305f70700) : INFO (core:347) - Starting framework core - Version: 2.5.0, Build: a51033b (Mon Jul 28 12:19:14 UTC 2014)
2014-11-06 20:14:49,323 (7f9305f70700) : DEBUG (core:359) - Using the elevated policy
2014-11-06 20:14:49,323 (7f9305f70700) : DEBUG (core:448) - Starting runtime component.
2014-11-06 20:14:49,324 (7f9305f70700) : DEBUG (core:448) - Starting caching component.
2014-11-06 20:14:49,324 (7f9305f70700) : DEBUG (core:448) - Starting data component.
2014-11-06 20:14:49,325 (7f9305f70700) : DEBUG (core:448) - Starting networking component.
2014-11-06 20:14:49,325 (7f9305f70700) : DEBUG (networking:288) - Loaded HTTP cookies
2014-11-06 20:14:49,325 (7f9305f70700) : DEBUG (networking:458) - Setting the default network timeout to 20.0
2014-11-06 20:14:49,326 (7f9305f70700) : DEBUG (core:448) - Starting localization component.
2014-11-06 20:14:49,326 (7f9305f70700) : INFO (localization:408) - Setting the default locale to en-us
2014-11-06 20:14:49,326 (7f9305f70700) : DEBUG (core:448) - Starting messaging component.
2014-11-06 20:14:49,326 (7f92faad4700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.plugins.l0ckunl0ck'
2014-11-06 20:14:49,326 (7f9305f70700) : DEBUG (core:448) - Starting debugging component.
2014-11-06 20:14:49,327 (7f9305f70700) : DEBUG (core:448) - Starting services component.
2014-11-06 20:14:49,327 (7f9305f70700) : DEBUG (core:448) - Starting myplex component.
2014-11-06 20:14:49,327 (7f9305f70700) : DEBUG (core:448) - Starting notifications component.
2014-11-06 20:14:49,416 (7f9305f70700) : DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.plugins.l0ckunl0ck in namespace 'metadata'
2014-11-06 20:14:49,420 (7f9305f70700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2014-11-06 20:14:49,624 (7f9305f70700) : DEBUG (runtime:1111) - Created a thread named 'load_all_services'
2014-11-06 20:14:49,624 (7f92faad4700) : DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2014-11-06 20:14:49,626 (7f92faad4700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'
2014-11-06 20:14:49,628 (7f9305f70700) : DEBUG (runtime:1111) - Created a thread named 'get_server_info'
2014-11-06 20:14:49,628 (7f9305f70700) : DEBUG (core:150) - Finished starting framework core
2014-11-06 20:14:49,629 (7f9305f70700) : DEBUG (core:558) - Loading plug-in code
2014-11-06 20:14:49,629 (7f92f9ad2700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400'
2014-11-06 20:14:49,661 (7f9305f70700) : DEBUG (core:564) - Finished loading plug-in code
2014-11-06 20:14:49,662 (7f9305f70700) : DEBUG (runtime:640) - Adding a prefix handler for 'L0ck' ('/video/l0ck')
2014-11-06 20:14:49,664 (7f9305f70700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400'
2014-11-06 20:14:49,666 (7f92f9ad2700) : DEBUG (core:536) - Machine identifier is 5de14e0adcefdc1185d317ad0dd7e14b2b2de26b
2014-11-06 20:14:49,666 (7f92f9ad2700) : DEBUG (core:537) - Server version is 0.9.11.1.678-c48ffd2
2014-11-06 20:14:49,667 (7f9305f70700) : DEBUG (core:519) - Attribute 'platformVersion' set to ' (#1 SMP Debian 3.16.3-2~bpo70+1 (2014-09-21))'
2014-11-06 20:14:49,668 (7f9305f70700) : DEBUG (__init__:91) - ======L0CK======Platform: Linux Version: (#1 SMP Debian 3.16.3-2~bpo70+1 (2014-09-21))
2014-11-06 20:14:49,668 (7f9305f70700) : DEBUG (__init__:91) - ======L0CK======PMS Server: 0.9.11.1.678-c48ffd2
2014-11-06 20:14:49,668 (7f9305f70700) : DEBUG (__init__:91) - ======L0CK======Plex Media Server at /var/lib/plexmediaserver/Library/Application Support/Plex Media Server
2014-11-06 20:14:49,668 (7f9305f70700) : DEBUG (__init__:91) - ======L0CK======Plug-in bundles are located in /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins
2014-11-06 20:14:49,668 (7f9305f70700) : DEBUG (__init__:91) - ======L0CK======Plug-in support files are located in /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support
2014-11-06 20:14:49,668 (7f9305f70700) : DEBUG (__init__:91) - ======L0CK======L0ck Bundle path is /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/L0ck.bundle
2014-11-06 20:14:49,668 (7f9305f70700) : DEBUG (__init__:91) - ======L0CK======BASEPATHL0CK: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/L0ck.bundle/Contents/Resources/l0ck_support/l0ck.sh
2014-11-06 20:14:49,668 (7f9305f70700) : DEBUG (__init__:91) - ======L0CK======BASEPATHUNL0CK: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/L0ck.bundle/Contents/Resources/l0ck_support/unl0ck.sh
2014-11-06 20:14:49,669 (7f9305f70700) : DEBUG (__init__:91) - ======L0CK======L0ck plugin generated on: 6th NOV 2014
2014-11-06 20:14:49,669 (7f9305f70700) : INFO (core:609) - Started plug-in
2014-11-06 20:14:49,669 (7f9305f70700) : DEBUG (socketinterface:160) - Starting socket server
2014-11-06 20:14:49,669 (7f9305f70700) : DEBUG (runtime:1111) - Created a thread named 'start'
2014-11-06 20:14:49,669 (7f9305f70700) : INFO (socketinterface:184) - Socket server started on port 49142
2014-11-06 20:14:49,670 (7f9305f70700) : INFO (pipeinterface:25) - Entering run loop
2014-11-06 20:14:49,670 (7f9305f70700) : DEBUG (runtime:717) - Handling request GET /:/prefixes
2014-11-06 20:14:49,671 (7f9305f70700) : DEBUG (runtime:814) - Found route matching /:/prefixes
2014-11-06 20:14:49,742 (7f92faad4700) : DEBUG (services:362) - Loaded services
2014-11-06 20:14:49,743 (7f9305f70700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 448 bytes
2014-11-06 20:14:49,746 (7f92fa2d3700) : DEBUG (services:438) - No shared code to load
2014-11-06 20:14:58,286 (7f92fa2d3700) : DEBUG (runtime:717) - Handling request GET /video/l0ck
2014-11-06 20:14:58,287 (7f92fa2d3700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2014-11-06 20:14:58,291 (7f92fa2d3700) : DEBUG (runtime:814) - Found route matching /video/l0ck
2014-11-06 20:14:58,292 (7f92fa2d3700) : DEBUG (base:125) - Checking if com.plexapp.plugins.l0ckunl0ck is broken
2014-11-06 20:14:58,293 (7f92fa2d3700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMzAKY29tLnBsZXhhcHAucGx1Z2lucy5sMGNrdW5sMGNrczEwCmlkZW50aWZpZXJyMAo_'
2014-11-06 20:14:58,302 (7f92fa2d3700) : DEBUG (runtime:106) - Sending packed state data (111 bytes)
2014-11-06 20:14:58,302 (7f92fa2d3700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 1240 bytes
2014-11-06 20:14:59,142 (7f92fa2d3700) : DEBUG (runtime:717) - Handling request GET /video/l0ck
2014-11-06 20:14:59,143 (7f92fa2d3700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2014-11-06 20:14:59,145 (7f92fa2d3700) : DEBUG (runtime:814) - Found route matching /video/l0ck
2014-11-06 20:14:59,145 (7f92fa2d3700) : DEBUG (base:125) - Checking if com.plexapp.plugins.l0ckunl0ck is broken
2014-11-06 20:14:59,146 (7f92fa2d3700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMzAKY29tLnBsZXhhcHAucGx1Z2lucy5sMGNrdW5sMGNrczEwCmlkZW50aWZpZXJyMAo_'
2014-11-06 20:14:59,155 (7f92fa2d3700) : DEBUG (runtime:106) - Sending packed state data (111 bytes)
2014-11-06 20:14:59,155 (7f92fa2d3700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 1240 bytes
2014-11-06 20:14:59,218 (7f92fa2d3700) : DEBUG (runtime:717) - Handling request GET /video/l0ck/L0ck?path=%2Fvar%2Flib%2Fplexmediaserver%2FLibrary%2FApplication+Support%2FPlex+Media+Server%2FPlug-ins%2FL0ck.bundle%2FContents%2FResources%2Fl0ck_support%2Fl0ck.sh&task=L0cked&query=
2014-11-06 20:14:59,219 (7f92fa2d3700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2014-11-06 20:14:59,221 (7f92fa2d3700) : DEBUG (runtime:814) - Found route matching /video/l0ck/L0ck
2014-11-06 20:14:59,221 (7f92fa2d3700) : DEBUG (__init__:91) - ======L0CK======L0cking
2014-11-06 20:14:59,225 (7f92fa2d3700) : DEBUG (__init__:91) - ======L0CK======L0cked
2014-11-06 20:14:59,228 (7f92fa2d3700) : DEBUG (runtime:106) - Sending packed state data (111 bytes)
2014-11-06 20:14:59,228 (7f92fa2d3700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 635 bytes
2014-11-06 20:15:01,346 (7f92fa2d3700) : DEBUG (runtime:717) - Handling request GET /video/l0ck
2014-11-06 20:15:01,347 (7f92fa2d3700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2014-11-06 20:15:01,348 (7f92fa2d3700) : DEBUG (runtime:814) - Found route matching /video/l0ck
2014-11-06 20:15:01,349 (7f92fa2d3700) : DEBUG (base:125) - Checking if com.plexapp.plugins.l0ckunl0ck is broken
2014-11-06 20:15:01,350 (7f92fa2d3700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMzAKY29tLnBsZXhhcHAucGx1Z2lucy5sMGNrdW5sMGNrczEwCmlkZW50aWZpZXJyMAo_'
2014-11-06 20:15:01,359 (7f92fa2d3700) : DEBUG (runtime:106) - Sending packed state data (111 bytes)
2014-11-06 20:15:01,360 (7f92fa2d3700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 1240 bytes
2014-11-06 20:15:01,380 (7f92fa2d3700) : DEBUG (runtime:717) - Handling request GET /video/l0ck/mainmenu
2014-11-06 20:15:01,381 (7f92fa2d3700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2014-11-06 20:15:01,382 (7f92fa2d3700) : DEBUG (runtime:814) - Found route matching /video/l0ck/mainmenu
2014-11-06 20:15:01,384 (7f92fa2d3700) : DEBUG (runtime:106) - Sending packed state data (111 bytes)
2014-11-06 20:15:01,385 (7f92fa2d3700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 1240 bytes
2014-11-06 20:15:02,000 (7f92fa2d3700) : DEBUG (runtime:717) - Handling request GET /video/l0ck
2014-11-06 20:15:02,001 (7f92fa2d3700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2014-11-06 20:15:02,002 (7f92fa2d3700) : DEBUG (runtime:814) - Found route matching /video/l0ck
2014-11-06 20:15:02,003 (7f92fa2d3700) : DEBUG (base:125) - Checking if com.plexapp.plugins.l0ckunl0ck is broken
2014-11-06 20:15:02,003 (7f92fa2d3700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMzAKY29tLnBsZXhhcHAucGx1Z2lucy5sMGNrdW5sMGNrczEwCmlkZW50aWZpZXJyMAo_'
2014-11-06 20:15:02,009 (7f92fa2d3700) : DEBUG (runtime:106) - Sending packed state data (111 bytes)
2014-11-06 20:15:02,009 (7f92fa2d3700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 1240 bytes
2014-11-06 20:15:02,029 (7f92fa2d3700) : DEBUG (runtime:717) - Handling request GET /video/l0ck/L0ck?path=%2Fvar%2Flib%2Fplexmediaserver%2FLibrary%2FApplication+Support%2FPlex+Media+Server%2FPlug-ins%2FL0ck.bundle%2FContents%2FResources%2Fl0ck_support%2Fl0ck.sh&task=L0cked&query=
2014-11-06 20:15:02,029 (7f92fa2d3700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2014-11-06 20:15:02,030 (7f92fa2d3700) : DEBUG (runtime:814) - Found route matching /video/l0ck/L0ck
2014-11-06 20:15:02,030 (7f92fa2d3700) : DEBUG (__init__:91) - ======L0CK======L0cking
2014-11-06 20:15:02,033 (7f92fa2d3700) : DEBUG (__init__:91) - ======L0CK======L0cked
2014-11-06 20:15:02,035 (7f92fa2d3700) : DEBUG (runtime:106) - Sending packed state data (111 bytes)
2014-11-06 20:15:02,035 (7f92fa2d3700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 635 bytes
2014-11-06 20:15:08,215 (7f92fa2d3700) : DEBUG (runtime:717) - Handling request GET /video/l0ck
2014-11-06 20:15:08,217 (7f92fa2d3700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2014-11-06 20:15:08,218 (7f92fa2d3700) : DEBUG (runtime:814) - Found route matching /video/l0ck
2014-11-06 20:15:08,219 (7f92fa2d3700) : DEBUG (base:125) - Checking if com.plexapp.plugins.l0ckunl0ck is broken
2014-11-06 20:15:08,220 (7f92fa2d3700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMzAKY29tLnBsZXhhcHAucGx1Z2lucy5sMGNrdW5sMGNrczEwCmlkZW50aWZpZXJyMAo_'
2014-11-06 20:15:08,229 (7f92fa2d3700) : DEBUG (runtime:106) - Sending packed state data (111 bytes)
2014-11-06 20:15:08,229 (7f92fa2d3700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 1240 bytes
2014-11-06 20:15:09,156 (7f92fa2d3700) : DEBUG (runtime:717) - Handling request GET /video/l0ck
2014-11-06 20:15:09,157 (7f92fa2d3700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2014-11-06 20:15:09,159 (7f92fa2d3700) : DEBUG (runtime:814) - Found route matching /video/l0ck
2014-11-06 20:15:09,159 (7f92fa2d3700) : DEBUG (base:125) - Checking if com.plexapp.plugins.l0ckunl0ck is broken
2014-11-06 20:15:09,160 (7f92fa2d3700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMzAKY29tLnBsZXhhcHAucGx1Z2lucy5sMGNrdW5sMGNrczEwCmlkZW50aWZpZXJyMAo_'
2014-11-06 20:15:09,169 (7f92fa2d3700) : DEBUG (runtime:106) - Sending packed state data (111 bytes)
2014-11-06 20:15:09,169 (7f92fa2d3700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 1240 bytes
2014-11-06 20:15:09,197 (7f92fa2d3700) : DEBUG (runtime:717) - Handling request GET /video/l0ck/L0ck?path=%2Fvar%2Flib%2Fplexmediaserver%2FLibrary%2FApplication+Support%2FPlex+Media+Server%2FPlug-ins%2FL0ck.bundle%2FContents%2FResources%2Fl0ck_support%2Fl0ck.sh&task=L0cked&query=
2014-11-06 20:15:09,198 (7f92fa2d3700) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2014-11-06 20:15:09,200 (7f92fa2d3700) : DEBUG (runtime:814) - Found route matching /video/l0ck/L0ck
2014-11-06 20:15:09,200 (7f92fa2d3700) : DEBUG (__init__:91) - ======L0CK======L0cking
2014-11-06 20:15:09,204 (7f92fa2d3700) : DEBUG (__init__:91) - ======L0CK======L0cked
2014-11-06 20:15:09,206 (7f92fa2d3700) : DEBUG (runtime:106) - Sending packed state data (111 bytes)
2014-11-06 20:15:09,207 (7f92fa2d3700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 635 bytes
no, sorry. dont work
Noxx2,
I was having the same symptoms as you. To help diagnose the issue try editing the l0ck.sh file to add some logging.
First from the terminal cd into the directory where you store your .sh files for this plug in then do the following.
cd "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/L0ck.bundle/Contents/Resources/l0ck_support" sudo echo 'L0cking Error Log' > l0ck_error.log sudo chmod a+w l0ck_error.log
Then edit the l0ck.sh file and change the one line:
sqlite3 /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Databases/com.plexapp.plugins.library.db "$l0ckplex"
To:
echo LOCK: `date` >> l0ck_error.log sqlite3 /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Databases/com.plexapp.plugins.library.db "$l0ckplex" >> l0ck_error.log 2>&1
Note: the additional line and the redirection command to log the output.
Now lets Test. From the terminal enter:
tail -f l0ck_error.log
Next try using the Lock plug in. Does any thing appear in the log?
If every thing works correctly you should only see a new entry with LOCK and the date time stamp. Otherwise you might see an error. If nothing happens then it isn't working correctly and the .sh file is not being called and the problem is in __init__.py file.
This allowed me to see a SQLite error that was only happening when the L0ck.sh file was called from the plugin but worked from the command line.
this show the error.log
L0cking Error Log LOCK: Do 6. Nov 22:52:18 CET 2014 SQLite header and source version mismatch 2014-08-15 11:46:33 9491ba7d738528f168657adb43a198238abde19e 2012-06-11 02:05:22 f5b5a13f7394dc143aa136f1d4faba6839eaa6dc
....
this show the error.log
L0cking Error Log LOCK: Do 6. Nov 22:52:18 CET 2014 SQLite header and source version mismatch 2014-08-15 11:46:33 9491ba7d738528f168657adb43a198238abde19e 2012-06-11 02:05:22 f5b5a13f7394dc143aa136f1d4faba6839eaa6dc
OK this is the exact issue I was having. Basically Plex is using a newer version SQLite than what Debian uses. As such the libraries are out of sync.
Solved my "SQLite header and source version mismatch" problem with the following:
cd /usr/lib/plexmediaserver/ sudo cp libsqlite3.so.0 libsqlite3.so.0.ori sudo cp /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 libsqlite3.so.0
Plex still functions fine and have not experienced any issues.