Jump to content

BlurN — Blu-Ray Release Notifications


mutu310

Recommended Posts

CBers

@@mutu310 - Any chance of adding the IMDB link into the email please, as it's then easier to view the information.

 

Also, can you add an option so that we choose either notifications within the Emby dashboard or emails, or both please?

 

Thanks.

Link to comment
Share on other sites

mutu310

@@mutu310 - Any chance of adding the IMDB link into the email please, as it's then easier to view the information.

 

Also, can you add an option so that we choose either notifications within the Emby dashboard or emails, or both please?

 

Thanks.

What emails are you referring to please? Not sure what your setup looks like.
Link to comment
Share on other sites

CBers

What emails are you referring to please? Not sure what your setup looks like.

The emails I receive from the plugin.

Link to comment
Share on other sites

mutu310

The emails I receive from the plugin.

 

The plugin doesn't send any emails. You must have another plugin doing it, like "Email Notifications" perhaps? I am sending the IMDb URL as the link to the notification. In fact if you log in to Emby and check out the notifications from there, if you click on a notification from BlurN you will get the IMDb page opening up. It's the Email Notifications that should be smart enough to send the hyperlink somewhere in the body, otherwise I would have to include it in my notifications but it would mean that it would show up as text for everyone. Not sure if you understood me, but as far as I can tell Emby only allows users to customize the notification titles. As such I can make including the IMDb URL in the notification title, would that help? Most email clients don't hyperlink URLs in the email subject so you'd probably need to stay copying and pasting it into your web browser address bar.

Link to comment
Share on other sites

CBers

OK, looks like I misunderstood what was happening - first day user :)

 

If you click on the "Change BlurN notification settings", 

 

5992f72599838_Screenshot20170815at142715

 

it opens the Notifications settings page, so it "feels" as though it's the same plugin:

 

5992f7459bcea_Screenshot20170815at142609

 

It's not including the URL in the email.

 

Getting the email with the IMDB link in makes it easier to open in the app on my phone and adding it to my watchlist etc.

 

Not sure if you and/or Luke can somehow get the url added to the email ??

 

Thanks.

Link to comment
Share on other sites

PenkethBoy

Could you kindly confirm whether or not the new version (1.2.0.8) fixes this problem for you?

Yes just did a manual install and 1.2.0.8 does fix the issue

 

Thanks

  • Like 1
Link to comment
Share on other sites

mutu310

I have branched BlurN into a version pre Emby Server 3.2.27.0 and a version for 3.2.27.0 or later. For now, BlurN releases will be in the form x.x.x.26 for pre-3.2.27.0 and x.x.x.27 for 3.2.27.0 or later.

 

Version 1.2.1.2x released:

- Code cleaning

- Added new IMDbURL notification variable option

- Fixed end tracking for channel viewing.

  • Like 1
Link to comment
Share on other sites

mutu310

OK, looks like I misunderstood what was happening - first day user :)

 

If you click on the "Change BlurN notification settings", 

 

5992f72599838_Screenshot20170815at142715

 

it opens the Notifications settings page, so it "feels" as though it's the same plugin:

 

5992f7459bcea_Screenshot20170815at142609

 

It's not including the URL in the email.

 

Getting the email with the IMDB link in makes it easier to open in the app on my phone and adding it to my watchlist etc.

 

Not sure if you and/or Luke can somehow get the url added to the email ??

 

Thanks.

 

If you update to version 1.2.1.2x, you will get a token called {IMDbURL} which you can add in your email subject.

Link to comment
Share on other sites

mutu310

Thanks, but the URL gets added to the SUBJECT not the body.

 

Unfortunately, Emby Server does not allow users to customize notification bodies in the same way as the notification titles/subjects. Therefore, if I was to add the URL there it would show up in the web interface, Pushover notifications etc where it wouldn't be neat. I have opened a new thread at https://emby.media/community/index.php?/topic/50006-email-notifications-issue/ because I believe this should be fixed from Email Notifications' end.

Edited by mutu310
Link to comment
Share on other sites

CBers

I saw your post and replied.

 

How does the current BODY content get added into the email then ??

Link to comment
Share on other sites

mutu310

I saw your post and replied.

 

How does the current BODY content get added into the email then ??

 

The developer defines what gets added to the body, but I can't offer customization through the same interface that allows you to customize the subject.

Link to comment
Share on other sites

CBers

The developer defines what gets added to the body, but I can't offer customization through the same interface that allows you to customize the subject.

