taligentx / LiveTVH.bundle

Live TV streaming with Plex and Tvheadend
GNU General Public License v3.0
105 stars 19 forks source link

Update the string concat method. Edit some error messages for clarity #18

Closed weflower closed 6 years ago

weflower commented 6 years ago

I updated the way strings are concatenated/constructed to use the new .format() method (or just "+" when it's simple enough). The %s method that was used is deprecated in newer releases of Python, so future proofing in case Plex upgrades at some point.

I also edited some error messages for global English and clarity.

taligentx commented 6 years ago

@weflower Thanks for the PR! I'm reviewing the code to see what changes are necessary with the current versions of the Plex server and clients. This PR required a manual merge for the develop branch, for now it's just the string substitution changes and will be looking at the error message wording changes.