Browsing entire collection

Asked by Marius Vordal

Hi,

I recently switched to Exaile from Rhythmbox, and I'm loving it so far. One problem, however, is that I simply have not been able to find a way to browse my collection without opening the "Entire library" play list. Surely I must have missed something? It really seems to me that the intuitive way to browse your collection is to select the "Collection" tab and simply enter nothing in the search field. Is there any way for me to achieve such or similar functionality (by way of a plugin or some obscure setting in preferences, perhaps), or am I stuck with browsing through the "Entire library" play list as the only option?

Also, if there really is no other way to browse my collection, I'd very much like to know where I can place a feature request.

Best regards,
Marius

Question information

Language:
English Edit question
Status:
Solved
For:
Exaile Edit question
Assignee:
No assignee Edit question
Solved by:
Marius Vordal
Solved:
Last query:
Last reply:
Revision history for this message
Mathias Brodala (mathbr) said :
#1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

Marius Vordal, 18.05.2009 23:30:
> It really
> seems to me that the intuitive way to browse your collection is to
> select the "Collection" tab and simply enter nothing in the search
> field.

This is the way it is supposed to be and usually works. I wonder why
that does not seem to be the case for you. What happens if you open
Exaile? Does the collection tab get populated with your collection after
a few seconds?

If you see nothing, try starting Exaile from a terminal and let us know
the output.

Regards, Mathias

- --
debian/rules
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoR1JUACgkQYfUFJ3ewsJh/eACfV6PsLToH2iVqk6ELvtTZNNQg
eyMAn1e8SyagZEmzfd6YZEvuRtQw/8QO
=UPUb
-----END PGP SIGNATURE-----

Revision history for this message
Marius Vordal (mariuslv-gmail) said :
#2

Hi Mathias, and thanks for a very speedy reply :-)

I started Exaile from a terminal, having first made sure to uninstall all my plugins, but still do not get a populated collection tab. Just to make sure there is no misunderstanding, I DO get results when I search for something, but leaving the search field blank, or even actively clearing it and pressing Enter, does not make my entire collection appear.

Here is the output from the terminal:

marius@marius-desktop:~$ exaile
/usr/share/exaile/xl/library.py:17: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5, os, random, re, threading, time, traceback, gc, sys
location: /usr/lib/xulrunner-1.9.0.10/libxpcom.so
before 3
Exaile 0.2.14
Activated gnome mmkeys for gnome 2.22.x
Using multimedia keys from: gnome
loading tracks...
Created db for thread Thread-1
{'Thread-1': <sqlite3.Connection object at 0x34ecab0>}
Starting scan timer at 25.0
/usr/share/exaile/xl/media/__init__.py:61: DeprecationWarning: object.__init__() takes no parameters
  long.__init__(self, num)
Closed db for thread Thread-1
done loading tracks...
loading songs
Clearing tracks cache
Importing /home/marius/.exaile/saved/playlist0000.m3u
Last playlist loaded
Loading page 0
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/share/exaile/xl/panels/collection.py", line 675, in append_info
    gtk.gdk.pixbuf_new_from_file_at_size(album_cover, 20, 20)
GError: Error interpreting JPEG image file (Application transferred too few scanlines)

Exception in thread Thread-6:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/share/exaile/xl/panels/collection.py", line 675, in append_info
    gtk.gdk.pixbuf_new_from_file_at_size(album_cover, 20, 20)
GError: Error interpreting JPEG image file (Application transferred too few scanlines)

I hope you can make sense of it, because I sure am no Linux wizard.

Thanks again!

Revision history for this message
Marius Vordal (mariuslv-gmail) said :
#3

Just to make sure the problem was not somehow related to the minor changes I have done to Exaile since installing (as far as I can recall, this only includes replacing the default icons), I purged it and did a reinstall using apt-get. I also did a reinstall via Synaptic (although I realize this in reality is probably the exact same thing as installing using apt-get). In neither case did it solve the problem. The terminal output after reinstall looks more or less the same as before. I post it here, though I doubt that it contains any significant new information.

marius@marius-desktop:~$ exaile
/usr/share/exaile/xl/library.py:17: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5, os, random, re, threading, time, traceback, gc, sys
location: /usr/lib/xulrunner-1.9.0.10/libxpcom.so
before 3
Exaile 0.2.14
Activated gnome mmkeys for gnome 2.22.x
Using multimedia keys from: gnome
Starting scan timer at 25.0
loading tracks...
Created db for thread Thread-1
{'Thread-1': <sqlite3.Connection object at 0x2cebab0>}
/usr/share/exaile/xl/media/__init__.py:61: DeprecationWarning: object.__init__() takes no parameters
  long.__init__(self, num)