Well can you include the IMDB link in the body on a separate line then please?

 

Don't need any other customisation, at the moment :)

 

Thanks.

Link to comment
Share on other sites

mutu310

OK, so it's not a case of you can't, but you don't want to, as it may affect other notification plugins?

 

It's not a 'may', it's a 'would' unfortunately.

Link to comment
Share on other sites

CBers

It's not a 'may', it's a 'would' unfortunately.

OK, fair enough.

 

Hopefully Luke or @@ebr can do something that allows this.

Link to comment
Share on other sites

mutu310

Version 1.2.2.2x released:


- Fixed latest version checker for 1.2.2.26 (versions pre-Emby Server 3.2.27.0)


Link to comment
Share on other sites

TheTabman

Your plugin sound really nice, but sadly:

I just installed you plugin, but when I try to manually trigger the "Refresh New Releases" task, I get only a "failure" and this error message in the server log:

2017-08-19 09:35:53.2158 Info TaskManager: Executing Refresh new releases
2017-08-19 09:35:53.2158 Info HttpServer: HTTP Response 204 to 192.168.0.100. Time: 0ms. http://192.168.0.103:8096/emby/ScheduledTasks/Running/d9e85cd050032be301f3485652760f32 
2017-08-19 09:35:53.2158 Info HttpClient: HttpClientManager GET: http://www.blu-ray.com/rss/newreleasesfeed.xml
2017-08-19 09:35:53.2626 Info HttpServer: HTTP GET http://192.168.0.103:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
2017-08-19 09:35:53.2626 Info HttpServer: HTTP Response 200 to 192.168.0.100. Time: 0ms. http://192.168.0.103:8096/emby/ScheduledTasks?isHidden=false 
2017-08-19 09:35:54.9786 Error TaskManager: Error
	*** Error Report ***
	Version: 3.2.27.0
	Command line: C:\emby.windows\System\MediaBrowser.ServerApplication.exe -service
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	64-Bit OS: True
	64-Bit Process: True
	Processor count: 2
	Program data path: C:\emby.windows
	Application directory: C:\emby.windows\System
	System.ArgumentNullException: Value cannot be null.
	Parameter name: key
	   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
	   at MediaBrowser.Channels.BlurN.Helpers.Library.BuildLibraryDictionary(CancellationToken cancellationToken, ILibraryManager libraryManager, InternalItemsQuery query)
	   at MediaBrowser.Channels.BlurN.ScheduledTasks.RefreshNewReleases.<Execute>d__22.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
	System.ArgumentNullException
	   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
	   at MediaBrowser.Channels.BlurN.Helpers.Library.BuildLibraryDictionary(CancellationToken cancellationToken, ILibraryManager libraryManager, InternalItemsQuery query)
	   at MediaBrowser.Channels.BlurN.ScheduledTasks.RefreshNewReleases.<Execute>d__22.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
	
2017-08-19 09:35:54.9786 Info TaskManager: Refresh new releases Failed after 0 minute(s) and 1 seconds
2017-08-19 09:35:54.9786 Info ServerManager: Sending web socket message NotificationAdded
2017-08-19 09:35:54.9786 Info ServerManager: Sending web socket message ScheduledTaskEnded
2017-08-19 09:35:54.9786 Info TaskManager: ExecuteQueuedTasks

If you need more info to help me solve this, please just tell me so.

Thanks.

Edited by TheTabman
Link to comment
Share on other sites

mutu310

Your plugin sound really nice, but sadly:

I just installed you plugin, but when I try to manually trigger the "Refresh New Releases" task, I get only a "failure" and this error message in the server log:

