Jump to content

New Plugin: Simkl Scrobbler


Recommended Posts

Posted
1 minute ago, Ichika said:

after this the time and ssl should be ok. Did you try the plugin?
 

Yes, it don't work

Posted
3 hours ago, Przemek said:

Yes, it don't work

can you post here a log again? 

Posted

updated to the version 1.0.4 with different bug\crash fixes

Posted
10 hours ago, Ichika said:

updated to the version 1.0.4 with different bug\crash fixes

I reinstall plugin and try another time but still the same issue.

embyserver (1).txt

Posted (edited)
4 hours ago, Przemek said:

I reinstall plugin and try another time but still the same issue.

embyserver (1).txt 98.6 kB · 1 download

checked your log. Version 1.0.4 loaded fine without any errors. But there isn't any attempts to fetch the PIN or any request from the plugin. And it looks like you have not very fast server. After the server restart it need about 3 minutes to load all plugins. 
Did you try to log in via plugin after 5 minutes from restart? If it's  not hard for you, can you send here your logs again after this.

Edited by Ichika
Posted
4 minutes ago, Ichika said:

But there isn't any attempts to fetch the PIN or any request from the plugin. And it looks like you have not very fast server. After the server restart it need about 3 minutes to load all plugins. 
Did you try to log in via plugin after 5 minutes from restart? If it's  not hard for you, can you send here your logs again after this.

Hi, I try now but still nothing happen. Only button highlights. Meybe that's why there's nothing in logs. When I click register it redirect me to simkl page.

Posted

never had the bug with button itself, we use standard emby buttons. Mb u have a problem with your browser? did you try to change it and test the button?

Posted
8 hours ago, Przemek said:

Hi, I try now but still nothing happen. Only button highlights. Meybe that's why there's nothing in logs. When I click register it redirect me to simkl page.

If you're using Cloudflare instead of local, make sure to disable caching or use localIP:Port to access the plugin setup instead of the Nginx reverse proxy

Posted
8 hours ago, Simkl said:

If you're using Cloudflare instead of local, make sure to disable caching or use localIP:Port to access the plugin setup instead of the Nginx reverse proxy

Hi, I don't use cloudflare. I use Nginx Proxy Manager. I try with local address and now error appear like in screenshot.

Screenshot_2023-04-13-08-23-24-10_e4424258c8b8649f6e67d283a50a2cbc.jpg

Posted
19 minutes ago, Simkl said:

And what's the log after that?

Hi, I'm on laptop now. I see in log that error:
`Error Simkl Scrobbler: Can't scrobble: User Sanbalator not logged in (True)`
That is wrong user. He don't even know what is Simkl.

embyserver (1).txt

Posted
27 minutes ago, Przemek said:

Hi, I'm on laptop now. I see in log that error:
`Error Simkl Scrobbler: Can't scrobble: User Sanbalator not logged in (True)`
That is wrong user. He don't even know what is Simkl.

embyserver (1).txt 15.23 MB · 0 downloads

you have this error after click on "Log In" button?

Posted
Just now, Ichika said:

you have this error after click on "Log In" button?

I don't remember. But that I find connected to Simkl.

samuelqwe
Posted
8 hours ago, Przemek said:

Hi, I'm on laptop now. I see in log that error:
`Error Simkl Scrobbler: Can't scrobble: User Sanbalator not logged in (True)`
That is wrong user. He don't even know what is Simkl.

On the plugin page, have you tried changing to a different user then back to yours? When you first open the plugin page, it doesn't always show the right data for the selected user. You need to manually choose a different user in the dropdown for the screen to start showing the correct information.

Posted
6 hours ago, samuelqwe said:

On the plugin page, have you tried changing to a different user then back to yours? When you first open the plugin page, it doesn't always show the right data for the selected user. You need to manually choose a different user in the dropdown for the screen to start showing the correct information.

Hi, I use my user that I'm logged in. You can see at screenshot above.

Posted
22 hours ago, Przemek said:

I don't remember. But that I find connected to Simkl.

after you clicked on log in you have to see the pin url, then you visit it and go back to the server page. Then you will see Log OUT button.. 
If you are clicking on standard Log IN button and nothing is happening + no any records in the log.  Looks like you have
1. problem with the browser (blocker, no js access etc..)
2. problem with Nginx Proxy Manager, it cuts\filter the button JS
No other options

Posted
25 minutes ago, Ichika said:

after you clicked on log in you have to see the pin url, then you visit it and go back to the server page. Then you will see Log OUT button.. 
If you are clicking on standard Log IN button and nothing is happening + no any records in the log.  Looks like you have
1. problem with the browser (blocker, no js access etc..)
2. problem with Nginx Proxy Manager, it cuts\filter the button JS
No other options

I try with chrome, brave and Firefox. Meybe it's my NPM make that issue.

  • 3 months later...
smokey7722
Posted (edited)

Is this plugin still being maintained?  I'm finding that multiple times a week Emby server (Windows 4.7.13.0 is crashing) with 1.0.4.0 for the plugin and an unhandled log file is created with details similar to the following.

System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
   at Simkl.Services.Scrobbler.embyPlaybackProgress(Object sessions, PlaybackProgressEventArgs e)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
   at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
   at System.Threading.QueueUserWorkItemCallback.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
Source: Simkl
TargetSite: Void MoveNext()

 

 The primary Emby log really doesn't show anything that seems detailed other than the crash.