Closed db for thread Thread-1
done loading tracks...
loading songs
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/share/exaile/xl/panels/collection.py", line 672, in append_info
    album_cover = self.exaile.cover_manager.fetch_cover(track, True)
  File "/usr/share/exaile/xl/covers.py", line 330, in fetch_cover
    cover = self.fetch_from_fs(track)
  File "/usr/share/exaile/xl/covers.py", line 370, in fetch_from_fs
    for f in glob.glob(os.path.join(dir, f.strip())):
  File "/usr/lib/python2.6/glob.py", line 16, in glob
    return list(iglob(pathname))
  File "/usr/lib/python2.6/glob.py", line 41, in iglob
    for dirname in dirs:
  File "/usr/lib/python2.6/glob.py", line 42, in iglob
    for name in glob_in_dir(dirname, basename):
  File "/usr/lib/python2.6/glob.py", line 61, in glob1
    return fnmatch.filter(names, pattern)
  File "/usr/lib/python2.6/fnmatch.py", line 47, in filter
    _cache[pat] = re.compile(res)
  File "/usr/lib/python2.6/re.py", line 190, in compile
    return _compile(pattern, flags)
  File "/usr/lib/python2.6/re.py", line 245, in _compile
    raise error, v # invalid expression
error: bad character range

Clearing tracks cache
Importing /home/marius/.exaile/saved/playlist0000.m3u
Last playlist loaded
Loading page 0

Revision history for this message
Marius Vordal (mariuslv-gmail) said :
#4

Another piece of information (sorry for all the separate posts): I don't know if it would have any bearing on the issue at hand, but I should perhaps mention that I am currently using a fully updated (including proposed and backport updates) version of Ubuntu 9.04, 64 bit edition.

/Marius

Revision history for this message
Mathias Brodala (mathbr) said :
#5

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

Marius Vordal, 18.05.2009 23:57:
> […]
>
> I hope you can make sense of it, because I sure am no Linux wizard.

I cannot see something related to your issue. Try quitting Exaile,
(re)moving your current $HOME/.exaile/music.db and starting Exaile
again. This way Exaile generates a fresh collection database.

Regards, Mathias

- --
debian/rules
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoR6eEACgkQYfUFJ3ewsJi2zACglVw8bQ38OVCEobcyNbW1Vtfn
aQUAoINOXhcIlI+O2g26ngOHzukOSVZw
=awvW
-----END PGP SIGNATURE-----

Revision history for this message
Marius Vordal (mariuslv-gmail) said :
#6

Thank you, but I'm afraid this did not solve my problem. I'm still at a loss.

Revision history for this message
reacocard (reacocard) said :
#7

hm, I've heard of people having this problem before, but I don't think we ever tracked down the exact cause.

Would you mind installing the alpha for exaile 0.3.0 off our downloads page and see if it has the same problem? The collection backend got a complete rewrite in 0.3.0 so there's a good chance it'll behave differently.

Revision history for this message
Marius Vordal (mariuslv-gmail) said :
#8

Hi Aren, and thanks for your suggestion.

Installing the latest 0.3.0 alpha certainly did solve my problem, and it even made the libnotify plugin work consistently and properly (yay!). However, on first glance it is also apparent that I have now introduced some new problems:

1) I am no longer able to manually set album covers ("fetch cover" is the only option for setting album art when right-clicking the album art placeholder).
2) Album covers are no longer displayed in the collection tab, and there doesn't seem to be an option to have them displayed.

Considering what an alpha version is, I don't know how fair it is to expect these issues to be fixable at the current stage, and I hesitate to start posting questions to have them solved. However, if anyone does happen to know how to solve any of these I would be happy. As things are right now, I might just decide that I prefer my previous problem to these new ones.

Revision history for this message
reacocard (reacocard) said :
#9

Yes, those problems are known. 0.3.0 is a complete rewrite and we just haven't gotten to those features yet - they should be in place by the final release however.

Revision history for this message
Marius Vordal (mariuslv-gmail) said :
#10

I reinstalled the stable version, and I solved the problem. Or rather, I found a workaround. It would appear the problem was related to the option "Show album covers in collection tab". Once I deselected this option from preferences the collection browser started behaving as it should. However, nowhere is there any information indicating that this might happen, only a warning that it "may slow load times". The problem did not appear to be related to slow load times, because there was no indication that Exaile was making any attempt at loading anything, and at any rate, even after waiting for more than an hour the browser tab would still not be populated. Also, I changed the library settings so that Exaile would only import a handful of albums into my collection, but even with such a small collection it failed to populate the browser tab while the "Show album covers" option was selected.

The way I see it, this is still an unresolved issue, although I am content that I have at least found a way to conveniently browse my collection.

Incidentally, you mention the final release of version 0.3.0. I suppose it is too early to ask about an ETA on that?

Thanks for all your help so far :-)

Revision history for this message
reacocard (reacocard) said :
#11

We hope to have 0.3.0 final out sometime this summer, but there is no firm date established yet.

Thanks for the info on the source of the problem.

Revision history for this message
Marius Vordal (mariuslv-gmail) said :
#12

OK, I guess we can close the thread after this one. On closer inspection the problem DOES seem to be related to the size of the collection, so you can entirely disregard what I said earlier. The only other explanation I can see would be that there are certain file types or corrupted files that cause the problem (I have a rather messy collection, so there might be any number of non-audio files and/or corrupted files in there), but you would know better than me whether or not that is a possibility. At any rate, until I have sorted through my entire collection I don't expect be able to determine if that is the case.