Giter VIP home page Giter VIP logo

sonata's Introduction

Sonata is looking for new maintainers!

I (@multani) don't use Sonata much anymore and as a consequence, I've been very slow to answer even to the few bugs reported and pull requests from external contributors.

If you are still interested in Sonata and would like to see it alive again, please contact me by email to see what we can do!

Sonata, an elegant GTK 3 client for the Music Player Daemon

Sonata is a client for the Music Player Daemon featuring:

  • Expanded and collapsed views, fullscreen album art mode
  • Automatic remote and local album art
  • Library browsing by folders, or by genre/artist/album
  • User-configurable columns
  • Automatic fetching of lyrics and covers
  • Playlist and stream support
  • Support for editing song tags
  • Drag-and-drop to copy files
  • Popup notification
  • Library and playlist searching, filter as you type
  • Audioscrobbler (Last.fm) 1.2 support
  • Multiple MPD profiles
  • Keyboard friendly
  • Support for multimedia keys
  • Commandline control
  • Available in 24 languages

Sonata is written using the Python programming language and uses the GTK 3 toolkit.

Sonata started as a fork of the Pygmy project and is licensed under the GPLv3 or later. Thanks to Andrew Conkling et al, for all their hard work on Pygmy!

Using Sonata

Requirements

In order to run Sonata, you will need the following dependencies:

  • Python >= 3.2
  • PyGObject (aka Python GObject Introspection) (3.7.4 or more recommended, earlier versions may also work)
  • GTK >= 3.4
  • python-mpd2 >= 2.0
  • MPD >= 0.15 (possibly on another computer)
  • tagpy >= 2013.1 for editing metadata (Optional)
  • dbus-python for multimedia keys (Optional)

Sonata can currently be downloaded from the Git repository using:

$ git clone git://github.com/multani/sonata.git
$ cd sonata

To run Sonata, you can either install it in a dedicated directory (as root):

# python setup.py install

Or you can run it straight from the directory (without prior installation):

$ ./run-sonata

Sonata in Linux distributions

You can find on the website official releases of Sonata packaged in various distributions.

Development version

This development version of Sonata is also available in several distributions:

Note

For distribution-specific comments, please contact the packagers at the specified URLs!

Website, documentation, help, etc.

You can find the official documentation on Sonata's website <http://www.nongnu.org/sonata/documentation.html>.

You can ask for feature requests or report bugs on Github at <https://github.com/multani/sonata/issues>.

There's a (somewhat alive) mailing list available at <https://lists.nongnu.org/mailman/listinfo/sonata-users>.

See also

You can also find Sonata in other places on the Internet:

  • http://sonata.berlios.de/ : this was the original Sonata website but Berlios shut down this hosting facility somewhere in March 2014 along with the mailing list.
  • http://codingteam.net/project/sonata/ : this is another fork with a different team and different perspectives. Our code bases diverge quite a bit now.

Copyright

Sonata is currently developed by Jonathan Ballet <[email protected]> and other contributors. Many thanks to the past developers:

sonata's People

Contributors

asterix78 avatar bebarino avatar benjamindebeerst avatar das-intensity avatar dolphinstkom avatar f0rki avatar gostsdmitry avatar hobophobe avatar kurisuke avatar lfam avatar lichray avatar master avatar meisterp avatar mic92 avatar multani avatar onto avatar pacodastre avatar ppnsd avatar quite avatar smcv avatar transifex-integration[bot] avatar tuukka avatar weyfonk avatar wmzb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sonata's Issues

Traceback from non-ascii (?) playlist

The problem was this playlist "yeni türkü sings Λοΐζος.m3u"

$ pip3 freeze
[...]
Sonata==1.6.2.1-344-gc8d2
distribute==0.6.30
pygobject==3.4.2
python-mpd2==0.4.6

(and python is 3.3, gobject-introspection 1.34.2)

Traceback (most recent call last):
File "/usr/local/bin/sonata", line 9, in
load_entry_point('Sonata==1.6.2.1-344-gc8d2', 'console_scripts', 'sonata')()
File "/usr/local/lib/python3.3/site-packages/sonata/launcher.py", line 166, in run
app = main.Base(args)
File "/usr/local/lib/python3.3/site-packages/sonata/main.py", line 889, in init
self.iterate_now()
File "/usr/local/lib/python3.3/site-packages/sonata/main.py", line 1235, in iterate_now
self.iterate()
File "/usr/local/lib/python3.3/site-packages/sonata/main.py", line 1195, in iterate
self.handle_change_status()
File "/usr/local/lib/python3.3/site-packages/sonata/main.py", line 1659, in handle_change_status
self.mpd_updated_db()
File "/usr/local/lib/python3.3/site-packages/sonata/main.py", line 1698, in mpd_updated_db
self.playlists.populate()
File "/usr/local/lib/python3.3/site-packages/sonata/playlists.py", line 217, in populate
self.populate_playlists_for_menu(playlistinfo)
File "/usr/local/lib/python3.3/site-packages/sonata/playlists.py", line 109, in populate_playlists_for_menu
self.mergepl_id = self.UIManager().add_ui_from_string(uiDescription)
File "/usr/lib/python3.3/site-packages/gi/overrides/Gtk.py", line 297, in add_ui_from_string
return Gtk.UIManager.add_ui_from_string(self, buffer, length)
File "/usr/lib/python3.3/site-packages/gi/types.py", line 47, in function
return info.invoke(_args, *_kwargs)
gi._glib.GError: Error on line 4 char 942: Document ended unexpectedly inside the close tag for element 'ui'

Winamp skin support

Hi. Winamp 2.x skins are pretty easy to understand and use (it just a bunch of images with transparent colors). Maybe would it possible to integrate them somehow easily with Sonata?

Crash at startup

pyrsmk@mahoro ~ % sonata
Traceback (most recent call last):
File "/usr/lib64/python3.2/site-packages/sonata/launcher.py", line 173, in on_application_activate
sonata = main.Base(args)
File "/usr/lib64/python3.2/site-packages/sonata/main.py", line 190, in init
self.provider = ui.css_provider('sonata')
File "/usr/lib64/python3.2/site-packages/sonata/ui.py", line 27, in css_provider
provider.load_from_path(css_path)
File "/usr/lib64/python3.2/site-packages/gi/types.py", line 113, in function
return info.invoke(_args, *_kwargs)
gi._glib.GError: sonata.css:7:17Junk at end of value

Add possiblity for keyboard navigation in filesystem library view

In the old stable sonata version there was ".." and "/" in the filesystem view, which allowed for quick navigation through the music library with the keyboard, which I personally was using heavily. This is missing now and I don't think there are equivalent intuitive shortcuts.
I'd like to see some possiblity to navigate through the filesystem view with the keyboard, e.g. by reintroducing ".." and "/".

the images don't displays from the folder

I noticed a singularity if the folder name is CD1, CD 1, Disk1 or Disk 1 (I don't know, maybe there are more additional specific names) - the images don't displays from the folder in Sonata
as a temporary solution - renamed all multi-disc edition to 1CD, 2CD..

UnicodeEncodeError after updating mpd: ascii codec can't encode \xe4

Today I ran mpd, ncmpcpp and sonata and everything worked fine. Then, after running pacman -Syu and it updating mpd, I tried to start sonata again. I'm now getting this error. I haven't run pacman -Syu for some weeks.

carstenh@arch-moteer8 ~> sonata
(sonata:8600): Gtk-WARNING **: Content added to the action area of a dialog using header bars
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/sonata/launcher.py", line 191, in on_application_activate
    sonata = main.Base(args)
  File "/usr/lib/python3.4/site-packages/sonata/main.py", line 759, in __init__
    self.iterate_now()
  File "/usr/lib/python3.4/site-packages/sonata/main.py", line 1065, in iterate_now
    self.iterate()
  File "/usr/lib/python3.4/site-packages/sonata/main.py", line 1026, in iterate
    self.handle_change_status()
  File "/usr/lib/python3.4/site-packages/sonata/main.py", line 1367, in handle_change_status
    self.info_update(True)
  File "/usr/lib/python3.4/site-packages/sonata/main.py", line 1169, in info_update
    update_all)
  File "/usr/lib/python3.4/site-packages/sonata/info.py", line 261, in update
    getattr(self, "_update_%s" % func)(songinfo)
  File "/usr/lib/python3.4/site-packages/sonata/info.py", line 278, in _update_song
    if os.path.exists(path):
  File "/usr/lib/python3.4/genericpath.py", line 19, in exists
    os.stat(path)
