Ticket #2739 (closed enhancement: fixed)

Opened 12 years ago

Last modified 3 years ago

mc.ext types for djvu, cbr, epub, par2 etc.

Reported by: Seegras Owned by:
Priority: trivial Milestone: 4.8.7
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description (last modified by andrew_b) (diff)

# Comic Books
shell/.cbr
       Open=(see %f 2> /dev/null &)

shell/.cbz
       Open=(see %f 2> /dev/null &)

# Djvu
type/^djview
        Open=run-mailcap  %f >/dev/null 2>&1
regex/\.([Dd][Jj][Vv][Uu])$
        Open=run-mailcap  %f >/dev/null 2>&1

# Epub
regex/\.([eE][pP][uU][bB])$
       Open=(lucidor %f >/dev/null 2>&1 &)
       View=%view{ascii} einfo -v %f

# Parity Archive
type/^Parity\ Archive\ Volume\ Set
       Open=par2 r %f

Attachments

mc.ext.diff (678 bytes) - added by Seegras 12 years ago.

Change History

comment:1 Changed 12 years ago by andrew_b

  • Description modified (diff)

run-mailcap is distro-specific stuff. Don't propose it unconditionally. Did you find #2118 and #1686?

comment:2 Changed 12 years ago by Seegras

Then so is probably "see". I'll take a look at the original, not the one from debian, and make a patch to that.

Changed 12 years ago by Seegras

comment:3 Changed 12 years ago by Seegras

Of course, it always needs to assume some binaries exist. Instead of lucidor, one could choose fbreader for instance.

And einfo is from http://sourceforge.net/projects/ebook-tools (I myself use epub-info from my own http://seegras.discordia.ch/Programs/epub-meta-0.2.tar.gz which isn't really widespread ;))

comment:4 Changed 12 years ago by slavazanko

  • Blocked By 2118 added

comment:5 Changed 12 years ago by slavazanko

  • Blocked By 2118 removed

(In #2118) merged to master:

git log --pretty=oneline e944301..5c6ae10

comment:6 Changed 12 years ago by andrew_b

  • Blocked By 2897 added

comment:7 Changed 11 years ago by andrew_b

  • Blocked By 2897 removed

comment:8 Changed 11 years ago by andrew_b

  • Status changed from new to closed
  • Votes for changeset set to committed-master
  • Resolution set to fixed
  • Branch state changed from no branch to merged
  • Milestone changed from Future Releases to 4.8.7

comment:9 Changed 3 years ago by andrew_b

  • Description modified (diff)
Note: See TracTickets for help on using tickets.