Christian Stadelmann

Results 223 comments of Christian Stadelmann

How about: 1. Reading both the standard (`BPM`) and the non-standard (`tempo`) tag, with `BPM` always winnig 2. Writing only the standard (`BPM`) tag from now on. For when the...

Running `gla11y $(find . -name \*.ui)` over our source tree (py3) gives 270 warnings and 125 fatals, so there is quite some work to do.

For future reference: WARNING : Error saving track Traceback (most recent call last): File "/path/to/exaile/xlgui/properties.py", line 215, in _tags_write self._write_tag(track, tag, trackdata[tag]) File "/path/to/exaile/xlgui/properties.py", line 198, in _write_tag track.set_tag_disk(tag, value)...

That code could look something like this: ```py from gi.repository import Gio from gi.repository import GLib dbuscon = Gio.bus_get_sync(Gio.BusType.SYSTEM, None) # define parameters dbuscon.call('org.freedesktop.FileManager1', '/org/freedesktop/FileManager1', 'org.freedesktop.FileManager1', 'ShowItems', parameters, None, Gio.DBusCallFlags.NONE,...

Right way to get the `parameters` is like this: ```py parameters = GLib.Variant.new_tuple(GLib.Variant.new_array(GLib.VariantType('s'), [GLib.Variant.new_string('ABC')]), GLib.Variant.new_string('DEF')) ```

Using the modulo operator?

> Some settings that change frequently (such as window position) should not be persisted immediately. Why is that? I guess, users will only rarely resize their window for multiple seconds....

Here are a few known issues caused by the architecture of exaile: * Exaile is written in python which is an interpreted language. In general, interpreted code is slower to...

PS: When I was using Windows a long time ago, I was using [foobar2000](https://www.foobar2000.org/) as a media player. It is using C++ for Windows, thus does not suffer from many...

> GDBus is nice because it doesn't add any dependencies but the API is bleh. For the mpris2 plugin (which uses GDBus) I wrote a `dbushelper` module that routes method...