UnicodeEncodeError: 'ascii' codec can't encode character '\xe4' in position 52: ordinal not in range(128)

mpd.conf

mpd 0.19.8-1
sonata-git v1.7a2.r62.gace5e33-1
Kernel: Linux 3.17.6-1-ARCH x86_64

Libnotify support

Hi,

As Gnome user, I would love to see a native notification popup for the song changes. Any chance of this happening?

Diacritics fail when checking for file existence

I unrolled a quick workaround, slap this at line 180 of misc.py

try:
    x.encode('utf-8')
except UnicodeDecodeError:
    return 'workaround'

But this should be handled properly.
Btw im intrested in giving sonata new life, feel free to contact me if you need another coder :)

searches in wikipedia

A search about the artist or album always open en.wikipedia.org even
if the article exists in fr.wikipedia.org. And it seems impossible to
setup this. It would be nicer that the search starts with the french
language (system one) and then continue with the english one if no
answer...

Sonata crashes with double free error

Sonata crashes for me pretty regularly with an error like this. It seems to happen when the song changes, and not during, and seems more common with large playlists.

*** Error in `python3': double free or corruption (out): 0x00007f3e3c0015c0 ***
Aborted (core dumped)

I'm using Linux Mint 17 64-bit with Python 3.4.0 and Sonata 1.7a2-49-g1d75 pulled from git.

If you need more info or help debugging, let me know and I'll do what I can.

New icon

Let me first say that I really appreciate all the efforts that are going into Sonata. It's a great mpd client and I will not start using another client, no matter the outcome of this issue.

With that said, I think Sonata's icon can be improved. Currently, it's a music note, which is a little bit boring, to be honest, and also, there are lots of other music players that use the same music note more or less.

Now, I'm a guy who likes aesthetics but can't make icons himself. My proposition is to attract graphic designers by mentioning this on the README.md.

Too much requests for lyrics & covers at startup

When Sonata is launched while a track with no lyrics and no covers is playing, Sonata tries to download the matching lyric/cover several times in a row:

$ sonata -v
[2013-01-13 16:03:21] mpd: Calling MPD connect('localhost', 6600, timeout=None)
[2013-01-13 16:03:22] sonata.plugins.lyricwiki: Downloading lyrics from 'http://lyrics.wikia.com/index.php?title=Trash80:Pain%20Fade%20Down&action=edit'
[2013-01-13 16:03:22] sonata.artwork: Looking for covers for 'Darwinia Soundtrack: Listen To Us' from 'Trash80' (using covers_lastfm)
[2013-01-13 16:03:22] sonata.plugins.lyricwiki: Downloading lyrics from 'http://lyrics.wikia.com/index.php?title=Trash80:Pain%20Fade%20Down&action=edit'
[2013-01-13 16:03:23] sonata.artwork: Looking for covers for 'Darwinia Soundtrack: Listen To Us' from 'Trash80' (using covers_lastfm)
[2013-01-13 16:03:23] sonata.plugins.lyricwiki: Downloading lyrics from 'http://lyrics.wikia.com/index.php?title=Trash80:Pain%20Fade%20Down&action=edit'
[2013-01-13 16:03:24] sonata.artwork: Looking for covers for 'Darwinia Soundtrack: Listen To Us' from 'Various Artists' (using covers_lastfm)

This is not acceptable for several reasons:

  • it should not have this behavior : Sonata must request the lyrics and the cover only once per-track
  • it impacts performances on the user machine by launching useless tasks
  • it impacts the remote server by doing too much requests in a row. In particular, it seems lyricswiki bans the IP addess for a while (or so they say) if there are too many requests in a short interval.

tab settings are not saved

after editing display the tabs on the context menu (rotation, a music library, playlists, streams, information) is reset after reboot player ... exception is the local MTD tab, but the tab is determined by the plugin

Album Artist library view

Could you please add an Album Artist library view? I listen to a lot of compilations and having them split up between all their artists can get pretty annoying. Thanks.

manually searching for song lyrics

Suppose there is no lyrics for song: artista-title. I suspect there are lyrics for the song: artistb-title. Manually searching for artistb-title finds these lyrics but saves them as artistb-title.txt. (see logging file)

I think it is logical to save them under title artista-title.txt. This might also solve the problem that even when lyrics are found in the info window "lyrics not found" is shown and no lyrics are shown.

This worked correctly in the old version 1.6.2.1 that is, it worked correctly after I moved the line dialog.destroy() in main.py a few lines to the south.

covers in png files saved as jpg's

When last.fm delivers a png file as an image for a cover of an album it is shown correctly (I think) but it is saved as a jpg. Subsequently this cover is not a legitimate cover image and will not be shown by sonata.

I found this out by looking in the cover directory and noticed that some pictures were not loadable by a viewer. Changing the extension from jpg to png made the image viewable by that viewer. From this I deduced what seems to be wrong (the first sentence beginning with "When last..... ".

"stylized" artwork style broken

Commit 5b24bb5 removed the fullscreenalbumimage, but left over a reference on line 518 of artwork.py:

context = self.fullscreenalbumimage.get_style_context() 

Playlist: drag-and-drop reordering not working

The callback on_dnd(...) in current.py is never called.
On drag-and-drop playlist reording, signal 'drag-begin' is triggered, but instead of 'drag_data_received', we always get 'drag-failed'.

setup.py fails

creating /usr/share
creating /usr/share/sonata
error: can't copy 'README.old': doesn't exist or not a regular file

data_files = [
    ('share/sonata', ['README.old', 'CHANGELOG', 'TODO', 'TRANSLATORS']),
    ('share/applications', ['sonata.desktop']),
    ('share/man/man1', ['sonata.1']),
] + generate_translation_files()

Maybe README.rst instead? README.old was removed few days ago :)

Slow start with long playlist

I have a 10000+ entries playlist, which makes sonata take a long time to start up (I couldn't wait, just kill -9ed it...)

automatically change the window horizontally

I noticed one unpleasant feature... if you move through your music library and browse to the folder and name has more than ~70 characters... window automatically becomes wider horizontal... I do not know, maybe it's a feature gnome 3.8, but in other applications such behavior was not observed

sonata on OS X

Sonata seems to work fine on OS X with homebrew. I did have to change one line of code to make it work (see below). My notes:

  1. Installed the Sonata dependencies:

    brew install mpd
    brew install python3
    brew install gtk+3
    brew install --with-python --with-python3 pygobject3
    pip3 install python-mpd2

    On 2014-08-17 this added (with a lot of dependencies):

    mpd 0.18.12
    python 3.4.1
    gtk+3 3.12.2
    pygobject3 3.12.2
    python-mpd2 0.5.3
  2. Created a ~/.mpdconf file and restarted mpd.

  3. Downloaded sonata from github. On first try, ./run-sonata exits with an error:

    File "/path-to-sonata/sonata/launcher.py", line 106, in run
      locale.bindtextdomain('sonata', locales_path)
    AttributeError: 'module' object has no attribute 'bindtextdomain'

    In sonata/launcher.py

    locale.bindtextdomain('sonata', locales_path)

    was changed to

    gettext.bindtextdomain('sonata', locales_path)
  4. After this, ./run-sonata exits with a different error (not related to sonata):

    (run-sonata:99034): GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed

    Perhaps we only need the last line, but I ran the following three commands:

    brew install gsettings-desktop-schemas
    glib-compile-schemas /usr/local/Cellar/gtk+3/3.12.2/share/glib-2.0/schemas/
    export GSETTINGS_SCHEMA_DIR=/usr/local/Cellar/gtk+3/3.12.2/share/glib-2.0/schemas/

    Then ./run-sonata.py launched on OS X (Mavericks) and connected to the local mpd server -- made my day!

  5. As final touch: made a launcher app using the Applescript Editor, by saving the lines below as "Application" and updating the icon to something recognisable. (Note: any updates to gtk will need updates to the script)

    tell application "Terminal"
     do script "export GSETTINGS_SCHEMA_DIR=/usr/local/Cellar/gtk+3/3.12.2/share/glib-2.0/schemas/; /path-to-sonata/run-sonata ; exit"
    end tell

Installer puts $installdir/share stuff in wrong place

After clean install of sonata from source, using:

python2 ./setup.py install --prefix=/usr/local

Files and dirs which should go in /usr/local/share/ end up in

/usr/local/lib/python2.7/site-packages/Sonata-1.6.2.1-py2.7-linux-i686.egg/
sonata/share/{locale,man,pixmaps,foo}

Connecting to another MPD leaves state unchanged.

Suppose you have mpda and mpdb. Sonata is connected to mpda. If you change the connection to mpdb, your current queue, covers and other things stay unchanged. If you first disconnect from mpda and then connect to mpdb everything is as expected: the current playlist is correct. I tested this on 1.6.2.1 and on the latest sources: both show this behaviour.

DistributionNotFound

Clean install from git, on fresh Arch Linux; /usr/bin/python -> python3

Traceback (most recent call last):
File "/usr/local/bin/sonata", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 2808, in
working_set.require(requires)
File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 690, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 588, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Sonata==1.6.2.1

Size of the local covers in infos tab

As i already have quite all the covers of my albums in the directories
with the music, i use them first. The problem is that some of them are
quite big, because if i normally resize them to 300x300 (the good size
for my mp3 player) somme are not.

And in the infos tab, the image is not resized at all, so all the text
is pushed out of the window!

It should be nice to be able to define the max size of this image, as
well as the smaller one on the left top.

--hidden gives harmless Traceback

I can see no harmful side-affects of these tracebacks, but they do occur...
When sonata is invoced, music is indeed playing and there is a cover.jpg
is the song's directory.

kelebek:~> sonata --hidden
Error grabbing key 173, 0x8e09050
Error grabbing key 171, 0x8e09050
Error grabbing key 172, 0x8e09050
Error grabbing key 174, 0x8e09050
/usr/local/lib/python2.7/site-packages/sonata/img.py:23: GtkWarning: gdk_pixbuf_scale_simple: assertion `dest_width > 0' failed
crop_pixbuf = pixbuf.scale_simple(image_width, image_height, gtk.gdk.INTERP_HYPER)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/sonata/artwork.py", line 491, in artwork_set_image
pix2 = img.pixbuf_add_border(pix2)
File "/usr/local/lib/python2.7/site-packages/sonata/img.py", line 29, in pixbuf_add_border
width = pix.get_width()
AttributeError: 'NoneType' object has no attribute 'get_width'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/sonata/artwork.py", line 491, in artwork_set_image
pix2 = img.pixbuf_add_border(pix2)
File "/usr/local/lib/python2.7/site-packages/sonata/img.py", line 29, in pixbuf_add_border
width = pix.get_width()
AttributeError: 'NoneType' object has no attribute 'get_width'

