Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plexupdate: Support SSL #2871

Closed
wilsonic opened this issue Apr 7, 2018 · 3 comments
Closed

plexupdate: Support SSL #2871

wilsonic opened this issue Apr 7, 2018 · 3 comments
Labels
feature features we would like to implement

Comments

@wilsonic
Copy link

wilsonic commented Apr 7, 2018

Problem

Is it possible to add the option for updating Plex via SSL? I have my Plex Server set to Secure required and can no longer update the Music library after a beets import.

Setup

  • OS: Linuxserver Docker
  • Python version: 2.7
  • beets version: 1.4.6
  • Turning off plugins made problem go away (yes/no):

My configuration (output of beet config) is:

plugins: fetchart embedart convert scrub replaygain lastgenre chroma web plexupdate the ftintitle discogs duplicates missing zero permissions
directory: /music
library: /config/musiclibrary.blb
art_filename: albumart
threaded: yes
original_date: no
per_disc_numbering: no
#color: yes

convert:
    auto: no
    ffmpeg: /usr/bin/ffmpeg
    opts: -ab 320k -ac 2 -ar 48000
    max_bitrate: 320
    threads: 1

paths:
    default: %the{$albumartist}/$album%aunique{}/$track - $title
    singleton: Non-Album/$artist - $title
    comp: Compilations/$album%aunique{}/$track - $title
    albumtype_soundtrack: Soundtracks/$album/$track $title 

import:
    write: yes
    copy: no
    move: yes
    resume: ask
    incremental: yes
    quiet_fallback: skip
    timid: no
    log: /config/beet.log

lastgenre:
    auto: yes
    source: album

embedart:
    auto: yes

fetchart:
    auto: yes
    sources: coverart itunes amazon albumart google

replaygain:
    auto: no

scrub:
    auto: yes

plex:
    host: 192.168.10.200
    port: 32400
    token: 

ftintitle:
    auto: yes
    drop: no
    format: feat. {0}

web:
    host: 0.0.0.0
    port: 8337

zero:
    fields: comments
    update_database: true

replace:
    '^\.': _
    '[\x00-\x1f]': _
    '[<>:"\?\*\|]': _
    '[\xE8-\xEB]': e
    '[\xEC-\xEF]': i
    '[\xE2-\xE6]': a
    '[\xF2-\xF6]': o
    '[\xF8]': o
    '\.$': _
    '\s+$': ''

permissions:
    file: 644
    dir: 755
@sampsyo sampsyo added the feature features we would like to implement label Apr 8, 2018
@sampsyo sampsyo changed the title Update plexupdate.py to support SSL plexupdate: Support SSL Apr 8, 2018
@sampsyo
Copy link
Member

sampsyo commented Apr 8, 2018

Sounds reasonable!

Perhaps we should change the config to use a URL, instead of just a host and port, so people can just use https:// to indicate a secure connection?

@mtrolley
Copy link
Contributor

mtrolley commented Jun 9, 2020

This issue could be closed. I implemented it in PR #3619.

@sampsyo
Copy link
Member

sampsyo commented Jun 9, 2020

Indeed; thanks!!

@sampsyo sampsyo closed this as completed Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature features we would like to implement
Projects
None yet
Development

No branches or pull requests

3 participants