Ticket #4167 (new enhancement) — at Version 2
Multimedia and e-books external files chenging in distributions
Reported by: | korrado | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | 4.8.27 |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
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
Note: See
TracTickets for help on using
tickets.