<commit_before># Plex Media Analyzer
This code can you help you find some interesting statistics on your Plex Media Server usage.
So far the code will tell you:

* How many shows you have
* How many episodes you have (for each show and in total)
* How many episodes you have watched
* How many hours of content you have (episodes)
* How many hours of content you have watched (episodes)

## Further additions
Wanna get some additional data from Plex? Add an issue and let me know

## Disclaimer
The code in this repository is generally just proof of concept.
I provide no guarentee that it works for you. Use the code in this repository at your own risk



## Usage
**Please note** that this code will not work if your Plex Media Server is password protected.

Get the latest copy of the source by cloning the repository

	git clone <EMAIL>:ksmandersen/Plex-Media-Analyzer.git
	
Navigate to the cloned directory and edit the following line in the ```plex.php´´´ file

	define('PLEX_URL', 'http://127.0.0.1:32400');
	
Fill in the IP address or the hostname of your Plex Media Server.
Open up your command line and navigate to the cloned directory and run the following command:

	php plex.php

## License
This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or<commit_msg>Added permissions section readme<commit_after># Plex Media Analyzer
This code can you help you find some interesting statistics on your Plex Media Server usage.
So far the code will tell you:

* How many shows you have
* How many episodes you have (for each show and in total)
* How many episodes you have watched
* How many hours of content you have (episodes)
* How many hours of content you have watched (episodes)

## Further additions
Wanna get some additional data from Plex? Add an issue and let me know

## Disclaimer
The code in this repository is generally just proof of concept.
I provide no guarentee that it works for you. Use the code in this repository at your own risk



## Usage
**Please note** that this code will not work if your Plex Media Server is password protected.

Get the latest copy of the source by cloning the repository

	git clone <EMAIL>:ksmandersen/Plex-Media-Analyzer.git
	
Navigate to the cloned directory and edit the following line in the ```plex.php´´´ file

	define('PLEX_URL', 'http://127.0.0.1:32400');
	
Fill in the IP address or the hostname of your Plex Media Server.
Open up your command line and navigate to the cloned directory and run the following command:

	php plex.php
	
If you have issues with running the script you might need to install php or change the permissions
of the script like so:

	chmod u+x plex.php

## License
This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
{'fraction_non_alphanumeric': 0.051255230125523014, 'fraction_numerical': 0.007670850767085077, 'mean_word_length': 4.206896551724138, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6139173', 'n_tokens_mistral': 794, 'n_tokens_neox': 747, 'n_words': 458}