![]() It may be introducing some bugs (in at least one case it did with a formatted string definition, though I fixed it). This formatting also increases the file size a small amount thanks to newline and space characters, but I don't think it really mattes. Converted the hostname of the media providers endpoint accessed in the fetchProviders method (defined at line 445 in this file) to a constant which can and must be set by the user at the top of the file (see instructions below).Converted the hostname where plexamp attempts to communicate with the local MPD service to a variable which can be set by the user at the top of the file.Īlso modified the code that processes the media provider list to work with the output found at this endpoint, which is slightly different from whatever the script expected before.This may not be necessary for everyone, but on my RPi 0 running Raspbian Lite the default behavior (looking on 127.0.0.1) failed, so I changed it to "localhost". Probably it would be better to set this on the MPD end but I couldn't get it to work. The modified method is connect, defined at line 25244 in my. Short-circuited the appendTrackWithLoudness method (defined at line 25368 in this file) so that it simply uses the plain appendTrack method defined above it.Plexamp was hanging for me on many attempts to connect certain tracks, and this method was generating the the error in the logs, saying the "addidwithloudness" command was unrecognized. This means that Plexamp's track loudness smoothing features are disabled on this player, presumably, but that was the simplest means of getting around the issue that I could find. Possibly the issue has to do with bugs introduced by the file's prettification but I don't know. ![]() Canonical instructions say to use an old Plexamp v1 or v2 installation to generate this, but it only worked partially for me. The file I got from that had only the player and user info defined in the JSON, but a third server object is required (I believe correct me if it's not). Your final version should look like this:Īgain, the player and user sections should come through just fine. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |