Bashee does not follow symbolic links in library folder

Bug #406667 reported by Paulo J. S. Silva
72
This bug affects 14 people
Affects Status Importance Assigned to Milestone
Banshee
Fix Released
Wishlist
banshee (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: banshee

pjssilva@leia:~$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

pjssilva@leia:~$ apt-cache policy banshee
banshee:
  Instalado: 1.4.3-3ubuntu2
  Candidato: 1.4.3-3ubuntu2
  Tabela de versão:
 *** 1.4.3-3ubuntu2 0
        500 http://archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

What I expected to happen:

I have my music collection organized using symbolic links. Part of it is in flac files and is located at /home/backup-cds/flac. Another part is made of mp3 bought in emusic and some other random files that are located in /home/musica. I have added a symbolic link in /home/musica to link to the flac using:

ln -s /home/backup-cds/flac /home/musica/flac

If I use that /home/musica location in banshee it does not find my flac files. The other music files are seen.

If delete the symbolic link and move the flac folder to /home/musica banshee can see it.

I would expect that banshee would follow the symbolic link. Rhythmbox does.

Related branches

Revision history for this message
Nick Lutsiuk (nickl) wrote :

Confirmed, my distro and banshee version are the same.

It is very disappointing, especially because usually there's not much to do to support symlinks, they should just be transparent. So why doesn't Banshee follow them?

And I must add that organizing music this way is SO handy, it allows one to assemble media collection from a bunch of shards scattered around the hard drive(s), and then this collection can be easily imported into any jukebox (well, now except Banshee). Not to mention easier backup, but I guess it depends on your procedure.

Please, fix it.

Revision history for this message
Ananth P (ananthp) wrote :

I confirm the problem. Interestingly if the files are directly under the sym link folder, banshee imports these files okay (including flac). But sym links are not working if they are one level down.

sym-link-to-folder > music-file.flac ----------> banshee imports these files
regular-folder > sym-link-to-folder > music-file.flac -----------> banshee doesn't import anything

This means banshee understands symbolic links. But there seems to be a bug in specific scenario.

Revision history for this message
Brad Johnson (brad-bkjohnson) wrote :

Absolutely identical problem with version 1.5.1

/home/brad/Music = music found
/home/brad/Music/symlink to more music = music NOT found

Revision history for this message
Chow Loong Jin (hyperair) wrote :

Confirming.

Changed in banshee (Ubuntu):
status: New → Confirmed
Revision history for this message
Alexander Artyukhin (alexander-artyukhin) wrote :

Confirmed on 1.5.2. Any solutions?

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 406667] Re: Bashee does not follow symbolic links in library folder

On Saturday 09,January,2010 05:05 AM, Alexander Artyukhin wrote:
> Confirmed on 1.5.2. Any solutions?
>
A workaround would be mount --bind /source/path /new/path where you'd previously
use ln -s /source/path /new/path, scan, and then replace the bind mount with the
symlink. The upstream bug seems to have an issue with detecting symlink loops.
Requires too much memory or something.

--
Kind regards,
Chow Loong Jin (GPG: 0x8F02A411)
Ubuntu Contributing Developer

Changed in banshee (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.4 KiB)

This bug was fixed in the package banshee - 1.5.5-1

