[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: Unable to download mp3 files

On 2021-01-04 11:35, aalinovi@xxxxxxxxxx wrote:
> First, I want to thank you for taking the time to help me with this. I
> do appreciate it.

And I need to apologize. I responded to you with information about how
to download and launch the link; you asked how to save the link. Within
w3m (outside emacs), you should be able to do that by pressing
lower-case 'a' while on the link. If that doesn't work, then find your
custom key-binding by looking at the results of:

  grep SAVE_LINK ~/.w3m/keymap

Within emacs, have you been pressing <return> on the link, or have you
been running w3m-download-this-url (directly or by keybinding)? The
latter should not need any reference to any mailcap file.

As for the contents of your ~/.w3m/mailcap file, that should be a
separate issue. I have no idea how/what/when it gets modified or updated
- mine has a 'last modified' timestamp of year 2016... Here are some
relevant lines. They presume that you want to immediately  launch the downloaded
files using the mpv program located at /usr/bin/mpv. YMMV.

audio/mp1; /usr/bin/mpv --no-terminal --force-window -- %s; test=test -n "$DISPLAY"
audio/x-mp1; /usr/bin/mpv --no-terminal --force-window -- %s; test=test -n "$DISPLAY"
audio/mp2; /usr/bin/mpv --no-terminal --force-window -- %s; test=test -n "$DISPLAY"
audio/x-mp2; /usr/bin/mpv --no-terminal --force-window -- %s; test=test -n "$DISPLAY"
audio/mp3; /usr/bin/mpv --no-terminal --force-window -- %s; test=test -n "$DISPLAY"
audio/x-mp3; /usr/bin/mpv --no-terminal --force-window -- %s; test=test -n "$DISPLAY"
audio/mpeg; /usr/bin/mpv --no-terminal --force-window -- %s; test=test -n "$DISPLAY"
audio/x-mpeg; /usr/bin/mpv --no-terminal --force-window -- %s; test=test -n "$DISPLAY"
audio/mpegurl; /usr/bin/mpv --no-terminal --force-window -- %s; test=test -n "$DISPLAY"
audio/x-mpegurl; /usr/bin/mpv --no-terminal --force-window -- %s; test=test -n "$DISPLAY"
audio/mpg; /usr/bin/mpv --no-terminal --force-window -- %s; test=test -n "$DISPLAY"
audio/x-mpg; /usr/bin/mpv --no-terminal --force-window -- %s; test=test -n "$DISPLAY"
audio/rn-mpeg; /usr/bin/mpv --no-terminal --force-window -- %s; test=test -n "$DISPLAY"
audio/ogg; /usr/bin/mpv --no-terminal --force-window -- %s; test=test -n "$DISPLAY"

CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0       ;; (goto-char (point-max))