mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
Added #436
This commit is contained in:
parent
2105ee9073
commit
236024e4ae
5 changed files with 33 additions and 16 deletions
|
@ -242,6 +242,10 @@ namespace PlexRequests.Services.Jobs
|
||||||
public bool IsEpisodeAvailable(string theTvDbId, int season, int episode)
|
public bool IsEpisodeAvailable(string theTvDbId, int season, int episode)
|
||||||
{
|
{
|
||||||
var episodes = Cache.Get<List<PlexEpisodeModel>>(CacheKeys.PlexEpisodes);
|
var episodes = Cache.Get<List<PlexEpisodeModel>>(CacheKeys.PlexEpisodes);
|
||||||
|
if (episodes == null)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
foreach (var result in episodes)
|
foreach (var result in episodes)
|
||||||
{
|
{
|
||||||
if (result.Episodes.ProviderId.Equals(theTvDbId) && result.Episodes.EpisodeNumber == episode && result.Episodes.SeasonNumber == season)
|
if (result.Episodes.ProviderId.Equals(theTvDbId) && result.Episodes.EpisodeNumber == episode && result.Episodes.SeasonNumber == season)
|
||||||
|
|
|
@ -351,10 +351,8 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script id="seasonNumber-template" type="text/x-handlebars-template">
|
<script id="seasonNumber-template" type="text/x-handlebars-template">
|
||||||
<br />
|
|
||||||
<br />
|
<div id="seasonNumber{{seasonNumber}}" class="col-md-12">
|
||||||
<br />
|
|
||||||
<div id="seasonNumber{{seasonNumber}}">
|
|
||||||
<strong>@UI.Search_Season {{seasonNumber}}</strong>
|
<strong>@UI.Search_Season {{seasonNumber}}</strong>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav class="navbar navbar-default">
|
<nav class="navbar navbar-default navbar-fixed-top">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
@Html.Partial("Shared/Partial/_Navbar")
|
@Html.Partial("Shared/Partial/_Navbar")
|
||||||
|
|
||||||
<div class="container">
|
<div class="container" style="padding-top: 5%">
|
||||||
@RenderBody()
|
@RenderBody()
|
||||||
</div>
|
</div>
|
||||||
<div class="scroll-top-wrapper ">
|
<div class="scroll-top-wrapper ">
|
||||||
|
|
35
README.md
35
README.md
|
@ -14,24 +14,41 @@ I wanted to write a similar application in .Net!
|
||||||
|
|
||||||
# Features
|
# Features
|
||||||
|
|
||||||
* Movie and TV Show searching, can't find something on Plex? Just request it!
|
Here some of the features Plex Requests.Net has:
|
||||||
* Notifications! Get notified via Email, Pushbullet and Pushover for new requests and issue reports!
|
* All your users to Request Movies, TV Shows (Whole series, whole seaons or even single episodes!) and Albums
|
||||||
* Send your TV Shows to either [Sonarr](https://sonarr.tv/) or [SickRage](http://www.sickrage.ca/)!
|
* Easily manage your requests
|
||||||
|
* Allow your users to report issues and manage them seperatly
|
||||||
|
* A landing page that will give you the availability of your Plex server and also add custom notification text to inform your users of downtime.
|
||||||
|
* Allow your users to get notifications!
|
||||||
* Secure authentication so you don't have to worry about those script kiddies
|
* Secure authentication so you don't have to worry about those script kiddies
|
||||||
* We check to see if the request is already in Plex, if it's already in Plex then why you requesting it?!
|
* We check to see if the request is already in Plex, if it's already in Plex then why you requesting it?!
|
||||||
* We have allowed the ability for a user to add a custom note on a request
|
* We have allowed the ability for a user to add a custom note on a request
|
||||||
* It automatically update the status of requests when they are available on Plex
|
* It automatically update the status of requests when they are available on Plex
|
||||||
* Slick, responsive and mobile friendly UI
|
* Slick, responsive and mobile friendly UI
|
||||||
* Headphones integration!
|
|
||||||
* Ability to run with a reverse proxy!
|
### Integration
|
||||||
|
We integrate with the following applications:
|
||||||
|
* Plex (Obviously!)
|
||||||
|
* Sonarr
|
||||||
|
* SickRage
|
||||||
|
* CouchPotato
|
||||||
|
* Headphones
|
||||||
|
|
||||||
|
### Notifications
|
||||||
|
Supported notifications:
|
||||||
|
* SMTP Notifications (Email)
|
||||||
|
* Pushbullet
|
||||||
|
* Pushover
|
||||||
|
* Slack
|
||||||
|
|
||||||
|
|
||||||
# Preview
|
# Preview
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
#Installation
|
# Installation
|
||||||
|
|
||||||
[Windows Guide!](http://www.htpcguides.com/install-plex-requests-net-windows-system-service/)
|
[Windows Guide!](http://www.htpcguides.com/install-plex-requests-net-windows-system-service/)
|
||||||
[Ubuntu Guide!](http://www.htpcguides.com/install-plex-requests-net-ubuntu-14-x/)
|
[Ubuntu Guide!](http://www.htpcguides.com/install-plex-requests-net-ubuntu-14-x/)
|
||||||
|
|
||||||
# FAQ
|
# FAQ
|
||||||
|
@ -50,9 +67,7 @@ Please feed free to submit a pull request!
|
||||||
# Donation
|
# Donation
|
||||||
If you feel like donating you can [here!](https://paypal.me/PlexRequestsNet)
|
If you feel like donating you can [here!](https://paypal.me/PlexRequestsNet)
|
||||||
|
|
||||||
## A massive thanks to everyone below for all their help!
|
### A massive thanks to everyone for all their help!
|
||||||
|
|
||||||
[heartisall](https://github.com/heartisall), [Stuke00](https://github.com/Stuke00), [shiitake](https://github.com/shiitake), [Drewster727](https://github.com/Drewster727), Majawat, [EddiYo](https://github.com/EddiYo), [SaskiFX](https://github.com/SaskiFX), [zenjabba](https://github.com/zenjabba)
|
|
||||||
|
|
||||||
## Stats
|
## Stats
|
||||||
[](https://waffle.io/tidusjar/PlexRequests.Net/metrics/throughput)
|
[](https://waffle.io/tidusjar/PlexRequests.Net/metrics/throughput)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue