svenjacobs / sabdrop

SABnzbd client for Google Chrome (unmaintained)
GNU General Public License v3.0
7 stars 1 forks source link

NZB name not working? #9

Closed jconnary closed 12 years ago

jconnary commented 13 years ago

Using SABdrop with nzbmatrix.com. When right clicking on the URL, selecting 'send to Sabnzbd' and then a catagory, the name of the NZB is not being used. Instead it's the URL that is being used. The NZB is placed in the correct catagory, and when the download finishes the folder name created is the URL and not the Name of the NZB file. I'm using the latest Chrome version (12.0.742.100) and the latest SABdrop. I'm running this on a Mac (10.6.7) although I doubt this has anything to do with it. I've also tried this on Merlins Portal with the same results. Maybe I'm doing something wrong, I'm not sure... or this is working as designed. :-) I'm willing to do beta testing if need be. Otherwise great product!

svenjacobs commented 13 years ago

This is by design at the moment. What would be the expected NZB name? Can you please provide an example weblink?

jconnary commented 13 years ago

For example, if I go to NZB matrix and do a search on Game of Thrones I'll get a list of episodes. There a 3 icons in the list. One is "Download NZB", the second is "Download Zip" and the third is "Add to Bookmarks". If I right-click on the "Download NZB" icon and select "Send to Sabnzbd" it sends it fine, but name appears as this: nzb-download php?id=970802&nozip=1&cat=41

Here is the link if I right-click on the same link and select Copy Link Address: http://nzbmatrix.com/nzb-download.php?id=970802&nozip=1&cat=41

Hope this info helps. Let me know if you need more.

svenjacobs commented 13 years ago

Thanks for the information! This issue seems to be a bit tricky since neither the weblink nor the link text ("Download NZB") contains some valuable data.

In the current implementation I'm assuming that the weblink contains the NZB file name. I try to avoid special implementations for certain websites. I will think about a resolution :)

jconnary commented 13 years ago

No problem, glad I could help. There is another Chrome extension called Sabconnect++ that 'inserts' it's own icon into the webpage so that when you click on it, it sends the link to Sabnzbd, and retains the the name of the NZB. However, the problem with that extension is that it does not support the categories like yours does. I have been using Firefox and the Sabstatus extension which is able to handle both categories and retain the name, and this worked perfectly. However, Firefox is too much of a memory hog for my liking and would like to start using Chrome exclusively. But I need a one-browser solution... I'm no coder, but if you need any other help with sorting this problem then please don't hesitate to ask. :-)

svenjacobs commented 12 years ago

@jconnary SABconnect++ can extract the correct NZB name because it has special implementations for certain websites.

SABdrop is a generic extensions and I'm trying to not add special implementations. I will think about a solution :)

svenjacobs commented 12 years ago

As of version 0.5 of SABdrop a notification dialog was implemented for every download which allows to alter the NZB name before sending it to SABnzbd.

This should be an acceptable solution so I'm closing this issue.