• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Strawberry Music Player Forums
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • S

      Duplicate entries when importing database from Clementine

      Wiki
      • • • shadowfire
      5
      0
      Votes
      5
      Posts
      171
      Views

      S

      Unfortunately this wasn't the right fix. After re-doing the procedure (with a full rescan in Clementine and a reset database in Strawberry) Strawberry duplicated every entry in my list.

      Note that I have 36 directories in my library, the reason why this issue matters to me.

      After pondering for a while I decided to compare table entries for a specific directory path from a song and then I noticed this:

      clementine.db: table: column(s): songs directory: 45 directories rowid: 36 subdirectories rowid: 7 directory: 45 strawberry.db: table: column(s): songs directory_id: 45 directory_id: 36 (duplicate that appeared after rescan) directories rowid: 36 subdirectories rowid: 36 directory_id: 45 rowid: 72 directory_id: 36 (duplicate that appeared after rescan)

      I think the issue is that Clementine seems to associate songs->directory with subdirectories->directory while Strawberry associates directory_id with directories->rowid.

      Unfortunately my sql skills are very rusty so I didn't want to spend even more time trying to come up with a fix. Instead I opted for a different procedure:

      Removed strawberry.db and Strawberry cache directory, start Strawberry and exit to reset the database. Migrated the directories table (using sql because of efficiency.) Copied over album covers. Started Strawberry again, did a full rescan, then exit. Used this script by Rolf to import song statistics and ratings:
      https://forum.strawberrymusicplayer.org/topic/113/import-ratings-from-other-players-esp-clementine Started Strawberry again and did full rescan again.

      After creating a playlist with the 'All tracks' smart playlist the total song count was almost the same. A minor discrepancy was caused by a corrupt file name (which broke the scan of one directory) and a few corrupted media files. But that's easy to fix.

      i(Btw. I didn't care about migrating playlists since I've got only a hand full of smart playlists which I can easily recreate manually.)

    • E

      Transcoder won't write AAC files with more than 128kbps

      Technical Help
      • • • econnolly
      4
      0
      Votes
      4
      Posts
      466
      Views

      J

      I've managed to fix this issue for myself by overriding Strawberry to use custom avenc_aac settings.

      I created a write up here: https://gist.github.com/jvgomg/38089836f8f47aa6dcf628edac0dec08

      The ultimate solution would be to fix some issues with how transcoding settings work in Strawberry, and to have a build of FDK-AAC on your system. But getting avenc_aac working with higher bitrate sounds pretty good to me!

    • T

      Compile player without streaming services

      Technical Help
      • • • terriz
      2
      0
      Votes
      2
      Posts
      39
      Views

      jonasJ

      @terriz

      You can pass the following to cmake:

      -DENABLE_TIDAL=OFF -DENABLE_QOBUZ=OFF -DENABLE_SPOTIFY=OFF -DENABLE_SUBSONIC=OFF
    • K

      Can't play radio :(

      Technical Help
      • • • kgrass
      2
      0
      Votes
      2
      Posts
      67
      Views

      jonasJ

      @kgrass
      It looks like a missing gstreamer plugin, do you have an example for a URL that doesn't work?

    • crakilaC

      Last.fm ignore ignore messages

      Technical Help
      • • • crakila
      2
      0
      Votes
      2
      Posts
      66
      Views

      jonasJ

      @crakila
      There is an option in Tools / Settings / Scrobbler: "Show dialog for errors".

    • R

      Fonts became too big suddenly

      Technical Help
      • • • raphaelmsx
      2
      0
      Votes
      2
      Posts
      83
      Views

      R

      Never mind, updated to latest version and it's fine now!

    • P

      Syncing the playlists to disk

      Feature Suggestions
      • • • petko10
      6
      6
      Votes
      6
      Posts
      978
      Views

      Sharky-PIS

      Strawberry Playlist Sync Tool

      Sync your Strawberry Music Player playlists to disk M3U files with duplicate detection, automatic backups, and smart conflict resolution.

      Features

      Duplicate Detection: Find and remove duplicate tracks within playlists Exact duplicates (same file added multiple times) Optional fuzzy matching (same title/artist, different files) Playlist Sync: Export database playlists to M3U files Creates timestamped backups before overwriting Shows what's added/removed before syncing Add-only mode to preserve disk entries Recursive subdirectory scanning Multiple playlist directory support Backup Rotation: Automatically clean up old backup files Keep N backups per playlist (default: 3) Delete backups older than N days (default: 60) Count takes priority (always keeps minimum backups) Never-Sync List: Skip utility playlists you don't want exported Managed via neversync.txt in your playlist folder Interactive prompts to add playlists during review

      Requirements

      Python 3.6+ (standard library only, no pip installs needed) Linux, macOS, or Windows

      Installation

      Save the script to your preferred location, e.g.:
      ~/.local/share/strawberry/strawberry/strawberry-playlist-sync.py Make it executable (Linux/macOS):
      chmod +x strawberry-playlist-sync.py Optionally create a desktop shortcut (see below).

      Usage

      Interactive Mode

      ./strawberry-playlist-sync.py
      Presents a menu to choose between duplicate checking, syncing, and backup cleanup.

      Command-Line Mode

      Dry run (preview changes without writing):
      ./strawberry-playlist-sync.py -s -p ~/Music/playlists --dry-run

      Dry run with full track details:
      ./strawberry-playlist-sync.py -s -p ~/Music/playlists --dry-run -v

      Sync playlists to disk:
      ./strawberry-playlist-sync.py -s -p ~/Music/playlists

      Sync including subdirectories:
      ./strawberry-playlist-sync.py -s -p ~/Music/playlists -r

      Check for duplicates:
      ./strawberry-playlist-sync.py -d

      Include fuzzy duplicates (same song, different files):
      ./strawberry-playlist-sync.py -d --fuzzy

      Clean up old backups:
      ./strawberry-playlist-sync.py -c -n 5 -a 30
      (Keep 5 backups, delete those older than 30 days)

      Run all operations:
      ./strawberry-playlist-sync.py -d -s -c -p ~/Music/playlists

      Automated mode (no prompts):
      ./strawberry-playlist-sync.py -s -p ~/Music/playlists -y

      Multiple Directories

      ./strawberry-playlist-sync.py -s -p ~/Music/playlists -p /media/usb/playlists

      Command-Line Options
      ┌─────────────────────────┬─────────────────────────────────────────────────┐
      │ Option │ Description │
      ├─────────────────────────┼─────────────────────────────────────────────────┤
      │ -d, --check-duplicates │ Find and remove duplicate tracks │
      ├─────────────────────────┼─────────────────────────────────────────────────┤
      │ --fuzzy │ Include fuzzy duplicates in check │
      ├─────────────────────────┼─────────────────────────────────────────────────┤
      │ -s, --sync │ Sync database playlists to disk │
      ├─────────────────────────┼─────────────────────────────────────────────────┤
      │ -c, --cleanup-backups │ Clean up old backup files │
      ├─────────────────────────┼─────────────────────────────────────────────────┤
      │ -p, --playlist-dir PATH │ Playlist folder (can be used multiple times) │
      ├─────────────────────────┼─────────────────────────────────────────────────┤
      │ -r, --recursive │ Scan subdirectories for M3U files │
      ├─────────────────────────┼─────────────────────────────────────────────────┤
      │ --add-only │ Only add tracks, preserve existing disk entries │
      ├─────────────────────────┼─────────────────────────────────────────────────┤
      │ --db-path PATH │ Path to strawberry.db (auto-detects if not set) │
      ├─────────────────────────┼─────────────────────────────────────────────────┤
      │ -n, --keep-count N │ Backups to keep per playlist (default: 3) │
      ├─────────────────────────┼─────────────────────────────────────────────────┤
      │ -a, --max-age DAYS │ Max backup age in days (default: 60) │
      ├─────────────────────────┼─────────────────────────────────────────────────┤
      │ --dry-run │ Preview changes without writing │
      ├─────────────────────────┼─────────────────────────────────────────────────┤
      │ -v, --verbose │ Show full track details (with --dry-run) │
      ├─────────────────────────┼─────────────────────────────────────────────────┤
      │ -y, --yes │ Skip confirmation prompts │
      └─────────────────────────┴─────────────────────────────────────────────────┘
      Never-Sync List

      To exclude playlists from syncing (e.g., utility playlists for finding missing metadata):

      During interactive review, when you skip a playlist, you'll be asked if you want to add it to the never-sync list. Or manually edit neversync.txt in your playlist folder: Playlists listed here will be skipped during sync operations.

      NoComposerSP
      BitrateLessThan129SP
      UnratedSP

      Desktop Shortcut (Linux)

      Create a shell script on your desktop:

      #!/bin/bash

      Strawberry Playlist Sync

      ~/.local/share/strawberry/strawberry/strawberry-playlist-sync.py -s -p ~/Music/playlists -r

      Save as strawberry-playlist-sync.sh and make executable with chmod +x.

      Database Locations

      The script auto-detects Strawberry's database in these locations:

      Linux: ~/.local/share/strawberry/strawberry/strawberry.db macOS: ~/Library/Application Support/Strawberry/strawberry/strawberry.db Windows: ~/AppData/Local/strawberry/strawberry/strawberry.db

      Use --db-path to specify a custom location.

      Notes

      Safe to run with Strawberry open: The script only reads from the database (except for duplicate removal), so syncing while Strawberry is running is fine. For
      duplicate removal, close Strawberry first. Backups: Before overwriting any M3U file, a timestamped backup is created in a backups/ subfolder. M3U Format: Uses extended M3U with #EXTINF:seconds,Artist - Title lines. Path Handling: Automatically converts database file:// URLs to filesystem paths and handles URL-encoded characters.

      License

      Public domain / CC0. Use however you like.

      Created by me and Claude Code tonight.

    • C

      Unable to see USB Device for sync Fedora 43

      Technical Help
      • • • CharAznableLoNZ
      6
      0
      Votes
      6
      Posts
      240
      Views

      C

      @jonas
      I have enabled that logging. This is the output. Is there a way I can trigger strawberry to look for devices to mount? I've notice there is a console option under tools.
      The volume name on the device I'm testing with is 16GB, it is a FAT32 formatted USB flash drive.

      03:25:49.153 DEBUG unknown Socket name is "kdsingleapp-user-strawberry"
      03:25:49.153 DEBUG unknown Lock file path is "/tmp/kdsingleapp-user-strawberry.lock"
      03:25:49.153 DEBUG unknown Primary instance
      03:25:49.154 INFO main:180 Strawberry 1.2.16 Qt "6.10.1"
      03:25:49.154 INFO main:181 "Fedora Linux 43 (KDE Plasma Desktop Edition) 43 - (linux 6.18.5-200.fc43.x86_64) [x86_64]"
      03:25:49.300 DEBUG unknown Icon theme "" not found.
      03:25:49.390 DEBUG unknown Socket name is "kdsingleapp-user-strawberry"
      03:25:49.390 DEBUG unknown Lock file path is "/tmp/kdsingleapp-user-strawberry.lock"
      03:25:49.390 DEBUG unknown Primary instance
      03:25:49.410 INFO Application:288 Creating GLib main event loop.
      03:25:49.516 ERROR GlobalShortcutsBackendKGlobalAccel:166 KGlobalAccel returned QList() when setting shortcut QList(QKeySequence("Media Next"))
      03:25:49.517 ERROR GlobalShortcutsBackendKGlobalAccel:166 KGlobalAccel returned QList() when setting shortcut QList(QKeySequence("Media Play"))
      03:25:49.518 ERROR GlobalShortcutsBackendKGlobalAccel:166 KGlobalAccel returned QList() when setting shortcut QList(QKeySequence("Media Previous"))
      03:25:49.518 ERROR GlobalShortcutsBackendKGlobalAccel:166 KGlobalAccel returned QList() when setting shortcut QList(QKeySequence("Media Stop"))
      03:25:49.608 INFO UrlHandlers:38 Registered URL handler for "subsonic"
      03:25:49.610 INFO UrlHandlers:38 Registered URL handler for "tidal"
      03:25:49.624 INFO UrlHandlers:38 Registered URL handler for "qobuz"
      03:25:50.656 DEBUG unknown service is "org.kde.StatusNotifierItem-155744-1"
      03:25:50.656 DEBUG unknown Registering a client interface to the KStatusNotifierWatcher
      03:25:50.925 INFO DeviceManager:264 Database device: "TACOTUNES"
      03:25:50.925 INFO DeviceManager:264 Database device: "X1"
      03:26:18.143 DEBUG unknown Loaded plugin "/usr/lib64/qt6/plugins/kf6/kwindowsystem/KF6WindowSystemKWaylandPlugin.so" for platform "wayland"
      03:28:26.704 DEBUG unknown languages changes from QList("en_US", "en_US") to QList("en_US", "en_US")
      03:28:26.704 DEBUG unknown languages changes from QList("en_US", "en_US") to QList("en_US", "en_US")

    • S

      Select folder to copy music to in device properties.

      Feature Suggestions
      • • • superboo07
      1
      0
      Votes
      1
      Posts
      24
      Views

      No one has replied

    • B

      Error message, Strawberry hangs but I can restart it after a few minutes, other players seem to work unhindered but I prefer Strawberry's GUI

      Technical Help
      • • • Bluster
      1
      0
      Votes
      1
      Posts
      32
      Views

      No one has replied

    • C

      Can't add sort tags to songs

      Technical Help
      • • • cargoredhead
      1
      0
      Votes
      1
      Posts
      26
      Views

      No one has replied

    • B

      Add setting to allow caching Subsonic songs

      Feature Suggestions
      • • • berrypicker
      1
      0
      Votes
      1
      Posts
      71
      Views

      No one has replied

    • M

      Musicbrainz tags

      Feature Suggestions
      • • • maybl8
      1
      0
      Votes
      1
      Posts
      44
      Views

      No one has replied

    • I

      Pay for the newest verison?

      Comments & Feedback
      • • • IAmTheWalrus
      22
      2
      Votes
      22
      Posts
      6.9k
      Views

      N

      @Ohnochao said in Pay for the newest verison?:

      i really don't like this change, it honestly feels like they're intentionally screwing us over for using windows (even though i use both windows and linux, it still feels like they are dogpiling on all of us)
      i just hope they lift it soon.

      @Eddie_Spectral said in Pay for the newest verison?:

      @jonas You cry for no contributions but then you make a year/monthly suscription. WTF? Put a mandatory single payment, man!!

      Fellas there are multiple repos out there offerings the macos and windows versions for free. It is also relatively simple to copy the repo and use github to build them yourself if you so choose. There is no need to be rude to jonas.

    • P

      Audio output at 44.1k despite Hi-Res input file/stream - a bug or not implemented Hi-Res support?

      Technical Help
      • • • przemhb
      21
      0
      Votes
      21
      Posts
      4.1k
      Views

      V

      @jonas
      The bugs with WASAPI2-E/ASIO are live even in 1.2.18.
      Hardware is Topping DX-9 on Windows 11.

    • S

      Version 1.2.18 released, great release, thank you!

      General Discussion
      • • • spoo333
      1
      1
      Votes
      1
      Posts
      125
      Views

      No one has replied

    • jonasJ

      Version 1.2.18 released

      Announcements
      • • • jonas
      1
      3
      Votes
      1
      Posts
      288
      Views

      No one has replied

    • M

      Have an option to use .lrc files instead of online lyric providers

      Feature Suggestions
      • • • meesk_
      1
      2
      Votes
      1
      Posts
      76
      Views

      No one has replied

    • N

      Hide specific file extensions from filesystem indexing

      Feature Suggestions
      • • • Nix
      1
      0
      Votes
      1
      Posts
      61
      Views

      No one has replied

    • rlkeeneyR

      AND & OR In the Same Smart Play List

      Feature Suggestions
      • • • rlkeeney
      1
      0
      Votes
      1
      Posts
      67
      Views

      No one has replied