Comments (5)
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.
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.
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.
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.
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)
- Issues creating `PlexClient` instances from `PlexServer` sessions in 4.15.8 HOT 1
- feat: Endpoint for computing sonic adventure
- Add View History Manually HOT 2
- Streams in MediaParts empty (reload() has no effect)
- `totalSize` of MediaContainer
- createPlaylist does not guard smart=True and non-empty items HOT 2
- "Invalid library sectionID: None" after PlexPartialObject.reload() HOT 5
- Using the .get function to differentiate between movies with the same title? HOT 1
- Structures for AlertListener messages
- Get watch history for non-owner user HOT 4
- Using `maxresults` in fetchItems() tramples over results
- Support saving remote playlist items HOT 6
- Problems with DELETE USER HOT 7
- Update plex.client HOT 1
- Missing library search HOT 2
- Optimize Movie HOT 1
- download() with kwargs clobbers multiple parts/media
- Lists even when it is not needed HOT 1
- Callback for progress updates when batching HOT 2
- support for lyrics is broken since 4.15.8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-plexapi.