Code Monkey home page Code Monkey logo

Comments (5)

jjlawren avatar jjlawren commented on June 10, 2024 2

Are you sure you mean to switch the user on the PlexServer instance? I'd expect you'd want to switch it on a client.

from python-plexapi.

blacktwin avatar blacktwin commented on June 10, 2024 1

I'm not able to reproduce this issue with a Home, Managed, or Shared User. Might be something else is going on. Is this a Home, Managed, or Shared user account?

Also you won't be able to delete anything while being "signed-in" as a Home, Managed or Shared user because those accounts do not have permission to delete. You would need to capture the ratingKey of the video then use your admin's plex instance delete the video.

from python-plexapi.

JonnyWong16 avatar JonnyWong16 commented on June 10, 2024 1

I'm 100% certain this has nothing to do with using the Python PlexAPI library.

Something else is going wrong with your Plex server/Plex account.

from python-plexapi.

amanjosan2008 avatar amanjosan2008 commented on June 10, 2024

This user is a managed user.
However, the issue is not with the deletion permissions.

The problem occurs even when listing the media.
I tried the same in the IDE, the issue starts at the same instance when I ran the -> plex.switchUser("MyUser") line:

from plexapi.server import PlexServer

baseurl = 'http://192.168.1.1:32400'
token = 'xxxxxxxxxxxxxx'
plex = PlexServer(baseurl, token)
userPlex = plex.switchUser("MyUser")

I also suspect something wrong with some Plex config on my server/account, but not able to find any logs.

from python-plexapi.

amanjosan2008 avatar amanjosan2008 commented on June 10, 2024

All I want to do is to get the Rating for media given by user "MyUser". The above code is working fine otherwise. Its just the Libraries that disappear in WebUIs & the Plex service becomes unreachable for the Apps on FireStick & TV, thats the issue. I need to restart the service in Plex Server to make it work again. Is this not the recommended/supported way to get ratings for users?

from python-plexapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.