Ticket #3100 (accepted enhancement)
Embedded torrent viewer/vfs
Reported by: | eugenesan | Owned by: | slavazanko |
---|---|---|---|
Priority: | major | Milestone: | Future Releases |
Component: | mc-vfs | Version: | master |
Keywords: | torrent ext vfs | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
Currently ext.d viewer for torrent is partially broken since ctorrent is used and it broken in most distributions (http://sourceforge.net/p/dtorrent/bugs/21/).
Attached patch adds viewer and vfs support based on script found here: http://phdru.name/Software/mc/torrent
Attachments
Change History
Changed 11 years ago by eugenesan
- Attachment ext_embedded_torrent.patch added
comment:1 Changed 11 years ago by slavazanko
- Owner set to slavazanko
- Status changed from new to accepted
- Branch state changed from no branch to on rework
Created branch 3100_torrent
Initial changeset:10401bb70eb846261da1e51f4c6e3a751995ae8f
But branch is stayed in 'on rework' stage because have an issue with viewing .torrent files (via F3):
./torrent view some-file.torrent Unknown command view
Changed 11 years ago by eugenesan
- Attachment add-support-for-internal-torrent-viewer-vfs.patch added
support kernel initrd images as VFS
Changed 6 years ago by artemsen
- Attachment 0001-extfs-Add-support-for-BitTorrent-file-browse.patch added
comment:5 Changed 6 years ago by artemsen
- Component changed from mc-core to mc-vfs
- Branch state changed from on rework to on review
comment:8 in reply to: ↑ 6 ; follow-up: ↓ 9 Changed 6 years ago by artemsen
Replying to andrew_b:
Is python3 required?
Yes, python3 is required. Does MC have restrictions with that?
comment:10 in reply to: ↑ 9 Changed 6 years ago by artemsen
Replying to andrew_b:
extfs plugins written in python don't have explicit python version in shebang (#3936). Using pyhon3 explicitly can break the portability.
Do you suggest to use MC's shebang that was set by configure script? I don't think it's a good idea to use /usr/bin/python because it may point to python2 as well as to python3, meanwhile the usual shebang '#!/usr/bin/env python3' is a system independent solution.
Some systems where mc is used may not have python3.
Yes, but these system may not have python2 or even bash, so...
Anyway, this plugin is not a mandatory component and it doesn't brake general MC functionality.
Embed torrent viewer/vfs