dbrock / bongo Goto Github PK
View Code? Open in Web Editor NEWPlay music with GNU Emacs
Home Page: http://www.emacswiki.org/emacs/Bongo
License: Other
Play music with GNU Emacs
Home Page: http://www.emacswiki.org/emacs/Bongo
License: Other
Hi,
Everytime Bongo updates, the location of the image directory changes, this cause the old buffers which still refer to old image files to break. Specifically they display empty boxes instead of the images make the buffer look very ugly,something like the below
Instead of the beautiful icons
While bongo-redisplay
fixes the problem, it would be great if bongo updated the image paths while decoding the buffer.
Thanks
Really sorry accidentally pressed enter before completing the issue causing github to submit the incomplete issue.
I recently observed that if I start playing a track in bongo and switch to buffer displaying an image (can be a docview buffer or a pdfview buffer) the buffer would constantly scroll down making it impossible to scroll the buffer.
Steps to reproduce
bongo-playlist-buffer
You will notice at regular intervals the image scrolls to the top, making it impossible to scroll through the image
On investigating further I was able to nail this down to bongo-default-mode-line-indicator-function
, which internally calls the functions bongo-mode-line-backward/previous-button
and bongo-mode-line-forward/next-button
, I am going to describe the problem with bongo-mode-line-backward/previous-button
the problem with bongo-mode-line-forward/next-button
is similar.
The problematic call sequence is bongo-mode-line-forward/next-button
> bongo-point-at-next-track-line
> bongo-point-before-next-line-satisfying
> next-line
> line-move
. Now the problem is that line-move
scrolls the currently selected window by 0 pixels, for some reason this behaves weirdly for windows containing image causing them to scroll to start of the window.
Not exactly sure why this happens but I am guessing this due to the fact that image internally is represented as some characters with the display text-property set to an image, so moving a single logical line does not correspond to moving just the one line height but larger portion of the screen displaying the image. Also please notice the currently selected window is scrolled, irrespective of the current buffer (which would be a bongo-buffer
in our case)
Proposed fix
Using forward-line
for moving to lines fixes this issue, the code anyways seems to be using forward-line
at rest of the places.
From terminal i can play musics with mpg123. But if i set bongo backend to mpg123, no music play.
Also i detect some high cpu usages.
I don't have any issue with linux.
Emacs: 27.1
windows 10: 1903 (build 18362.267)
When playing a file with an embedded image; mplayer shows a window and that may interrupt the user.
Would be great to see mpd as one of the supported backends.
Using version 20201002, the mpv backend, Windows and emacs 27.1.
Whenever I start playing a file, I get
Debugger entered--Lisp error: (error "Unknown address family")
make-network-process(:name "bongo-mpv" :buffer nil :family local :service "c:/Users/peter/AppData/Local/Temp/bongo-mpv.socket" :filter bongo--mpv-socket-filter)
The file starts playing, but I cannot pause or seek. Only stopping the file works
The function expects the answer "Available audio output drivers:" from the MPlayer, but when the current locale is not English, the function is failed. It is actual to force the standard English locale here, for example, in the next way:
(let ((process-environment (cons "LANG=en_US.UTF-8" process-environment))) (call-process bongo-mplayer-program-name nil t nil (ecase type (audio "-ao") (video "-vo")) "help"))
Hi :)
I'm using emacs on windows and want to use bongo to hear my music but, from some reason it doesn't recognize my vlc.
What can it be?
Thank you!
Hi.
With default setup (and vlc backend) bongo is unable to play m4a
and opus
files which are not extremely rare.
I was able to workaround it via adding these format to lists of extensions and adding
(setq bongo-custom-backend-matchers
'((vlc local-file "m4a")
(vlc local-file "opus") ))
to my .emacs
but in my opinion it should not be necessary.
Starting Bongo failed with the message
bongo-mplayer-available-drivers: Search failed: "Available audio output drivers:
"
This is due to the code (around line 6100) :
(search-forward (concat "Available " (cl-ecase type
(audio "audio")
(video "video"))
" output drivers:\n"))
In my OS (Gnus/Linux Debian Strech) :
mplayer -ao help
Available audio outputs:
pulse : PulseAudio audio output
alsa : ALSA audio output
oss : OSS/ioctl audio output
jack : JACK audio output
sdl : SDL Audio
sndio : sndio audio output
null : Null audio output
pcm : RAW PCM/WAVE file writer audio output
mplayer --version
mpv 0.23.0 (C) 2000-2016 mpv/MPlayer/mplayer2 projects
built on UNKNOWN
ffmpeg library versions:
libavutil 55.34.101
libavcodec 57.64.101
libavformat 57.56.101
libswscale 4.2.100
libavfilter 6.65.100
libswresample 2.3.100
ffmpeg version: 3.2.4-1
I am on Windows 10 using Emacs 26.2 and MPlayer in the backend and after fast forwarding for more than a couple of percent of a podcast their voices all change pitch and become very high pitch. It has happened about 10 times to date.
When pausing (using the mpg123 backend) my CPU usage spikes up to 50%.
Here is an ELP dump:
bongo-mpg123-process-filter 10579 0.5360889999 5.067...e-05
bongo-mpg123-parse-output 10579 0.3991729999 3.773...e-05
bongo-player-call-with-default 111 0.0384510000 0.0003464054
bongo-pause/resume 3 0.03657 0.01219
bongo-player-pause/resume 3 0.036382 0.0121273333
bongo-mpg123-player-pause/resume 3 0.036317 0.0121056666
bongo-player-paused/resumed 3 0.0360700000 0.0120233333
bongo-update-mode-line-indicator-string 3 0.034542 0.0115140000
bongo-default-mode-line-indicator-function 3 0.0345139999 0.0115046666
bongo-mode-line-volume-button 3 0.0147209999 0.0049069999
bongo-mode-line-backward/previous-button 3 0.004452 0.001484
bongo-playing-p 72 0.0021939999 3.047...e-05
bongo-point-at-previous-track-line 3 0.0020940000 0.0006980000
bongo-point-before-previous-track-line 3 0.002084 0.0006946666
bongo-point-before-previous-line-satisfying 3 0.002072 0.0006906666
bongo-player-update-elapsed-time 47 0.0017030000 3.623...e-05
bongo-player-running-p 72 0.0016710000 2.320...e-05
bongo-player-get 335 0.0014779999 4.411...e-06
bongo-mode-line-pause/resume-button 3 0.001073 0.0003576666
bongo-mode-line-forward/next-button 3 0.000994 0.0003313333
bongo-update-header-line-string 3 0.000951 0.000317
bongo-paused-p 12 0.0008830000 7.358...e-05
bongo-line-infoset 3 0.000791 0.0002636666
bongo-default-header-line-function 3 0.0007750000 0.0002583333
bongo-mode-line-icon-size 12 0.000744 6.2e-05
bongo-default-player-running-p 72 0.0007420000 1.030...e-05
bongo-track-infoset 3 0.000692 0.0002306666
bongo-face-height 12 0.000691 5.758...e-05
bongo-format-infoset 9 0.0006499999 7.222...e-05
bongo-line-file-name 36 0.0006290000 1.747...e-05
bongo-line-get-property 42 0.0006169999 1.469...e-05
bongo-default-format-infoset 9 0.0006129999 6.811...e-05
bongo-player-put 97 0.0006079999 6.268...e-06
bongo-file-track-line-p 30 0.0006060000 2.020...e-05
bongo-track-line-p 24 0.0005599999 2.333...e-05
bongo-player-process 79 0.0005449999 6.898...e-06
bongo-point-at-eol 45 0.0005120000 1.137...e-05
bongo-format-field 18 0.000495 2.75e-05
bongo-player-update-total-time 47 0.0004610000 9.808...e-06
bongo-default-format-field 18 0.0004180000 2.322...e-05
bongo-point-at-current-track-line 15 0.000391 2.606...e-05
bongo-header-line-playback-status 3 0.000388 0.0001293333
bongo-mode-line-start/stop-button 3 0.000362 0.0001206666
bongo-formatted-infoset 3 0.000355 0.0001183333
bongo-seeking-supported-p 6 0.000329 5.483...e-05
bongo-player-paused-p 12 0.000317 2.641...e-05
bongo-alist-get 371 0.0002880000 7.762...e-07
bongo-file-track-infoset 3 0.0002619999 8.733...e-05
bongo-mode-line-stop-button 3 0.0002439999 8.133...e-05
bongo-uri-track-line-p 3 0.000195 6.5e-05
bongo-pausing-supported-p 3 0.000184 6.133...e-05
bongo-before-invisible-text-p 36 0.0001680000 4.666...e-06
bongo-playlist-buffer-p 129 0.0001659999 1.286...e-06
bongo-total-time 6 0.00015 2.499...e-05
bongo-elapsed-time 6 0.000147 2.45e-05
bongo-default-player-paused-p 12 0.0001450000 1.208...e-05
bongo-alist-put 97 0.0001449999 1.494...e-06
bongo-set-current-track-marker 3 0.000143 4.766...e-05
bongo-infoset-from-file-name 3 0.000129 4.299...e-05
bongo-first-line-p 3 0.000125 4.166...e-05
bongo-playlist-buffer 1 0.000119 0.000119
bongo-default-track-length 9 0.000117 1.3e-05
bongo-default-infoset-from-file-name 3 0.000116 3.866...e-05
bongo-point-at-bol 3 0.0001130000 3.766...e-05
bongo-player-seeking-supported-p 6 0.0001119999 1.866...e-05
bongo-recent-playlist-buffer 1 0.000111 0.000111
bongo-player-times-changed 47 0.0001109999 2.361...e-06
bongo-player-total-time 6 0.000108 1.8e-05
bongo-player-elapsed-time 6 0.000108 1.8e-05
bongo-mode-line-start-button 3 9.7e-05 3.233...e-05
bongo-point-at-next-track-line 3 8.7e-05 2.9e-05
bongo-player-interactive-p 3 8.5e-05 2.833...e-05
bongo-point-before-next-track-line 3 7.8e-05 2.6e-05
bongo-format-seconds 9 7.5e-05 8.333...e-06
bongo-player-pausing-supported-p 3 7.099...e-05 2.366...e-05
bongo-point-before-next-line-satisfying 3 6.7e-05 2.233...e-05
bongo-goto-point 93 5.499...e-05 5.913...e-07
bongo-after-invisible-text-p 3 5.3e-05 1.766...e-05
bongo-player-buffer 6 5.200...e-05 8.666...e-06
bongo-uri-p 6 5.100...e-05 8.500...e-06
bongo-default-track 9 4.8e-05 5.333...e-06
bongo-last-line-p 3 4.8e-05 1.6e-05
bongo-player-infoset 6 4.8e-05 8e-06
bongo-default-player-seeking-supported-p 6 3.6e-05 6e-06
bongo-default-player-get-total-time 6 3.3e-05 5.500...e-06
bongo-default-player-get-elapsed-time 6 3.2e-05 5.333...e-06
bongo-mode-line-pad-string 6 3.199...e-05 5.333...e-06
bongo-uri-scheme 6 3.1e-05 5.166...e-06
bongo-default-player-interactive-p 3 3.1e-05 1.033...e-05
bongo-skip-invisible 3 2.299...e-05 7.666...e-06
bongo-default-player-pausing-supported-p 3 2.100...e-05 7.000...e-06
bongo-hyphen-padded-mode-line-p 15 1.900...e-05 1.266...e-06
bongo-buffer-p 9 1.400...e-05 1.555...e-06
OS X 10.7, Emacs 24.3.1, mpg123 1.20.0
Let me know if you need anything else!
See the bongo-quit
, and bongo
functions.
Can you make saving/setting window configuration optional?
I think that the logic of this behavior is broken because after you call bongo-quit
(which deletes other windows which is terrible) you can split/delete windows and then bongo
revives what you don't need anymore(window configuration from the past). This is confusing.
Hi Lit, thanks for sharing this package! It's appreciated.
However, I couldn't find it on MELPA. Could this perhaps be listed on MELPA?
Thanks in advance!
➜ bongo git:(master) ruby tree-from-tags.rb /home/zobi8225/Music
Counting files... 720.
[0.00%] Processing `/home/zobi8225/Music/2013'...tree-from-tags.rb:213:in `rescue in block in <main>': uninitialized constant TagLib::BadFile (NameError)
from tree-from-tags.rb:230:in `block in <main>'
from /usr/lib/ruby/2.2.0/find.rb:48:in `block (2 levels) in find'
from /usr/lib/ruby/2.2.0/find.rb:47:in `catch'
from /usr/lib/ruby/2.2.0/find.rb:47:in `block in find'
from /usr/lib/ruby/2.2.0/find.rb:42:in `each'
from /usr/lib/ruby/2.2.0/find.rb:42:in `find'
from tree-from-tags.rb:155:in `<main>'
I use this tablib-ruby : http://robinst.github.io/taglib-ruby/
It seems that the code that triggers bongo-vlc-player-start-timer
in bongo-vlc-process-filter
is never run, most probably because the patterns it looks for running bongo-vlc-player-start-timer
are not emitted by the backend vlc process anymore
Sometimes I use bongo-sprinkle-mode. bongo-sprinkle-amount is set to
it's default value of 5, therefore bongo initially keeps 5 unplayed
tracks at the end of the playlist. When I need to do something else
for a while, I type '1 C-c C-s' to make bongo stop after the current
track has finished. When I want to listen to music again, I position
point to the track after the action track, and hit return. From this
time on bongo only keeps 4 unplayed tracks at the end, because the
action track was not marked as played. If I repeat the whole
procedure, I am down to 3 unplayed tracks.
I think that in order to fix this the stop action track has to be
marked as played when it was acted upon.
Lately, when using tree-from-tags.rb
, I have been receiving the following error:
/home/mitchell/.emacs.d/elpa/bongo-20171118.1842/tree-from-tags.rb:121:in `*': no implicit conversion of String into Integer (TypeError)
from /home/mitchell/.emacs.d/elpa/bongo-20171118.1842/tree-from-tags.rb:121:in `clear'
from /home/mitchell/.emacs.d/elpa/bongo-20171118.1842/tree-from-tags.rb:128:in `update'
from /home/mitchell/.emacs.d/elpa/bongo-20171118.1842/tree-from-tags.rb:156:in `block in <main>'
from /usr/lib/ruby/2.3.0/find.rb:49:in `block (2 levels) in find'
from /usr/lib/ruby/2.3.0/find.rb:48:in `catch'
from /usr/lib/ruby/2.3.0/find.rb:48:in `block in find'
from /usr/lib/ruby/2.3.0/find.rb:43:in `each'
from /usr/lib/ruby/2.3.0/find.rb:43:in `find'
from /home/mitchell/.emacs.d/elpa/bongo-20171118.1842/tree-from-tags.rb:154:in `<main>'
Could you please create a tag to use this package using melpa stable [1].
Thanks
[1] : http://stable.melpa.org/
I am getting this error...
Error loading autoloads: (file-missing Cannot open load file No such file or directory ~/.emacs.d/elpa/bongo-20201002.1020/bongo-autoloads)
There is no bongo-autoloads file inside that directory :(
el-get config:
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")
(require 'el-get)
(setq el-get-sources
'(
;...
(:name bongo
:type git
:url "git://github.com/dbrock/bongo.git"
:features bongo)
;...
))
(el-get)
danil@frink ~ $ emacs
Warning (initialization): An error occurred while loading `/home/danil/.emacs':
Symbol's value as variable is void: image-load-path
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace.
danil@frink ~ $ emacs --debug-init
Debugger entered--Lisp error: (void-variable image-load-path)
bongo-find-image("bongo-logo.pbm" bongo-comment)
byte-code("\301^HB^P\302\301!\204^R^@\303\301\304\305\306\"\"\210\301\207" [current-load-list bongo-logo default-boundp set-default bongo-find-image "bongo$
require(bongo)
byte-code("\306^H!^Y\307 \310\"^Z\311\307 \312\"!^[\307 \313\"^\311\307 \314\"!^]\311\315^H!!^^2\307 \316\"^^3\307 \317\"^^4\307$
el-get-init("bongo")
el-get-demand1(bongo)
byte-code("\306^H!^Y\307 !\211^Z\310 \235\204^V^@\311
\310 B!\210\312 !\313>?\205~^@\314 \315\"\210\316\317\320 !\"\211^[\321^\211^]\203t^@^$
el-get-install("bongo")
el-get()
eval-buffer(#<buffer *load*<2>> nil "/home/danil/.emacs-aliases.el" nil t) ; Reading at buffer position 6188
load-with-code-conversion("/home/danil/.emacs-aliases.el" "/home/danil/.emacs-aliases.el" nil nil)
load("~/.emacs-aliases.el")
eval-buffer(#<buffer *load*> nil "/home/danil/.emacs" nil t) ; Reading at buffer position 250
load-with-code-conversion("/home/danil/.emacs" "/home/danil/.emacs" t t)
load("~/.emacs" t t)
#[nil "^H\205\264^@ \306=\203^Q^@\307^H\310Q\2027^@ \311=\2033^@\312\307\313\314#\203#^@\315\2027^@\312\307\313\316#\203/^@\317\2027^@\315\2027^@\307^H\3$
command-line()
normal-top-level()
danil@frink ~ $ emerge --info
Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, libc-0-r0, 2.6.36-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r8-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Thu, 16 Jun 2011 20:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.1-r1, 3.1.3-r1
dev-util/ccache: 2.4-r9
dev-util/cmake: 2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc: 0.8.2-r1
sys-apps/sandbox: 2.4
sys-devel/autoconf: 2.13, 2.65-r1
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool: 2.2.10
sys-devel/make: 3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc: 2.12.2
virtual/os-headers: 0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/boot /etc /home /usr/lib/urxvt/perl /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=core2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/ http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en ru_RU ru"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kutkevich /var/lib/layman/sunrise /var/lib/layman/ubuntu-overlay /var/lib/layman/lisp /var/lib/layman/lua /var/lib/layman/haskell"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apm bash-completion berkdb branding bzip2 cairo cli cracklib crypt cups cxx dbus djvu dri ffmpeg flac fortran frink gdbm gif gpm grammar gstreamer iceweasel iconv ipv6 jpeg laptop mad midi mmx modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pmu png pppd python readline session spell sse sse2 sse3 ssl svg sysfs tcpd tiff udev unicode userlocales v4l v4l2 vorbis wifi xorg xpm xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en ru_RU ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon intel vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
For example, run M-x bongo-play-next
in *scratch*
will add a header line in the buffer, I expect only the header line shows only in *Bongo Playlist*
, according to
bongo-header-line-mode is a variable defined in ‘bongo.el’.
Its value is tDocumentation:
Whether to display header lines in Bongo playlist buffers.You can customize this variable.
Hello,
I'm running bongo inside an emacs instance with nothing else running. Playing a list of ~15 titles with bongo brings the CPU usage of that emacs instance to around 70%! (This is on a core 2 duo 1.4 GHz). Stopping music playback brings it down to 0%, resuming playback brings it back up to 70%. I'm using the mplayer backend.
This happens on the following configurations
After some experimentation I found out that VLC's newer versions do not stop the track after playing it (the tracks are restarted) unless the flag --play-and-stop
is passed, as such the flag --play-and-exit
does have any effect. Adding --play-and-stop
to bongo-vlc-extra-arguments
fixes the issue, but I guess it would be better if this is added to bongo itself.
I'm using bongo (version 1.1) with mpv backend. My mpv version is: 0.35.1. Trying to play any media with mpv backend would fail with 1 status. I investigated the issue a little and discovered that bongo is calling mpv with:
mpv --input-ipc-server <socket-file> <other-options> <file-name>
but mpv requires that long options be in the following form:
--long-options=value
and not int the form --long-option value
. So mpv should be called this way:
mpv --input-ipc-server=<socket-file> <other-options> <file-name>
I'd be really greateful if you fix this.
For now here's a quick and dirty fix. Put the following in your init.el
:
(defun my-bongo-compose-remote-option (socket-file)
(list (concat "--input-ipc-server=" socket-file)))
(advice-add 'bongo-compose-remote-option
:override #'my-bongo-compose-remote-option)
I was trying to cleanup Bongo code since emacs lisp byte compiler right now reports a lot of warnings. While doing so there were multiple occurrences of the following warning
Warning:
interactive-p
is an obsolete function (as of
23.2); use `called-interactively-p' instead.
I was wondering what is the minimum version Bongo intends to support, is it okay if I change calls to interactive-p
to called-interactively-p
(and break compatibility with Emacs 23.2)?
Seeking forward or backward (using f or b) when using vlc backend restarts the video. My system configuration is as follows
On some debugging I found out that bongo sends time to seek to vlc as a floating point number while vlc expects the time as integer (I could find any documentation for the rc interface, I found this out by trying it on the command line)
I thought that it was supposed to be picking up the right player automatically but appearantly it does not so for the radio streaming urls.
thanks
Hi, i love bongo,
Do you know if a script witch can automaticly rename all fime from a library exist.
Thx
When switching to a random track using bongo-play-random
the point moves to the top of the bongo buffer, I think it would be better if the point stays at the random track that was selected
The ruby-taglib code that tree-from-tags.rb depends on only works with ruby 1.8 and not with newer versions. ruby 1.8 has been deprecated for some time already, and final security support has stopped this summer.
https://www.ruby-lang.org/en/news/2013/06/30/we-retire-1-8-7/
tree-from-tags.rb should probably be ported to a newer, maintained, version ruby taglib bindings. taglib-ruby looks like a good, maintained, candidate: http://robinst.github.io/taglib-ruby/
The Win32 version of vlc (vlc.exe) does not recognise the command line argument --rc-fake-tty.
Additionally it does not like unix-style forward slashes in pathnames.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.