Works great on ubuntu 15.10, the only issue is that the upstart daemon needs to be converted to systemd since upstart was killed off in 15.10.
Which, if anyone is interested, this is a copy of the file I’m using to auto-start on boot with systemd:
File Name: /lib/systemd/system/plexrequests.service
copy/paste below into ^ file:
Description=Systemd script to run PlexRequests as a service
After=network-online.target
[Service]
User=root
Group=root
Type=simple
Environment=statedir=/opt/PlexRequests/Release/
ExecStart=/usr/bin/mono ${statedir}/PlexRequests.exe 8990
TimeoutStopSec=20
[Install]
WantedBy=multi-user.target
Notes: 8990 is the port number, change as needed. I had some issues with requesting movies unless it was run as root, but I haven’t spent much time looking into it.
great job. loving the .net version
@cayars said:
@jaycedk said:
Hmm guess its important to read the instructions.
Right click the *.zip properties unblock. :-B
Before extractingI think I’m being dense. Just pulled down the zip and extracted it. Can’t find install or readme/directions anywhere. Anyone help?
Thanks,
Carlo
On Win systems, it is straightforward… You may have to set the compatibility to run as an Admin, but just double click.
Assuming you have Mono on your *nix system, same for that… I run Win10, so I’m not the one to give that advice…
I keep getting the following error:
PlexRequests.US has stopped working:
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: PlexRequests.exe
Problem Signature 02: 1.6.274.0
Problem Signature 03: 57124338
Problem Signature 04: RestSharp
Problem Signature 05: 105.2.3.0
Problem Signature 06: 55de4cc6
Problem Signature 07: 12f
Problem Signature 08: 7
Problem Signature 09: System.ApplicationException
OS Version: 6.3.9600.2.0.0.272.7
Locale ID: 1033
Additional Information 1: 5861
Additional Information 2: 5861822e1919d7c014bbb064c64908b2
Additional Information 3: 1318
Additional Information 4: 13181ae637ac2592fac0ca2dd662cdcc
And here is the CMD Window output:
Version: 1.6.1
Location of the database: C:\PlexRequests\Release\PlexRequests.sqlite
Request Plex is running on the following: http://+:3000/
Press any key to exit
Unhandled Exception: System.ApplicationException: Error retrieving response. Che
ck inner details for more info. —> System.InvalidCastException: Unable to cast
object of type ‘RestSharp.JsonArray’ to type 'System.Collections.Generic.IDicti
onary2[System.String,System.Object]'. at RestSharp.Deserializers.JsonDeserializer.CreateAndMap(Type type, Object element) at RestSharp.Deserializers.JsonDeserializer.ConvertValue(Type type, Object value) at RestSharp.Deserializers.JsonDeserializer.Map(Object target, IDictionary2data)
at RestSharp.Deserializers.JsonDeserializer.CreateAndMap(Type type, Object element)
at RestSharp.Deserializers.JsonDeserializer.ConvertValue(Type type, Object value)
at RestSharp.Deserializers.JsonDeserializer.Map(Object target, IDictionary2data) at RestSharp.Deserializers.JsonDeserializer.CreateAndMap(Type type, Object element) at RestSharp.Deserializers.JsonDeserializer.ConvertValue(Type type, Object value) at RestSharp.Deserializers.JsonDeserializer.BuildList(Type type, Object parent) at RestSharp.Deserializers.JsonDeserializer.ConvertValue(Type type, Object value) at RestSharp.Deserializers.JsonDeserializer.Map(Object target, IDictionary2data)
at RestSharp.Deserializers.JsonDeserializer.CreateAndMap(Type type, Object element)
at RestSharp.Deserializers.JsonDeserializer.ConvertValue(Type type, Object value)
at RestSharp.Deserializers.JsonDeserializer.Deserialize[T](IRestResponse response)
at RestSharp.RestClient.Deserialize[T](IRestRequest request, IRestResponse raw)
— End of inner exception stack trace —
at PlexRequests.Api.ApiRequest.Execute[T](IRestRequest request, Uri baseUri)
in C:\projects\requestplex\PlexRequests.Api\ApiRequest.cs:line 69
at PlexRequests.Api.CouchPotatoApi.GetMovies(Uri baseUrl, String apiKey, Stri
ng[] status) in C:\projects\requestplex\PlexRequests.Api\CouchPotatoApi.cs:line 125
at PlexRequests.Services.CouchPotatoCacher.Queued(Int64 check) in C:\projects
\requestplex\PlexRequests.Services\CouchPotatoCacher.cs:line 64
at System.Reactive.AnonymousSafeObserver1.OnNext(T value) at System.Reactive.Linq.ObservableImpl.Timer.TimerImpl.Tick(Int64 count) at System.Reactive.Concurrency.DefaultScheduler.<>c__DisplayClass91.b__7()
at System.Reactive.Concurrency.AsyncLock.Wait(Action action)
at System.Reactive.Concurrency.DefaultScheduler.<>c__DisplayClass9`1.b__6()
at System.Reactive.Concurrency.DefaultConcurrencyAbstractionLayer.PeriodicTimer.Tick(Object state)
at System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireQueuedTimerCompletion(Object state)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
My system is as follows:
OS: Windows Server 2012 R2 Standard
Processor: AMD Fx-6300 Six-Core Processor 3.50 GHz
RAM: 32GB
PlexRequests is running out of the following directory: C:\PlexRequests\Release
It will run for a few hours at most before crashing.
Could you please post this on GitHub as an issue? Thanks.
Just saw the new update, installed it fresh and when i go to set it up i can not setup the Authentication and it always shows update available. It also doesn’t exit now when you press any key on the command window.
@williamray507 said:
Just saw the new update, installed it fresh and when i go to set it up i can not setup the Authentication and it always shows update available.
Hi williamray,
The update bit is fixed, it seems that github didn’t want to parse my release name correctly.
What wrong with the Authentication?
It just pops up a message that says Something went wrong! I even manually put my auth token in and saved it and it still gives the same message.
@williamray507 said:
It just pops up a message that says Something went wrong! I even manually put my auth token in and saved it and it still gives the same message.
Ah got it, only happens with a reverse proxy setup. Must have missed that when testing!
I’m pushing 1.7.1 out with the fix within the next 10 mins
@tidusjar said:
Ah got it, only happens with a reverse proxy setup. Must have missed that when testing!I’m pushing 1.7.1 out with the fix within the next 10 mins
Wow, you sir are great.
I just installed 1.7.1 and I’m also getting “Something went wrong!” whenever I try to access the authentication tab
One small bug I found is that under the Sonarr profile I am unable to check the box for Enable Season Folders.
I have pushed a new release out fixing quite a few bugs, I have not seen that one william, I shall take a look.
@tidusjar said:
I have pushed a new release out fixing quite a few bugs, I have not seen that one william, I shall take a look.
After updating I was able to check the box under Sonarr Settings. One other thing, when someone requests something, I get a notification but when i go to look at them and approve/deny nothing shows up at all.
I can’t see any movie requests under the admin approve page. TV shows are displayed and work fine. And I can see the movies under the user requests page.
I suspect it has something to do with the fact that I can’t fetch the Quality Profiles from couchpotato. I can connect without issue though.
I have the same couchpotato setup with plex requests meteor and it works fine, I can approve etc.
@bnevets27 said:
I can’t see any movie requests under the admin approve page. TV shows are displayed and work fine. And I can see the movies under the user requests page.I suspect it has something to do with the fact that I can’t fetch the Quality Profiles from couchpotato. I can connect without issue though.
I have the same couchpotato setup with plex requests meteor and it works fine, I can approve etc.
So it wont fetch the quality profiles for you on the admin page? what does it say in the logs when you do this?
@tidusjar said:
@bnevets27 said:
I can’t see any movie requests under the admin approve page. TV shows are displayed and work fine. And I can see the movies under the user requests page.I suspect it has something to do with the fact that I can’t fetch the Quality Profiles from couchpotato. I can connect without issue though.
I have the same couchpotato setup with plex requests meteor and it works fine, I can approve etc.
So it wont fetch the quality profiles for you on the admin page? what does it say in the logs when you do this?
Correct, won’t fetch them on admin. I sent you my log via PM.
I was wondering, is there a limit per week option that can be applied to all or some users?
Is there a way to make this a channel so that my friends and family can access this in their apps and request stuff?