On line 164 change
Code: Select all
urllib.quote(PlayString)
Code: Select all
urllib.quote(PlayString.encode('utf-8'))
Moderator: leecollings
Code: Select all
urllib.quote(PlayString)
Code: Select all
urllib.quote(PlayString.encode('utf-8'))
withFile "plex2.py", line 47
SyntaxError: Non-ASCII character '\xc3' in file plex2.py on line 47, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Code: Select all
# -*- coding: utf-8 -*-
'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)
Traceback (most recent call last):
File "plex2.py", line 182, in <module>
PlayString = urllib.quote(translate(PlayString).encode("utf-8"))
File "plex2.py", line 109, in translate
returnstring = returnstring.replace(transl_search[idx],transl_replace[idx])
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)
None
Which log do you mean? The one in the terminal? The domoticz text dummy? Or the domoticz log?denisb88 wrote:I don't know why but there is no log of files played.
Before, with the older script, logging works but with the new script, no log is available.
under Plex Options>Server>Network you can specify which networks can access the server without authentication. You can enter specific IP addresses or whole networks (e.g 192.168.0.1) don’t forget to add the subnet as shows in the settings description.
I have these settings in the Plex server under network: "127.0.0.1/255.255.255.255". I don't have to login to the Plex web page but when you enable Plex Home Plex tells you this:racquemis wrote:Have you tried the solution given in the first post? It works for me.
Do you have Plex Home enabled?If you've already set up a Plex Home, then you don't need to do anything else. When you become part of a Home, your Server automatically changes some security-related settings, one of which requires authentication for all access to the Server.
Users browsing this forum: No registered users and 1 guest