Ticket #2562 (closed enhancement: fixed)

Opened 13 years ago

Last modified 13 years ago

view torrent file

Reported by: slonm Owned by: andrew_b
Priority: minor Milestone: 4.8.0-pre1
Component: mc-core Version: 4.7.5
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset: committed-master committed-stable

Description

view content of .torrent file. Used ctorrent client.

mc.ini entry:
# torrent
regex/\.([tT][oO][rR][rR][eE][nN][tT])$

View=%view{ascii} ctorrent -x %f 2>/dev/null

Change History

comment:1 in reply to: ↑ description ; follow-up: ↓ 2 Changed 13 years ago by andrew_b

Replying to slonm:

view content of .torrent file. Used ctorrent client.

If user does not have installed ctorrent, an error message is raised: "Empty output from child filter", and user can't see a raw file using F3 (not F13).

mc.ini entry:

Not mc.ini, but mc.ext.

# torrent
regex/\.([tT][oO][rR][rR][eE][nN][tT])$

View=%view{ascii} ctorrent -x %f 2>/dev/null

I think, that should be fixed for ctorrent-free usage.

comment:2 in reply to: ↑ 1 Changed 13 years ago by andrew_b

Well, all View actions in mc.ext don't check whether the program exist or not. So, I agree with proposed view action for torrent file:

# torrent
regex/\.([tT][oO][rR][rR][eE][nN][tT])$
    View=%view{ascii} ctorrent -x %f 2>/dev/null

comment:3 Changed 13 years ago by andrew_b

  • Keywords torrent removed
  • Priority changed from major to minor
  • Component changed from mcview to mc-core

comment:4 Changed 13 years ago by andrew_b

  • Owner set to andrew_b
  • Status changed from new to accepted
  • Milestone changed from 4.8 to 4.8.0-pre1

comment:5 Changed 13 years ago by andrew_b

  • Status changed from accepted to testing
  • Keywords stable-candidate added
  • Resolution set to fixed
  • severity changed from no branch to merged

comment:6 Changed 13 years ago by andrew_b

  • Votes for changeset set to committed-master

comment:7 Changed 13 years ago by slavazanko

  • Keywords stable-candidate removed
  • Status changed from testing to closed
  • Votes for changeset changed from committed-master to committed-master committed-stable
  • Branch state set to no branch

Cherry-picked in stable:

git log --pretty=oneline dcb9101b1d..6705843ba4d
Note: See TracTickets for help on using tickets.