Won't start, UnicodeDecodeError

Since somewhere after the change to gtk3 it won't launch again on Arch Linux

[lartza@arch ~]$ sonata

(sonata:24222): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:85:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:207:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:243:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:290:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:325:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:416:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:773:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1881:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1998:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2015:18: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2031:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2089:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2096:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2109:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2173:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2223:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2238:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2347:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: nautilus.css:46:15: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: nautilus.css:46:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: nautilus.css:94:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: nautilus.css:99:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: nautilus.css:128:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: nautilus.css:133:18: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: nemo.css:46:15: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: nemo.css:46:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: nemo.css:94:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: nemo.css:99:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: nemo.css:128:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: nemo.css:133:18: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: unity.css:23:18: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: epiphany.css:12:17: Not using units is deprecated. Assuming 'px'.

(sonata:24222): Gtk-WARNING **: Theme parsing error: epiphany.css:149:17: Not using units is deprecated. Assuming 'px'.
Traceback (most recent call last):
  File "/usr/bin/sonata", line 9, in <module>
    load_entry_point('Sonata==1.6.2.1', 'console_scripts', 'sonata')()
  File "/usr/lib/python3.3/site-packages/sonata/launcher.py", line 166, in run
    app = main.Base(args)
  File "/usr/lib/python3.3/site-packages/sonata/main.py", line 180, in __init__
    self.settings_load()
  File "/usr/lib/python3.3/site-packages/sonata/main.py", line 1275, in settings_load
    self.config.settings_load_real()
  File "/usr/lib/python3.3/site-packages/sonata/config.py", line 140, in settings_load_real
    conf.read(os.path.expanduser('~/.config/sonata/sonatarc'))
  File "/usr/lib/python3.3/configparser.py", line 690, in read
    self._read(fp, filename)
  File "/usr/lib/python3.3/configparser.py", line 995, in _read
    for lineno, line in enumerate(fp, start=1):
  File "/usr/lib/python3.3/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1437: ordinal not in range(128)

