Commit graph

938 commits

Author SHA1 Message Date
Michael Shepanski
649dcf2cfd Implement __eq__ for NA; Test apostrophe in titles; Test fetching detailed metadata (using NA) 2016-03-14 00:19:48 -04:00
Håvard Gulldahl
1299c1811f Add support for Plex Playlists to server.py. Introduces the method PlexServer.playlists() 2016-02-03 19:17:09 +01:00
Håvard Gulldahl
42364b09b9 add list_items() method to list playlists and return Playlist objects 2016-02-03 19:16:39 +01:00
Håvard Gulldahl
6a99e1ef49 Add initial support for Plex Playlists 2016-02-03 19:07:53 +01:00
Håvard Gulldahl
b51d7548b5 Read .parentTitle element for class Track 2016-01-31 02:04:51 +01:00
Håvard Gulldahl
b6569dc6a3 Add preliminary session support 2016-01-30 00:13:57 +01:00
Håvard Gulldahl
382a4f45aa Add year attribute to albums 2016-01-30 00:02:00 +01:00
Håvard Gulldahl
ec8c20d0fa We need this fix to make sure .reload() doesn't pull the wrong objects from the server 2016-01-29 22:51:01 +01:00
Håvard Gulldahl
86a55ec673 Update .gitignore to forget .cache and .Python 2016-01-29 22:45:06 +01:00
Håvard Gulldahl
0229226448 add .searchAudio method to PlexServer, to specifically search for audio 2016-01-28 13:09:36 +01:00
Håvard Gulldahl
e437e857cd add titleSort for Artist 2016-01-28 13:08:57 +01:00
Håvard Gulldahl
9b286c2f0c Add Plex Audio to documents 2016-01-26 19:12:39 +01:00
Håvard Gulldahl
36b7252742 Get metadata like .media and .genres 2016-01-26 19:10:35 +01:00
Michael Shepanski
341c1c443c Update README.md 2016-01-25 23:45:16 -05:00
sebastientrosset
72ce96f987 Add original title 2016-01-19 21:38:08 +01:00
Håvard Gulldahl
23874f4555 Don't bother with extra metadata just yet 2016-01-19 14:28:35 +01:00
Håvard Gulldahl
f6a1f37a9a Be media agnostic in server.search()
In the long run we should probably merge the audio and video code paths
2016-01-19 11:59:00 +01:00
Håvard Gulldahl
668d5f67f1 Flesh out a .search() method for the MusicSection
This is more of a hack than a long run solution. We really should merge
the video and audio search code paths.
2016-01-19 11:58:10 +01:00
Håvard Gulldahl
9896965efa Remember to import new audio class in libary.py 2016-01-19 11:57:20 +01:00
Håvard Gulldahl
3ca226e897 Fix build_item() to deal with audio 2016-01-19 11:56:46 +01:00
Håvard Gulldahl
0b9509da27 Fix url endpoint of .getSTreamUrl() 2016-01-19 11:56:34 +01:00
Håvard Gulldahl
1c1592ec29 Add proper metadata for Audio, Artist and Track 2016-01-19 11:56:16 +01:00
Håvard Gulldahl
891d1b8ddd Don't fuss about pip or pyenv internals 2016-01-19 10:54:05 +01:00
Håvard Gulldahl
a50c9457af Rename .search() to .searchVideo, but keep the API for now
getting ready to add code to search both video and audio, but keep old
functionality intact for now
2016-01-19 10:53:10 +01:00
Håvard Gulldahl
9ca97c5fac Add searchAudio() method to Library
It will only search for audio content (Track, Album, Artist)
2016-01-19 10:50:31 +01:00
Håvard Gulldahl
1e28eebbf6 Add MusicSection,
with .search(), .searchAlbums() and .searchTracks() methods
2016-01-19 10:41:12 +01:00
Håvard Gulldahl
bbc6a036fb A naive copy of video.py, adding Album, Artist and Track classes 2016-01-19 10:31:45 +01:00
Michael Shepanski
f8c092393c Merge pull request #35 from charrea6/master
Fix missing check for None in __eq__
2015-12-06 15:58:08 -05:00
Adam Charrett
98ce3f0149 Fix missing check for None in __eq__ 2015-12-05 22:16:48 +00:00
bramwalet
bd47ea157d Update video.py: self.key already contains slash
self.key already contains a leading slash therefore this call to the Plex server will fail with 404 not found.
When the slash from the query location is removed, the call will succeed.
2015-11-22 12:55:50 +01:00
Michael Shepanski
e34f8cdbd4 Minor cleanup 2015-11-04 22:57:08 -05:00
Michael Shepanski
28081a23ba Merge pull request #27 from adrienbrault/devices
Get devices and implement play/navigation control
2015-11-04 22:54:44 -05:00
Michael Shepanski
430fb25658 Add is_watched property; Fix python3 bug in examples 2015-11-04 22:49:09 -05:00
Michael Shepanski
1c27b9afb6 Merge branch 'master' of https://github.com/mjs7231/python-plexapi 2015-11-04 21:10:13 -05:00
Michael Shepanski
4e3f178dcb Add transcodeSession information to playing Video 2015-11-04 21:10:10 -05:00
Michael Shepanski
c72058a668 Merge pull request #28 from blha303/patch-1
Plex needs the refresh to be a PUT request
2015-10-28 14:17:26 -04:00
Steven Smith
471a51d265 Plex needs the refresh to be a PUT request
Otherwise you get `plexapi.exceptions.BadRequest: (405) method_not_allowed`
2015-10-29 02:16:00 +08:00
Michael Shepanski
0fc4202e75 Up version number 2015-10-02 09:21:39 -04:00
Michael Shepanski
9dd520d032 Fix merge conflict 2015-10-02 09:18:44 -04:00
Michael Shepanski
60ba4b79dd Merge branch 'jmjordan-master' 2015-10-02 09:17:18 -04:00
Michael Shepanski
01f7852466 Merge branch 'master' of https://github.com/jmjordan/python-plexapi into jmjordan-master 2015-10-02 09:16:58 -04:00
Michael Shepanski
f4ce527a11 Merge pull request #23 from trtd/master
Python3 fixes / urllib, printing, dict access.  Sorry for the delay.
2015-10-02 09:09:10 -04:00
Adrien Brault
5e77480611 Get devices and implement play/navigation control 2015-09-29 21:34:04 +02:00
Michael Shepanski
168af4b6e1 Merge pull request #26 from a904guy/patch-1
python 3 build
2015-09-27 10:31:13 -04:00
Andy Hawkins — (̖̣͕̠̬̭̞̪̐̅ỉ̭̣͈̪̠ͮs̳̳̦̞̰̜̞̳͑͌͋ͪ̃̍ ̩̘́͑ͨ̈́̎̋ͮ͊̀ñ͔̣͓̬̈ͮͦ́ͫ͐͛ͅͅo̩̦̳̠̙̗̯̺̐͆̽t̜̥̻̙̟̼̜͂ͩ͋̅̈́ ̠̦̹̟͕͕̱͉͒͋̅́͐ā̟̻̱ͦ̒̍͋ ̗̞͚ͨͩ͊͂̉ͅh͔̼͚̩͚̪̝̝ͣa̫̫̒̓ͬc̦̲̳͍̹̃ͥͯk̲͕̗̖̤̙̜͍̊e̫͎̟̼̺̫̿r͙̰̊̑̿̅ͯͅ)̪̖͇̝̮̪͖̦͆̇ͧ͑̚
a56525742c py3 2015-09-27 04:13:06 -04:00
Jonathan Jordan
8b297109e2 Added protocol parameter to getStreamUrl for iOS/Quicktime support 2015-09-24 23:02:42 -04:00
Toomas Uudisaru
a03d67cfb4 Python3 fixes / urllib, printing, dict access
Python 3 fixes (compatible with Python 2):
- use urllib.parse module for quote() and urlencode() instead of urllib
- printing using parenthesis
- dict access: items() instead of iteritems(), keys() converted to list
- filter(): convert results to list
2015-09-05 17:09:15 +03:00
Michael Shepanski
8c0abf0b36 Update version 2015-08-30 21:00:44 -04:00
Michael Shepanski
b2c9a29d1e Update timeline() to use server.query to include proper headers and timeout 2015-08-30 20:59:25 -04:00
Michael Shepanski
457046f174 Convert filter back to list to make Python3 happy 2015-06-17 22:39:57 -04:00