Ticket #4167 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Multimedia and e-books external files chenging in distributions

Reported by: korrado Owned by: andrew_b
Priority: trivial Milestone: 4.8.27
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset: committed-master

Description (last modified by andrew_b) (diff)

Its my useful changes

user's mc.ext

# fb2 added
# Epub & mobi & FB2 !!!
regex/i/\.(epub|mobi|fb2)$

# many e-books readers may undestand files like NAME.fb2.zip or NAME.rtf.zip on fly
# E-books zipped
regex/i/\.(fb2|doc|rtf|html?|txt).zip$
  Open=/usr/lib/mc/ext.d/doc.sh open epub
  View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view epub

regex/i/\.(m4a|ape|aac|wav|voc|au|smp|aiff|snd|wv)$
#added \
  View=%view{ascii} /usr/lib/mc/ext.d/sound.sh view mp4
#added /
  Open=/usr/lib/mc/ext.d/sound.sh open common

/usr/lib/mc/ext.d/sound.sh :

    case "${filetype}" in
    mp3)
        mpg123 -vtn1 "${MC_EXT_FILENAME}" 2>&1 | \
            sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p'
        ;;
#added \
    mp4)
        mediainfo "${MC_EXT_FILENAME}"
            less
        ;;
#added /
    ogg)
        ogginfo "${MC_EXT_FILENAME}"
        ;;

Change History

comment:1 Changed 3 years ago by andrew_b

  • Description modified (diff)

comment:2 Changed 3 years ago by andrew_b

  • Description modified (diff)

comment:3 Changed 3 years ago by andrew_b

  • Owner set to andrew_b
  • Status changed from new to accepted
  • Milestone changed from Future Releases to 4.8.27

comment:4 Changed 3 years ago by andrew_b

  • Keywords useful changes in MC configurations removed
  • Resolution set to fixed
  • Votes for changeset set to committed-master
  • Status changed from accepted to testing
  • Component changed from mc-config-ini to mc-core

comment:5 Changed 3 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.