---------------
banshee (1.5.5-1) unstable; urgency=low

  * New upstream release
    + New Features:
      - Gapless Playback / Playbin2 (LP: #45518, #377354)
      - Grid View
      - YouTube Extension
    + Enhancements:
      - Improve search responsiveness on large libraries (LP: #474514)
      - Add icons for Nexus One and Audiobooks (LP: #532182)
      - Play Queue item count, size, duration now ignores old tracks
      - Muinshee fixes: disable Auto-DJ, allow reordering, hide previous song
    + Notable bug fixes:
      - Fix a very common, SQL-related crash in 1.5.4 (Closes: #572136)
      - Fix saving equalizer settings in culture-invariant way
      - Jumping to a source's prefs via its context menu works again
      - Usage data not submitted more than every 48 hours
      - Fix repeatedly resyncing some files to a device b/c transcoded
      - Clear the redo stack on shuffle mode change
      - Accept feeds with empty title (LP: #468323)
      - Uri encode file location queries, making them work properly
  * debian/control:
    + Bump gst-plugins-base-dev version for gapless playback
    + Add libgdata-cil-dev for youtube extenesion
  * debian/rules:
    + Add --enable-gapless-playback and --enable-gdata

banshee (1.5.4-1) unstable; urgency=low

  * New upstream release (Closes: #571734)
    + New features:
      - Opt-In Usage Data Collection
      - Default Equalizer Presets
      - Extensible Shuffle Modes
    + Enhancements:
      - Wikipedia context pane extension enabled by default
      - Add support for Nokia N900 phones
      - Add tooltip to playback error column
      - On close Internet Archive item, return to Search
      - Notify user if trying to sync missing file to DAP
      - Popup explanation of manual playlist ordering when appropriate
      - Simplify the default set of columns in Podcasts
      - Enable 'Delete From Drive' action in File System Queue
      - Coverart for unicode artist/albums now supported
      - Dropped glade-sharp dep; GNOME 3.0 ready
      - Add columns showing track sample rate and bits per sample
      - Option to sort an artist's albums by year, not title
      - If starting Banshee hidden (--hide), up to half a second of
        startup time is saved
    + Notable bug fixes:
      - Enable LibraryWatcher only for Music and Video libraries
      - Do better job preserving IsCompilation metadata
      - Store some PlayQueue settings in the db (not GConf)
      - Update to Last.fm's API change for scrobbling/recs
      - Bring back static FileNamePattern API used by some scripts
      - Fix several memory leaks
    + Other bugs fixed:
      - Fix segfault with Cairo when playing a song without album art (LP: #523913)
      - Follow symlinks when scanning the library (LP: #406667)
      - Fix issue importing mp3s with non-ASCII ID3 tags (LP: #364562)
  * debian/control:
    + Bump libtaglib-cil-dev version requirement to 2.0.3.5
    + Drop libglade2.0-cil-dev and libgnome2.0-cil-dev build-dep
    + Add libwebkit-cil-dev to build-deps
  * debian/rules:
    + Reorder configure flags to match upstream's ./configure --help listing
    + Ad...

Read more...

Changed in banshee (Ubuntu):
status: Fix Committed → Fix Released
Changed in banshee:
importance: Unknown → Wishlist
status: Unknown → Fix Released
Revision history for this message
JC (nothingness) wrote :

Ubuntu 64-bit 10.10
gnome 2.32.0
Banshee 1.9.3
music stored in my music folder

debug log:
john@john-Satellite-A505:~$ banshee --d
[Info 21:15:28.290] Running Banshee 1.9.3: [Ubuntu 10.10 1c67ab6 (linux-gnu, x86_64) @ 2011-02-03 18:24:39 UTC]
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-enable-event-sounds' of type `gboolean' from rc file value "((GString*) 0x1b1ea40)" of type `gboolean'
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-enable-input-feedback-sounds' of type `gboolean' from rc file value "((GString*) 0x1b1eee0)" of type `gboolean'
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-button-images' of type `gboolean' from rc file value "((GString*) 0x1b1ee80)" of type `gboolean'
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-menu-images' of type `gboolean' from rc file value "((GString*) 0x1b1e200)" of type `gboolean'
[Info 21:15:29.318] Updating web proxy from GConf
[Info 21:15:29.349] All services are started 0.845698
[Info 21:15:30.441] nereid Client Started

(Banshee:7849): Gtk-WARNING **: Attempting to read the recently used resources file at `/home/john/.recently-used.xbel', but the parser failed: Error reading file '/home/john/.recently-used.xbel': Is a directory.

(Banshee:7849): Gtk-WARNING **: Attempting to store changes into `/home/john/.recently-used.xbel', but failed: Failed to rename file '/home/john/.recently-used.xbel.O0F4PV' to '/home/john/.recently-used.xbel': g_rename() failed: Is a directory

Debug in kde 4.6:
[Info 21:19:47.406] Running Banshee 1.9.3: [Ubuntu 10.10 1c67ab6 (linux-gnu, x86_64) @ 2011-02-03 18:24:39 UTC]
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-enable-event-sounds' of type `gboolean' from rc file value "((GString*) 0x1d7f060)" of type `gboolean'
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-enable-input-feedback-sounds' of type `gboolean' from rc file value "((GString*) 0x1d7f460)" of type `gboolean'
[Info 21:19:48.528] Updating web proxy from GConf
[Info 21:19:48.564] All services are started 0.950365
[Info 21:19:49.657] nereid Client Started

(Banshee:8436): Gtk-WARNING **: Attempting to read the recently used resources file at `/home/john/.recently-used.xbel', but the parser failed: Error reading file '/home/john/.recently-used.xbel': Is a directory.

(Banshee:8436): Gtk-WARNING **: Attempting to store changes into `/home/john/.recently-used.xbel', but failed: Failed to rename file '/home/john/.recently-used.xbel.7HOIQV' to '/home/john/.recently-used.xbel': g_rename() failed: Is a directory

Revision history for this message
Guillaume Giroux (gug-microflex) wrote :

issue seems to be back in natty alpha 2 with banshee 1.9.2-1ubuntu1

Revision history for this message
snoopt (snoopt) wrote :

seems the same in 2.0.0

Revision history for this message
Chow Loong Jin (hyperair) wrote :

On Thursday 07,April,2011 05:30 PM, snoopt wrote:
> seems the same in 2.0.0
>

What's your use case? For example, are you running a fresh new scan for music,
or clicking "Rescan Music Library" or just putting some music into the symlinked
directory with the LibraryWatcher extension enabled?

  affects ubuntu/banshee
  status incomplete

--
Kind regards,
Loong Jin

Changed in banshee (Ubuntu):
status: Fix Released → Incomplete
Revision history for this message
snoopt (snoopt) wrote :

Sorry, I made a mistake. Nothing to do with symlink. My error was due corrupted ntfs partition.

Revision history for this message
Victor Vargas (kamus) wrote :

snoopt, if you encounter a new issue please fill a new report about it.

Changed in banshee (Ubuntu):
importance: Undecided → Wishlist
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.