{"id":21846151,"url":"https://github.com/owenvoke/plex-picker","last_synced_at":"2025-03-21T16:43:00.066Z","repository":{"id":62531400,"uuid":"79118120","full_name":"owenvoke/plex-picker","owner":"owenvoke","description":"A project to pick a video from your Plex library.","archived":false,"fork":false,"pushed_at":"2018-07-17T23:30:11.000Z","size":48,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-26T12:11:22.705Z","etag":null,"topics":["php-wrapper","plex-library","plex-picker","video"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/owenvoke.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-16T12:54:26.000Z","updated_at":"2018-02-22T11:35:26.000Z","dependencies_parsed_at":"2022-11-02T14:45:50.984Z","dependency_job_id":null,"html_url":"https://github.com/owenvoke/plex-picker","commit_stats":null,"previous_names":["pxgamer/plex-picker"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fplex-picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fplex-picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fplex-picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fplex-picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owenvoke","download_url":"https://codeload.github.com/owenvoke/plex-picker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244830922,"owners_count":20517589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php-wrapper","plex-library","plex-picker","video"],"created_at":"2024-11-27T23:13:07.743Z","updated_at":"2025-03-21T16:43:00.045Z","avatar_url":"https://github.com/owenvoke.png","language":"PHP","readme":"# plex-picker\n\n[![Latest Version on Packagist][ico-version]][link-packagist]\n[![Software License][ico-license]](LICENSE.md)\n[![Build Status][ico-travis]][link-travis]\n[![Style CI][ico-styleci]][link-styleci]\n[![Code Coverage][ico-code-quality]][link-code-quality]\n[![Total Downloads][ico-downloads]][link-downloads]\n\nA project to pick a video from your Plex library.\n\n## Structure\n\n```\nsrc/\ntests/\nvendor/\n```\n\n## Install\n\nVia Composer\n\n``` bash\n$ composer require pxgamer/plex-picker\n```\n\n## Usage\n\n```php\n\nuse \\pxgamer\\PlexPicker\\Picker;\n\n// Create a new Picker class\n$client = new Picker();\n\n// Create the data object\n$data = [\n    'unwatched' =\u003e 1, // You can search by watched/unwatched videos\n    'actor' =\u003e 1, // You can search by actor ID\n    'duplicate' =\u003e 1, // You can check for duplicates\n    'year' =\u003e 2017, // You can search by year\n];\n\n// In fact, you can use any of the filters.\n\n// Initialise the base URL of your server\n$client-\u003e_setBaseUrl('https://demo.plex.local:32400');\n\n// Set your token (will soon have a login function to get a token)\n$client-\u003esetToken('5KaVLQiL531414faD7PfZ3');\n\n// Set the data (using an array)\n$client-\u003esetData($data);\n\n// Get the list of videos from the server\n$client-\u003e_get();\n\n// Select the video\n$client-\u003echooseVideo();\n\necho 'Chosen Film: '. $client-\u003evideoData['title'] . ' (' . $client-\u003evideoData['year'] . ')';\n```\n\n## Change log\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Testing\n\n``` bash\n$ composer test\n```\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) and [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md) for details.\n\n## Security\n\nIf you discover any security related issues, please email owzie123@gmail.com instead of using the issue tracker.\n\n## Credits\n\n- [pxgamer][link-author]\n- [All Contributors][link-contributors]\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n[ico-version]: https://img.shields.io/packagist/v/pxgamer/plex-picker.svg?style=flat-square\n[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\n[ico-travis]: https://img.shields.io/travis/pxgamer/plex-picker/master.svg?style=flat-square\n[ico-styleci]: https://styleci.io/repos/79118120/shield\n[ico-code-quality]: https://img.shields.io/codecov/c/github/pxgamer/plex-picker.svg?style=flat-square\n[ico-downloads]: https://img.shields.io/packagist/dt/pxgamer/plex-picker.svg?style=flat-square\n\n[link-packagist]: https://packagist.org/packages/pxgamer/plex-picker\n[link-travis]: https://travis-ci.org/pxgamer/plex-picker\n[link-styleci]: https://styleci.io/repos/79118120\n[link-code-quality]: https://codecov.io/gh/pxgamer/plex-picker\n[link-downloads]: https://packagist.org/packages/pxgamer/plex-picker\n[link-author]: https://github.com/pxgamer\n[link-contributors]: ../../contributors\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowenvoke%2Fplex-picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowenvoke%2Fplex-picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowenvoke%2Fplex-picker/lists"}