2023-08-08 19:16:29.573 Error GlobalExceptionHandler: UnhandledException
	*** Error Report ***
	Version: 4.7.13.0
	Command line: C:\Users\user\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 10.0.17763
	Framework: .NET 6.0.16
	OS/Process: x64/x64
	Runtime: C:/Users/user/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: C:\Users\user\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\user\AppData\Roaming\Emby-Server\system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at Simkl.Services.Scrobbler.embyPlaybackProgress(Object sessions, PlaybackProgressEventArgs e)
	   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
	   at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
	   at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
	   at System.Threading.QueueUserWorkItemCallback.Execute()
	   at System.Threading.ThreadPoolWorkQueue.Dispatch()
	   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
	Source: Simkl
	TargetSite: Void MoveNext()
	
2023-08-08 19:16:29.576 Info Main: Closing tray icon
2023-08-08 19:16:29.576 Info Main: Closing tray icon
2023-08-08 19:16:29.576 Info HttpClient: POST http://127.0.0.1:8024/exit
2023-08-08 19:16:29.576 Info HttpClient: POST http://127.0.0.1:8024/exit
2023-08-08 19:16:29.596 Info Main: tray icon WaitForExit
2023-08-08 19:16:29.596 Info Main: tray icon WaitForExit
2023-08-08 19:16:29.818 Debug App: GenreImageProvider reports change to 439 - 
2023-08-08 19:16:29.818 Debug App: Running GenreImageProvider for Variety
2023-08-08 19:16:29.895 Debug App: GenreImageProvider reports change to 396 - 
2023-08-08 19:16:29.895 Debug App: Running GenreImageProvider for Religious
2023-08-08 19:16:29.919 Info Main: tray icon exited
2023-08-08 19:16:29.919 Info Main: tray icon exited

 

Edited by smokey7722
Posted
On 8/10/2023 at 1:51 AM, smokey7722 said:

Is this plugin still being maintained?  I'm finding that multiple times a week Emby server (Windows 4.7.13.0 is crashing) with 1.0.4.0 for the plugin and an unhandled log file is created with details similar to the following.

System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
   at Simkl.Services.Scrobbler.embyPlaybackProgress(Object sessions, PlaybackProgressEventArgs e)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
   at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
   at System.Threading.QueueUserWorkItemCallback.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
Source: Simkl
TargetSite: Void MoveNext()

 

 The primary Emby log really doesn't show anything that seems detailed other than the crash.

2023-08-08 19:16:29.573 Error GlobalExceptionHandler: UnhandledException
	*** Error Report ***
	Version: 4.7.13.0
	Command line: C:\Users\user\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 10.0.17763
	Framework: .NET 6.0.16
	OS/Process: x64/x64
	Runtime: C:/Users/user/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: C:\Users\user\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\user\AppData\Roaming\Emby-Server\system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at Simkl.Services.Scrobbler.embyPlaybackProgress(Object sessions, PlaybackProgressEventArgs e)
	   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
	   at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
	   at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
	   at System.Threading.QueueUserWorkItemCallback.Execute()
	   at System.Threading.ThreadPoolWorkQueue.Dispatch()
	   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
	Source: Simkl
	TargetSite: Void MoveNext()
	
2023-08-08 19:16:29.576 Info Main: Closing tray icon
2023-08-08 19:16:29.576 Info Main: Closing tray icon
2023-08-08 19:16:29.576 Info HttpClient: POST http://127.0.0.1:8024/exit
2023-08-08 19:16:29.576 Info HttpClient: POST http://127.0.0.1:8024/exit
2023-08-08 19:16:29.596 Info Main: tray icon WaitForExit
2023-08-08 19:16:29.596 Info Main: tray icon WaitForExit
2023-08-08 19:16:29.818 Debug App: GenreImageProvider reports change to 439 - 
2023-08-08 19:16:29.818 Debug App: Running GenreImageProvider for Variety
2023-08-08 19:16:29.895 Debug App: GenreImageProvider reports change to 396 - 
2023-08-08 19:16:29.895 Debug App: Running GenreImageProvider for Religious
2023-08-08 19:16:29.919 Info Main: tray icon exited
2023-08-08 19:16:29.919 Info Main: tray icon exited

 

Updated the plugin to 1.0.5, try it and don't forget to restart the server. 
Shouldn't be not caught errors anymore

smokey7722
Posted
1 hour ago, Ichika said:

Updated the plugin to 1.0.5, try it and don't forget to restart the server. 
Shouldn't be not caught errors anymore

Updated and I'll report back if I run into any further issues!  Thanks!

  • 1 month later...
David Patt
Posted (edited)

Get this error

 

2023-10-08 17:29:38.631 Warn Server: AUTH-ERROR:  - Access token is invalid or expired.
2023-10-08 17:29:38.631 Error Server: Access token is invalid or expired.
Edited by David Patt
Posted
13 hours ago, David Patt said:

Get this error

 

2023-10-08 17:29:38.631 Warn Server: AUTH-ERROR:  - Access token is invalid or expired.
2023-10-08 17:29:38.631 Error Server: Access token is invalid or expired.

Hi, please attach the complete Emby server log file. Thanks.

Posted
12 hours ago, David Patt said:

Hi, this entire log file is on one line. Did you save it using some kind of notes app? Please instead just save it to a txt file using the Emby Server web interface in the Logs section. Then attach that txt file here. Thanks.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...