Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Hyperlink completed torrent filenames with their file:// URLs for pseudo-Open/Preview functionality? #6

Open
ssokolow opened this issue Apr 11, 2010 · 2 comments

Comments

@ssokolow
Copy link

Aside from the lack of a convenient Remove button elaborated on in issue 5, the one thing I really miss is a convenient way to Open/Preview a completed torrent.

Assuming Google's restrictions aren't even stricter than I'd thought, the simplest solution I can think of is hyperlinking completed torrent titles to the corresponding file:// URLs.

@RichGuk
Copy link
Owner

RichGuk commented Apr 18, 2010

Little unsure what you mean by open/preview - like you can in the GUI? This is something, AFAIK, that the webUI doesn't offer and isn't really a limitation of this extension. For example, I have my torrent box mounted via AFP but I could easily have it mounted via SSHFS, SMB, etc... how would it know what to view?

@ssokolow
Copy link
Author

As far as I know, Deluge's core only supports saving to paths it sees as local (paths with corresponding file:// URLs... including network-mounted ones).

As such, a simple way to provide functionality analogous to Open/Preview in the GTK+ GUI while still staying within the limitations of the Chrome extension API would be to hyperlink the names of completed torrents to the file:// URLs of the corresponding file (single-file torrents) or folder (multi-file torrents).

That way, clicking the names of completed torrents in the pop-up would "preview" anything which can be loaded by an NPAPI plugin (eg. single-file torrents containing video files) and "open" anything else (eg. multi-file torrents or single-file torrents in formats with no matching plugin)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants