Comments (14)
I cant recreate your issue. Was this only with almost human or with other shows as well?
from python-plexapi.
I get it for every show. For comparison, here's an example using a title that is in both the movies and shows libraries:
tshow = "The X-Files"
The Code:
for video in plex.search(tshow):
print (video.type)
print (video.title)
print (video.summary)
print (video.roles)
print (video.genres)
print ("\n--------------------\n")
Output:
movie
The X-Files I Want to Believe
Six years after the events of The X-Files series finale, former FBI agent Doctor Dana Scully is now a staff physician at Our Lady of Sorrows, a Catholic hospital, and treating a boy named Christian who has Sandhoff disease, a terminal brain condition. FBI agent Drummy arrives to ask Scullyâs help in locating Fox Mulder, the fugitive former head of the X-Files division, and says they will call off its manhunt for him if he will help investigate the disappearances of several women, including young FBI agent Monica Banan. Mulder and Scully are called back to duty by the FBI when a former priest claims to be receiving psychic visions pertaining to a kidnapped agent.
[Role:12856:David.Duchovny, Role:12857:Gillian.Anderson, Role:6535:Amanda.Peet, Role:1260:Billy.Connolly, Role:6426:Xzibit, Role:12858:Mitch.Pileggi, Role:3226:Callum.Keith.Rennie, Role:2634:Adam.Godley, Role:12859:Alex.Diakun, Role:9899:Nicki.Aycox, Role:12860:Fagin.Woodcock, Role:12861:Marco.Niccoli, Role:12862:Carrie.Ruscheinsky, Role:12863:Spencer.Maybee, Role:12864:Veronika.Hadrava, Role:12865:Denis.Krasnogolov, Role:12866:Patrick.Keating, Role:12867:Roger.Horchow, Role:12868:Stephen.E..Miller, Role:12869:Xantha.Radley, Role:12870:Lorena.Gale, Role:12871:Donavon.Stinson, Role:12872:Dion.Johnstone, Role:12873:Sarah-Jane.Redmond, Role:12874:Christina.D'Alimonte, Role:12875:Vanesa.Tomasino, Role:12876:Luvia.Petersen, Role:12877:Babs.Chula, Role:12878:Marci.T..House, Role:12879:Joseph.Patrick.Finn, Role:12880:Beth.Siegler, Role:12881:Stacee.Copeland, Role:12882:Tom.Charron, Role:12883:Brent.O'Connor, Role:12884:Dave.Cote, Role:12885:Chris.Carter, Role:12886:Paul.Mitton, Role:12887:Vanessa.Morley, Role:12888:Michael.Stevens]
[Genre:9:Drama, Genre:30:Mystery, Genre:202:Science.Fiction, Genre:10:Thriller]
show
The X-Files
The X-Files focused on the exploits of FBI Agents Fox Mulder, Dana Scully, John Doggett and Monica Reyes and their investigations into the paranormal. From genetic mutants and killer insects to a global conspiracy concerning the colonization of Earth by an alien species, this mind-boggling, humorous and occasionally frightening series created by Chris Carter has been one of the world's most popular sci-fi/drama shows since its humble beginnings in 1993.
NA
NA
episode
The X-Files Pilot
Special Agent Dana Scully is partnered with Special Agent Fox Mulder to validate his work on a special project called the X-Files. While he is a believer in the paranormal fueled by a lost memory of his sister's abduction, she is a scientist and prefers to look for rational, logical explanations. Their first case takes them to Oregon to investigate the unsolved murders of several High School classmates who "Spooky" Mulder believes have been experimented on by aliens.
NA
NA
from python-plexapi.
I just tried the master branch and it works there. Can you try master?
from python-plexapi.
I'm using plexapi-2.0.2 from pip. Is that not the same version?
from python-plexapi.
It's not. You'll want to download and try the version directly from github if you're up for the task.
from python-plexapi.
I changed to that version and the output is the same. What code are you using that is giving you the results? I've tried both searching using plex.search(show) and getting the show with shows.get(show), and they both give me the same NA results I previously posted above.
from python-plexapi.
I used the same code as you did. I just used the master branch. Thats all.
from python-plexapi.
Got the same problem. Tried installing it with pip install git+https://github.com/mjs7231/python-plexapi.git
and get the NA object is not callable error when trying to get the stream url. (That should have installed the master branch, right ?)
Any ideas ?
Edit: Just saw that I'm not running the newest version of plex on my server. Can't update it currently but that could be the problem.
Edit : Tried it with a completely new install of plex (newest version). Still no luck
from python-plexapi.
@Hadjimina can you post the code you try to execute?
from python-plexapi.
Its simply example 8 with a different movie :
star_wars = plex.library.section('Movies').get('Star Wars: The Force Awakens') print 'Run running the following command to play in VLC:' print 'vlc "%s"' % star_wars.getStreamUrl(videoResolution='800x600')
The problem occurs with .getStreamUrl
from python-plexapi.
Can you post the log, it shouldnt pass na at all. na is used for missing attributes. Is na part of the URL or is it just na it returns?
from python-plexapi.
Where exactly would I find that log ?
from python-plexapi.
You need to set a logging path inside the config file. It should be in a .config folder in your home folder.
from python-plexapi.
Im going to close this one as we can't reproduce it, the whole NA thing is gone on 3.0.0 so the bug will be out of date, and there is not much we can do without the logging. Please reopen if you feel this issue still exists in some form on 3.0.0.
from python-plexapi.
Related Issues (20)
- feat: python class for available filters HOT 3
- Add support for Plex Profile Watch History and Ratings
- Library section lookup clobbered when multiple libraries have the same title
- editAlbum Missing ... HOT 1
- Unable to find Libraries after using PlexApi based python script. HOT 5
- locations is empty when casting to dict HOT 2
- Add 'merge' method for music albums
- Ability to Modify MovieHistory & EpisodeHistory details HOT 1
- Bad Request response when adding library with default language
- 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
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.