You can also see someone else having problems at https://aur.archlinux.org/packages/sonata-fork-git/ I am the packager and it seems that user didn't report here, so I did now that I had time.

Not sure if it's a problem in Sonata or with the shift from python-mpd to python-mpd2

limited adjustments window size horizontally... window is very large

I think that it is necessary to change the limit to ~ 270 of pixels horizontally... it would be perfect for the aesthetic appearance in English, Russian and Ukrainian translation of application. Also think it is necessary to reduce the distance between the buttons multimedia controllers.

Cannot edit metatags

Hi,

I'm on Gentoo Linux. I have taglib and tagpy installed but sonata seems to cannot found those. I don't know how to debug that because sonata does not echoing anything on the console.

Go fullscreen on startup

As for the "sonata --hidden --fullscreen", can you open another pull request if you have a fix?

I don't have a fix. To do it cleanly, and without redundant code, one would somehow have
to detect that the dbus.execute_remote_commands() call in Args.parse() didn't succeed
to connect to dbus, and that it chose to "[start] Sonata instead" (have a return code from it?)
Then after sonata has started properly, that call should be re-made.

Plugins saving

Sonata seems to not save my active plugins at close. It starts and restores following default active plugins, LyricWiki and Local MPD, which I have disabled twice.

Maybe a permissions issue?

