{"id":17216169,"url":"https://github.com/mitchellaw/tautullisessionmanager","last_synced_at":"2025-03-25T13:25:15.179Z","repository":{"id":248211848,"uuid":"828084165","full_name":"MitchellAW/TautulliSessionManager","owner":"MitchellAW","description":"A basic script for terminating tautulli/plex sessions along with an error message.","archived":false,"fork":false,"pushed_at":"2024-07-13T05:00:58.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T12:24:03.045Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/MitchellAW.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-13T04:46:22.000Z","updated_at":"2025-01-29T03:21:21.000Z","dependencies_parsed_at":"2024-07-13T06:21:36.566Z","dependency_job_id":"b7732fe2-d51a-41d2-a46f-4177cc6fd237","html_url":"https://github.com/MitchellAW/TautulliSessionManager","commit_stats":null,"previous_names":["mitchellaw/tautullisessionmanager"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MitchellAW%2FTautulliSessionManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MitchellAW%2FTautulliSessionManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MitchellAW%2FTautulliSessionManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MitchellAW%2FTautulliSessionManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MitchellAW","download_url":"https://codeload.github.com/MitchellAW/TautulliSessionManager/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245469339,"owners_count":20620570,"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":[],"created_at":"2024-10-15T03:27:05.816Z","updated_at":"2025-03-25T13:25:15.138Z","avatar_url":"https://github.com/MitchellAW.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tautulli Session Notifier\n\nThis script terminates all running Plex sessions/streams and sends a \ncustomizable error message to the users using the Tautulli API.  \n\nI have developed this as a basic script to terminate all sessions and\nnotify any Plex users currently watching if the battery of my UPS is \nlow.\n\n## Example\n    \n*The error message will appear to the user as something like this:*  \n\n![Playback error shown to user](docs/images/example-message.png)\n\n\n## Configuration\n\n1. Create the configuration file:  \n    ```sh\n    cp config/config_example.json config/config.json\n    ```\n\n2. Update the tautulli URL with the url to your Tautulli instance:\n\n    e.g. `http://192.168.1.10:8181`\n\n3. Update the API key with your own API key for Tautulli:  \n\n    This can be found in `Settings -\u003e Web Interface -\u003e API -\u003e API key`\n\n4. Update the message you would like to send after terminating a user's \nsession.\n\n## Dependencies\n\n*Requires \u003e= Python 3.6+:*\n\n1. Create a virtual environment (Optional):  \n\n    ```sh\n    python -m venv .venv\n    ```\n\n2. Activate the virtual environment on Linux (Optional):  \n    ```sh\n    source .venv/bin/activate\n    ```\n\n2. Activate the virtual environment on Windows (Optional):\n    ```sh\n    .venv/Scripts/activate.ps1\n    ```\n3. Install the required dependencies:\n    ```sh\n    pip install -U -r requirements.txt`\n    ````\n\n\n## Running\n\nExecute the main python script:\n\n```sh\npython main.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellaw%2Ftautullisessionmanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitchellaw%2Ftautullisessionmanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellaw%2Ftautullisessionmanager/lists"}