Sub-Zero.bundle icon indicating copy to clipboard operation
Sub-Zero.bundle copied to clipboard

Notification

Open mouzzampk2014-zz opened this issue 5 years ago • 8 comments

Hi, not sure if I'm missing but I cannot find notifications. Thank you

mouzzampk2014-zz avatar Nov 11 '19 14:11 mouzzampk2014-zz

What exactly do you mean?

pannal avatar Nov 16 '19 03:11 pannal

What exactly do you mean?

When sub zero download subtitles it send the notification to pushover or discord.

mouzzampk2014-zz avatar Nov 16 '19 06:11 mouzzampk2014-zz

Can you elaborate? What exactly do you not find? You can configure an executable that gets called when an action occurs - using that you can do whatever you like, pushover, what ever.

I'd search in tickets in here or on the forum, people have posted their scripts.

pannal avatar Nov 16 '19 15:11 pannal

Can you elaborate? What exactly do you not find? You can configure an executable that gets called when an action occurs - using that you can do whatever you like, pushover, what ever. I'd search in tickets in here or on the forum, people have posted their scripts.

Basically I am looking for when I subzero downloaded any subtitle then also sent notification to pushover or discord. I look for previous tickets but my big butterfly eyes couldn't see anything. If you have link that would be great. If I find it I will update you. Thanks again

mouzzampk2014-zz avatar Nov 16 '19 15:11 mouzzampk2014-zz

https://github.com/pannal/Sub-Zero.bundle/wiki/Sub%E2%80%90Zero-Configuration

Search for Call this executable upon successful subtitle download

ukdtom avatar Nov 16 '19 20:11 ukdtom

https://github.com/pannal/Sub-Zero.bundle/wiki/Sub%E2%80%90Zero-Configuration Search for Call this executable upon successful subtitle download

I tried last night but Sub-Zero downloaded subs but I didn't received any notifications. I attached the picture. Thank you

2

mouzzampk2014-zz avatar Nov 17 '19 13:11 mouzzampk2014-zz

Okay, since I'm not even using SZ :-) , I'll step out of this, but when leaving this to the @pannal I'll simply add, that you need to add the SZ logs, since this could be related to a rights issue

ukdtom avatar Nov 17 '19 22:11 ukdtom

Hi, apologise for extremely late reply. Currently the script is inside /shares/Public/downloads/pushovernotify.sh %(subtitle_language)s %(filename)s %(provider)s %(score)s and I cannot see subzero is calling the script. I am definitely missing something. Need little bit help here. Thank you

I removed the existing subtitle and find the new sub and there is nothing in the logs saying script was called except bsplayer down

  File "/mnt/HD/HD_a2/Nas_Prog/plex_conf/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/core.py", line 162, in list_subtitles_provider
    results = self[provider].list_subtitles(video, provider_languages)
  File "/mnt/HD/HD_a2/Nas_Prog/plex_conf/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/core.py", line 98, in __getitem__
    provider = provider_registry[name](**self.provider_configs.get(name, {}))
  File "/mnt/HD/HD_a2/Nas_Prog/plex_conf/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/providers/bsplayer.py", line 64, in __init__
    self.initialize()
  File "/mnt/HD/HD_a2/Nas_Prog/plex_conf/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/providers/bsplayer.py", line 70, in initialize
    self.login()
  File "/mnt/HD/HD_a2/Nas_Prog/plex_conf/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/providers/bsplayer.py", line 115, in login
    params=('<username></username>'
  File "/mnt/HD/HD_a2/Nas_Prog/plex_conf/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/providers/bsplayer.py", line 106, in api_request
    raise Exception('Too many tries...')
Exception: Too many tries...``

mouzzampk2014-zz avatar Oct 31 '20 21:10 mouzzampk2014-zz