i18n breaks Smart Playlists

Bug #382951 reported by Ricardo Pérez López
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Banshee
Fix Released
Critical
banshee (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: banshee

The Smart Playlists engine doesn't work properly when I run Banshee in my
Spanish desktop (with es_ES locale).

Steps to reproduce:

1. Start banshee using other locale than English (I use Spanish).
2. Select Media -> New Smart Playlist (in Spanish: Multimedia -> Nueva lista de
reproducción inteligente).
3. Click on "Predefined Smart Playlists" (in Spanish: "Listas de reproducción
inteligentes predefinidas").
4. Click on "Recent Favorites - Songs listened to often in the past week" (in
Spanish: "Favoritos recientes - Canciones escuchadas a menudo en la última
semana").
5. Click on "Open in editor" (in Spanish: "Abrir con editor").

Results:

- When you run Banshee in English, you get the (right) following options in the
playlist editor:

  "Last Played" - "less than" - "1,0" - "weeks" ago
  "Play Count" - "more than" - "3"

However, when you run Banshee in Spanish, you get the following (wrong)
options:

  "<blank>" - "contiene" - "played<1 week ago"
  "Número de reproducciones" - "más que" - "3"

The first option is wrong, so the generated playlist is useless. There's
obviously an insane interaction between i18n and Smart Playlists.

Using Ubuntu 9.04 (fully updated).

$ apt-cache policy banshee
banshee:
  Installed: 1.4.3-3ubuntu2
  Candidate: 1.4.3-3ubuntu2
  Version table:
 *** 1.4.3-3ubuntu2 0
        500 http://archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

Related branches

Revision history for this message
Ricardo Pérez López (ricardo) wrote :

Due to the same issue, the "Recently added" smart playlist doesn't work when using Spanish language.

To reproduce: in the left pane, right-click on "Recently added" playlist under "Music Library" and select "Edit Smart Playlist". (In Spanish: right-click on "Añadidos recientemente" under "Fonoteca" and select "Editar lista de reproducción inteligente").

Results:

- When you run Banshee in English, you get the (right) following options in the playlist editor:

  "Date Added" - "less than" - "1.0" - "weeks" ago

- However, when you run Banshee in Spanish, you get the following (wrong) option:

  "<blank>" - "contiene" - "added<1 week ago"

which doesn't work.

Changed in banshee:
status: Unknown → Incomplete
Revision history for this message
Ricardo Pérez López (ricardo) wrote :

The bug is fixed in 1.5.0 version. It can be tested using the PPA for Banshee Unstable:

  https://launchpad.net/~banshee-unstable-team/+archive/ppa

Changed in banshee (Ubuntu):
importance: Undecided → Low
status: New → Fix Committed
Changed in banshee:
status: Incomplete → Unknown
Changed in banshee:
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (7.4 KiB)

This bug was fixed in the package banshee - 1.5.1~git2260a87-0ubuntu1

---------------
banshee (1.5.1~git2260a87-0ubuntu1) karmic; urgency=low

  [ Chow Loong Jin ]
  * debian/control, debian/changelog:
    + Use mono-csc instead of csc for MCS.
    + Bump mono-devel version to 2.4.2 for mono-csc

  [ Iain Lane ]
  * Upload upstream snapshot from revision 2260a87. FFe granted on IRC by
    ScottK and sistpoty. Uploading a snapshot as 1.5.1 is almost released,
    which has a lot of improvements over 1.5.0. We have preliminary SRU
    approval to update to 1.5.1 final if it is released after Karmic, subject
    to the usual criteria:

    New Features:

    - Play Queue Auto DJ keeps the tunes coming
    - Shuffle by album and artist
    - Shuffle by weighted rating and score mode
    - Add tooltips for ellipsized ListView text
    - Keep the playing song visible in the track list
    - Add support for WebOS devices
    - Add support for the Samsung Galaxy Android Phone

    Enhancements:

    - When user picks new sort column, default to sort ascending
    - Drop the " Library" suffix on the Music and Video sources
    - Add thin highlight to ListView selection for 3D effect
    - Keyboard shortcut (ESC) to clear the search box
    - Expose LAME's "preset" option
    - Added a --gconf-base-key for running sandboxed
    - Trim URL pasted from clipboard to podcast dialog
    - Allow selection of multiple folders on import
    - Support playlists on Android G1 devices
    - Better support for devices running Rockbox
    - Set video sync folder for Android and WebOS devices
    - Made the error message label selectable
    - Save and load the Gtk.AccelMap
    - Added taglib/oga mimetype to the vorbis audio profile
    - Auto-completion for composer, conductor, grouping and copyright
    - Added the 'comment' search filter
    - Selectable song properties
    - Show a tooltip in track editor when the property is truncated

    Notable bug fixes:

    - Fix blank MimeTypes for tracks ripped before 1.4
    - Fix a Bit Rate column sizing glitch
    - Fix browser positioning when Banshee is maximised
    - Fix compilation metadata reading and writing
    - Work with new notification-daemon
    - Avoid needlessly syncing iPods twice
    - Deterministically sort sources to avoid fluttering
    - Look for Rhythmbox db at both new and old paths
    - Fix bug with scrobbling after skipping a track
    - Fix crash in equalizer
    - Fix an exception on startup when DBus is disabled
    - Fix off-by-one-day date querying bug
    - Fix a UI/spacing glitch in the Smart Playlist Editor
    - Don't hide the track info popup while it has focus
    - Prevent endless "Searching for CD metadata..."
    - Fix Last.fm now-playing for non-decimal track lengths
    - Dispose the SqliteCommand after it's executed
    - Fix notification area popup positioning on multi-monitor systems
    - Fix the playing indicator when song in list more than once
    - Fix crash when opening the profile conf dialog
    - Fix crash stopping jobs on shutdown
    - Fix notification area popup flashing
    - Trim filename dots and spaces to be NTFS compliant
    - Stop playing from audio CD ...

Read more...

Changed in banshee (Ubuntu):
status: Fix Committed → Fix Released
Changed in banshee:
importance: Unknown → Critical
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.