2017-08-19 09:35:53.2158 Info TaskManager: Executing Refresh new releases
2017-08-19 09:35:53.2158 Info HttpServer: HTTP Response 204 to 192.168.0.100. Time: 0ms. http://192.168.0.103:8096/emby/ScheduledTasks/Running/d9e85cd050032be301f3485652760f32 
2017-08-19 09:35:53.2158 Info HttpClient: HttpClientManager GET: http://www.blu-ray.com/rss/newreleasesfeed.xml
2017-08-19 09:35:53.2626 Info HttpServer: HTTP GET http://192.168.0.103:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
2017-08-19 09:35:53.2626 Info HttpServer: HTTP Response 200 to 192.168.0.100. Time: 0ms. http://192.168.0.103:8096/emby/ScheduledTasks?isHidden=false 
2017-08-19 09:35:54.9786 Error TaskManager: Error
	*** Error Report ***
	Version: 3.2.27.0
	Command line: C:\emby.windows\System\MediaBrowser.ServerApplication.exe -service
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	64-Bit OS: True
	64-Bit Process: True
	Processor count: 2
	Program data path: C:\emby.windows
	Application directory: C:\emby.windows\System
	System.ArgumentNullException: Value cannot be null.
	Parameter name: key
	   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
	   at MediaBrowser.Channels.BlurN.Helpers.Library.BuildLibraryDictionary(CancellationToken cancellationToken, ILibraryManager libraryManager, InternalItemsQuery query)
	   at MediaBrowser.Channels.BlurN.ScheduledTasks.RefreshNewReleases.<Execute>d__22.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
	System.ArgumentNullException
	   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
	   at MediaBrowser.Channels.BlurN.Helpers.Library.BuildLibraryDictionary(CancellationToken cancellationToken, ILibraryManager libraryManager, InternalItemsQuery query)
	   at MediaBrowser.Channels.BlurN.ScheduledTasks.RefreshNewReleases.<Execute>d__22.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
	
2017-08-19 09:35:54.9786 Info TaskManager: Refresh new releases Failed after 0 minute(s) and 1 seconds
2017-08-19 09:35:54.9786 Info ServerManager: Sending web socket message NotificationAdded
2017-08-19 09:35:54.9786 Info ServerManager: Sending web socket message ScheduledTaskEnded
2017-08-19 09:35:54.9786 Info TaskManager: ExecuteQueuedTasks

If you need more info to help me solve this, please just tell me so.

Thanks.

 

What is your version of BlurN please?

Link to comment
Share on other sites

mutu310

Emby Server BETA users, please note that due to this issue, notifications are not working. The issue does not affect stable versions, for now.

Edited by mutu310
Link to comment
Share on other sites

TheTabman

What is your version of BlurN please?

 

1.2.2.27 - at that time the version available in the official plug-in catalogue when I installed it, shortly before making my post.

 

I have just updated to 1.2.3.27 but still get the "failed" error message

Relevant log section:

2017-08-19 18:33:57.2541 Info TaskManager: Executing Refresh new releases
2017-08-19 18:33:57.2541 Info HttpServer: HTTP Response 204 to 192.168.0.100. Time: 0ms. http://192.168.0.103:8096/emby/ScheduledTasks/Running/d9e85cd050032be301f3485652760f32 
2017-08-19 18:33:57.3477 Info HttpClient: HttpClientManager GET: http://www.blu-ray.com/rss/newreleasesfeed.xml
2017-08-19 18:33:57.3477 Info HttpServer: HTTP GET http://192.168.0.103:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
2017-08-19 18:33:57.3477 Info HttpServer: HTTP Response 200 to 192.168.0.100. Time: 0ms. http://192.168.0.103:8096/emby/ScheduledTasks?isHidden=false 
2017-08-19 18:33:57.4257 Info HttpServer: HTTP GET http://192.168.0.103:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
2017-08-19 18:33:57.4257 Info HttpServer: HTTP Response 200 to 192.168.0.100. Time: 0ms. http://192.168.0.103:8096/emby/ScheduledTasks?isHidden=false 
2017-08-19 18:34:02.3865 Info HttpServer: HTTP GET http://192.168.0.103:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
2017-08-19 18:34:02.3865 Info HttpServer: HTTP Response 200 to 192.168.0.100. Time: 0ms. http://192.168.0.103:8096/emby/ScheduledTasks?isHidden=false 
2017-08-19 18:34:04.7889 Error TaskManager: Error
	*** Error Report ***
	Version: 3.2.27.0
	Command line: C:\emby.windows\System\MediaBrowser.ServerApplication.exe -service
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	64-Bit OS: True
	64-Bit Process: True
	Processor count: 2
	Program data path: C:\emby.windows
	Application directory: C:\emby.windows\System
	System.ArgumentNullException: Value cannot be null.
	Parameter name: key
	   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
	   at MediaBrowser.Channels.BlurN.Helpers.Library.BuildLibraryDictionary(CancellationToken cancellationToken, ILibraryManager libraryManager, InternalItemsQuery query)
	   at MediaBrowser.Channels.BlurN.ScheduledTasks.RefreshNewReleases.<Execute>d__22.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
	System.ArgumentNullException
	   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
	   at MediaBrowser.Channels.BlurN.Helpers.Library.BuildLibraryDictionary(CancellationToken cancellationToken, ILibraryManager libraryManager, InternalItemsQuery query)
	   at MediaBrowser.Channels.BlurN.ScheduledTasks.RefreshNewReleases.<Execute>d__22.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
	