automatic change of value withdrawn = True

after upgrading to Gnome 3.10 increasingly falls error associated with withdrawn... symptom - after you close the application and restart it in the settings withdrawn is set to the True and the application runs as a transparent framing applications with the ability to close it... I have to change the value of drawing on false by hand... cause is not known, reproduced periodically

integration with gnome 3.10

need to integration with the gnome 3.10... most likely a problem with new version gtk (3.10.2) or pygobject (3.10.2)... distorting display in the playlist, everything stands out when go through the mouse... when I run the application it crashes with this error, if not then when you select a track from the playlist:

sonata

(sonata:21693): Gtk-WARNING **: Theme parsing error: sonata.css:7:17: Not using units is deprecated. Assuming 'px'.

(sonata:21693): Gtk-WARNING **: Theme parsing error: sonata.css:11:17: Not using units is deprecated. Assuming 'px'.

(sonata:21693): Gtk-WARNING **: Theme directory apps/scalable of theme mst3 has no size field

**
Gtk:ERROR:gtktextview.c:3892:gtk_text_view_validate_onscreen: assertion failed: (priv->onscreen_validated)
Аварийный останов

integration with gnome 3.12

I have been noticing a bug with display and volume control in Sonata after upgrade to Gnome 3.12. I'm not sure, maybe it was provoked by the other updates when gnome was updated.

2014-07-29

Handle plugins' repositories

There are a few plugins' repositories out there, a quick search on Github gives the following results:

I think I saw a few in Gitorious, but I can't find them right now.

It seems there's some code for limited support of this kind of repository in https://github.com/multani/sonata/blob/master/sonata/pluginsystem.py#L11

If we'd like to have more of those and to encourage plugins, it might be a good idea to improve the code and the UI to support this goal.
The code must be able to deal with several repositories, and several identical plugins.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.