2017-08-19 18:34:04.7889 Info TaskManager: Refresh new releases Failed after 0 minute(s) and 7 seconds
2017-08-19 18:34:04.8513 Info ServerManager: Sending web socket message NotificationAdded
2017-08-19 18:34:04.8513 Info ServerManager: Sending web socket message ScheduledTaskEnded
2017-08-19 18:34:04.8513 Info TaskManager: ExecuteQueuedTasks
Link to comment
Share on other sites

mutu310

1.2.2.27 - at that time the version available in the official plug-in catalogue when I installed it, shortly before making my post.

 

I have just updated to 1.2.3.27 but still get the "failed" error message

Relevant log section:

2017-08-19 18:33:57.2541 Info TaskManager: Executing Refresh new releases
2017-08-19 18:33:57.2541 Info HttpServer: HTTP Response 204 to 192.168.0.100. Time: 0ms. http://192.168.0.103:8096/emby/ScheduledTasks/Running/d9e85cd050032be301f3485652760f32 
2017-08-19 18:33:57.3477 Info HttpClient: HttpClientManager GET: http://www.blu-ray.com/rss/newreleasesfeed.xml
2017-08-19 18:33:57.3477 Info HttpServer: HTTP GET http://192.168.0.103:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
2017-08-19 18:33:57.3477 Info HttpServer: HTTP Response 200 to 192.168.0.100. Time: 0ms. http://192.168.0.103:8096/emby/ScheduledTasks?isHidden=false 
2017-08-19 18:33:57.4257 Info HttpServer: HTTP GET http://192.168.0.103:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
2017-08-19 18:33:57.4257 Info HttpServer: HTTP Response 200 to 192.168.0.100. Time: 0ms. http://192.168.0.103:8096/emby/ScheduledTasks?isHidden=false 
2017-08-19 18:34:02.3865 Info HttpServer: HTTP GET http://192.168.0.103:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
2017-08-19 18:34:02.3865 Info HttpServer: HTTP Response 200 to 192.168.0.100. Time: 0ms. http://192.168.0.103:8096/emby/ScheduledTasks?isHidden=false 
2017-08-19 18:34:04.7889 Error TaskManager: Error
	*** Error Report ***
	Version: 3.2.27.0
	Command line: C:\emby.windows\System\MediaBrowser.ServerApplication.exe -service
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	64-Bit OS: True
	64-Bit Process: True
	Processor count: 2
	Program data path: C:\emby.windows
	Application directory: C:\emby.windows\System
	System.ArgumentNullException: Value cannot be null.
	Parameter name: key
	   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
	   at MediaBrowser.Channels.BlurN.Helpers.Library.BuildLibraryDictionary(CancellationToken cancellationToken, ILibraryManager libraryManager, InternalItemsQuery query)
	   at MediaBrowser.Channels.BlurN.ScheduledTasks.RefreshNewReleases.<Execute>d__22.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
	System.ArgumentNullException
	   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
	   at MediaBrowser.Channels.BlurN.Helpers.Library.BuildLibraryDictionary(CancellationToken cancellationToken, ILibraryManager libraryManager, InternalItemsQuery query)
	   at MediaBrowser.Channels.BlurN.ScheduledTasks.RefreshNewReleases.<Execute>d__22.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Emby.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
	
2017-08-19 18:34:04.7889 Info TaskManager: Refresh new releases Failed after 0 minute(s) and 7 seconds
2017-08-19 18:34:04.8513 Info ServerManager: Sending web socket message NotificationAdded
2017-08-19 18:34:04.8513 Info ServerManager: Sending web socket message ScheduledTaskEnded
2017-08-19 18:34:04.8513 Info TaskManager: ExecuteQueuedTasks
 
Thanks I have enough info. I will issue a fix tomorrow, but basically you have something in your library which is a bit broken. I will issue a fix so that such item would be ignored.
Link to comment
Share on other sites

TheTabman

Thanks I have enough info. I will issue a fix tomorrow, but basically you have something in your library which is a bit broken. I will issue a fix so that such item would be ignored.

Thanks. Much appreciated :)

Link to comment
Share on other sites

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...