• 0 Votes
    3 Posts
    34 Views
    D
    @jamesjones Those are good points. Some of those cases are already addressed in the linked patch, while others could definitely use some refinement. Empty values: The current implementation splits on |, trims whitespace, and explicitly skips empty values. So Rock||Country behaves the same as Rock|Country, and a completely empty list won't generate a match-everything condition. Substring matching: I intentionally kept the behavior consistent with the existing contains operator. For example, searching for Rock would also match Classic Rock, Hard Rock, etc. In my own music library, I've worked around that limitation by formatting multi-value Genre tags like this: "; Rock ; Country ; Alternative Rock ;" That allows me to search for "; Rock ;|; Country ;" and match individual genre values rather than arbitrary substrings. It's admittedly a library-specific convention, but it works well for my purposes. Escaping: You're right about %, _, and literal delimiters. Those aren't explicitly handled in the current patch and would be worth addressing. Case sensitivity: My intention was to retain the same behavior as Strawberry's existing contains operator. I agree that this should be verified, particularly for non-ASCII characters. Operator compatibility: I appended the new operator enum value rather than inserting it among existing values, preserving their original IDs. Compatibility with older Strawberry versions encountering the new operator is worth considering separately. Background: This was an AI-assisted proof of concept, and my initial goal was to see whether this relatively simple approach was viable. I borrowed the idea from Rockbox while working on its playlist configuration, where I discovered the @~ operator, which provides similar pipe-delimited matching functionality. I've successfully compiled and tested the patch against Strawberry 1.2.31 with my own music collection, but haven't added automated tests or tried it against the current development branch.
  • Strawberry & Easytag

    Blogs
    2
    0 Votes
    2 Posts
    3k Views
    H
    This sounds like a desktop default-application issue rather than Strawberry itself: “Show in file browser” likely asks the desktop to open the folder, and EasyTAG may have registered itself as the handler for directories. Check KDE System Settings → Default Applications → File Manager and set Dolphin. If that doesn’t stick, inspect the MIME association for directories (inode/directory) and reset it to Dolphin.
  • optional Strawberry Companion launcher

    Development
    3
    0 Votes
    3 Posts
    276 Views
    H
    For upstream review, the patch and build/test notes will matter more than the .deb link; a binary hosted on Dropbox is hard to audit and may put off maintainers. If you submit it, I’d keep the menu entry behind an explicit build option and make the missing-binary message clear, so the player doesn’t gain a runtime dependency on the companion.
  • Unable to transfer playlists to new computer

    Technical Help
    2
    0 Votes
    2 Posts
    39 Views
    J
    The saved playlist may still contain the old absolute path strings, even after choosing relative mode; relative mode does not always rewrite existing entries. Open one .xspf in a text editor and compare its location entries with the new computer’s music folder. If they still point to the old MEGA folder, replace that path prefix with the equivalent new folder path, or recreate the same folder structure so the relative locations resolve. Keep a backup before editing. Also confirm the music files themselves were copied and Strawberry’s library points to their new location.
  • Jump to current playlist

    Feature Suggestions
    3
    1 Votes
    3 Posts
    144 Views
    L
    That existing action probably only selects the track within the playlist that is already active, so if the playing song belongs to another tab it can appear to do nothing. A useful separate request would be an “Activate playlist of current track” command that switches tabs, then optionally selects or scrolls to the song; keeping these as two actions could avoid surprising tab changes. It may also help to specify whether you want a menu item, toolbar action, or configurable shortcut.
  • Another Remote Control

    General Discussion
    13
    1 Votes
    13 Posts
    839 Views
    L
    For downloads, keep it simple: add a per-track/album “Save to device” action that requests the file from the same HTTP endpoint used for playback with Content-Disposition: attachment, then on Android write it through MediaStore into Downloads/Music. That avoids broad storage permissions and works with scoped storage. If transcoding is offered, make it optional and show progress/cancel. It also avoids needing a separate sync protocol.
  • 0 Votes
    2 Posts
    139 Views
    L
    This sounds like the internal file view is putting duplicate URLs into its drag payload, whereas NEMO supplies a clean file list. Try dragging a single file from the internal filelist to an empty playlist; if that still duplicates, check whether the same path appears more than once in the filelist. If single-file drag works, it points to multi-selection handling in Strawberry 1.0.23 and is worth reporting with exact reproduction steps.
  • What Do You Listen To?

    Music
    10
    11
    1 Votes
    10 Posts
    7k Views
    L
    Mostly jazz, library music and prog rock, with some electronic and Brazilian MPB mixed in. I keep local FLAC rips tagged by genre and year and use Strawberry smart playlists for mood-based listening; that helps once the collection gets too large to browse folder by folder.
  • spotify "track not found"

    Technical Help
    7
    0 Votes
    7 Posts
    551 Views
    H
    It is the same issue as here: https://github.com/mopidy/mopidy-spotify/issues/437 Workaround presented there works, but is just a workaround.
  • Missing Artist folder in Collection

    Technical Help
    2
    0 Votes
    2 Posts
    65 Views
    neufN
    One other thing... I can go to my music folder, click on one of the tracks and right click to play with Strawberry and the file plays perfectly
  • 0 Votes
    2 Posts
    99 Views
    A
    Sorry about the typo on the title. I obviously meant 'songs', but I can't edit it anymore.
  • Add a Dark Mode

    Feature Suggestions
    24
    3
    16 Votes
    24 Posts
    45k Views
    A
    I'm on Linux Mint Cinnamon 22.2 Zara. The following config just worked for me: Tools > Settings... > User interface > Appearance > Style > Style: gtk2 [image: e3ad7a0f-cf8e-4447-b1dc-4295e65e47aa-image.png]
  • DSD wavpack support

    Feature Suggestions
    1
    0 Votes
    1 Posts
    57 Views
    No one has replied
  • 0 Votes
    1 Posts
    46 Views
    No one has replied
  • 0 Votes
    3 Posts
    610 Views
    K
    Thanks for the suggestion @Sharky-PI (been a while since I visited :)). The playlists seem to be in a SQLite database stored in ~/.local/shared/strawberry/strawberry.db — Not easy to grep, but I could certainly write a tool to scan the database records for what I'm looking for.
  • Data Stream URL Method

    Technical Help
    6
    0 Votes
    6 Posts
    424 Views
    H
    @jonas Hi Jonas, got on search for some hours. Problem is that api.tidalhifi.com is the legacy one and to get a Client ID, you have to fetch X-Tidal-Token from a legacy app. (see below) Your statement at https://forum.strawberrymusicplayer.org/topic/6048/tidal-authentication-error seems to be wrong because of this require openapi.tidal.com! Couldn't you please update api.tidalhifi.com to openapi.tidal.com where i can just create an app @developer.tidal.com and that's it. *To use Tidal with Strawberry Music Player, you need a legacy Tidal API token (often referred to in the community as an X-Tidal-Token or client string used by older official apps or specific third-party integrations). You are entirely correct that the modern developer portal (openapi.tidal.com) issues client IDs intended for the new Open API, which are incompatible with the older endpoint (api.tidalhifi.com) that Strawberry relies on. How to Find or Obtain the Required Token Because Tidal does not officially issue legacy API tokens to end-users anymore, the token must typically be sourced from an application package or extracted using network monitoring tools. The most common approaches include: Extracting from a Legacy Tidal Client / APK: Many open-source media player communities (such as for Strawberry, Clementine, or similar client tools) rely on tokens extracted from older desktop or mobile versions of the official Tidal app where the client token was embedded in the installation files or cache. On Linux or Android environments, users traditionally locate configuration or cache files (such as okhttp cache files on Android or application binaries) and search for the X-Tidal-Token string. Using Network Inspection (Fiddler / Wireshark): Some users capture traffic from an older official desktop client. By routing the official app's traffic through a local proxy tool like Fiddler or Charles Proxy while logging in, you can inspect the HTTP headers of the outgoing requests to api.tidalhifi.com to view the client token being passed in the headers. Community Repositories and Discussions: Because hardcoded legacy client tokens frequently change or get deprecated by Tidal's backend infrastructure, the Strawberry Music Player community forums and issue trackers are generally the best place to look for current working tokens or scripts designed to acquire them. You can check the Strawberry Music Player Forum where users discuss working implementation strings. To use Tidal inside **Strawberry Music Player**, you need an older application client ID / `X-Tidal-Token` (which functions as the API client key for the legacy `api.tidalhifi.com` endpoints). The newer developer portal credentials utilize `openapi.tidal.com`, which is incompatible with Strawberry’s legacy implementation. --- ### Does the Linux Flatpak TIDAL Hi-Fi provide the `X-Tidal-Token`? **No.** The unofficial Linux Flatpak client (often based on web wrappers or newer electron builds) communicates with Tidal's modern infrastructure and OAuth setups. It does not natively expose or store a legacy `X-Tidal-Token` in a format that Strawberry can read or use as a Client ID. --- ### How to Get a Client ID / Token for Strawberry Because Tidal has progressively locked down or phased out legacy unauthenticated client strings from their modern desktop and mobile apps, users typically obtain a working token using one of the following methods: 1. **The Android App Cache Method (Older APK):** * Many users sideload an older version of the Tidal Android app (such as version `2.32.1` via an APK archive site) inside an emulator (like BlueStacks or Anbox/Waydroid) or an older phone. * Log into your account on that app version. * Navigate to the app's cache directory using a file explorer: `/Android/data/com.aspiro.tidal/cache/okhttp/` * Copy those cache files to your computer and run a terminal command like: ```bash grep -r "X-Tidal-Token" /path/to/copied/cache/files/ ``` This will reveal the embedded token string required for Strawberry. 2. **Using Third-Party CLI/Python Tools:** * Open-source python packages or command-line downloaders built for Tidal (such as older forks of `tidal-dl` or python-tidal async clients) sometimes store or print out legacy config parameters or client tokens inside their local `.json` configuration files after an initial login. ### How to Get a Client ID / Token for Strawberry Music Player Strawberry requires an API token (historically referred to as an `X-Tidal-Token` or legacy client ID) that interacts with Tidal's legacy/mobile API endpoints (`api.tidalhifi.com`). Official developer portal client IDs use `openapi.tidal.com` and enforce modern security layers that incompatible open-source clients cannot natively parse for playback streams. To make Strawberry work, you need a token sourced from an older mobile client setup or community-vouched legacy strings. #### Methods to obtain one: 1. **Community/Publicly Shared Tokens:** Because extracting raw tokens requires network packet inspection (using tools like Fiddler, Charles Proxy, or looking through older open-source client repositories like `python-tidal`), many users look up known working client IDs shared on the [Strawberry Music Player Forums](https://forum.strawberrymusicplayer.org/) or GitHub discussions. 2. **Mobile App Packet Capture (Advanced):** Traditionally, developers extracted these tokens by routing traffic from an older Android or iOS Tidal APK through an HTTPS intercepting proxy (like mitmproxy or Charles) while logging in. Once you acquire a valid legacy string, paste it into Strawberry's **Client ID** field, check **Use OAuth**, and click login. This will open a browser window for you to safely authenticate your actual Tidal account. --- ### Does the Linux Flatpak TIDAL Hi-Fi Provide an `X-Tidal-Token`? **No.** The popular Linux Flatpak/Snap package (`tidal-hi-fi`) is built by wrapping the official **Tidal Web Player** inside an Electron container with Widevine DRM support. * It communicates directly with Tidal's standard web infrastructure rather than acting as a standalone native API client. * Because it relies on web wrappers and browser-based tokens managed dynamically under the hood, it does not expose or provide a static `X-Tidal-Token` or client ID that you can copy-paste into Strawberry. --- ### Does the Official macOS TIDAL App Provide It? **No.** The official macOS desktop application is a closed-source native/Electron application compiled by Tidal. * It obfuscates its network calls and uses backend authentication tokens dynamically negotiated via secure channels. * Inspecting the macOS app package contents or configuration files will not yield a plain-text `X-Tidal-Token` or legacy client ID suitable for third-party media players like Strawberry.*
  • 0 Votes
    1 Posts
    96 Views
    No one has replied
  • use sqlite3

    General Discussion
    2
    0 Votes
    2 Posts
    107 Views
    T
    I found the location on my machine. ~/home/dan/.var/app/org.strawberrymusicplayer.strawberry/data/strawberry/strawberry/strawberry.db
  • Show Track Covers in Queue

    Feature Suggestions
    1
    0 Votes
    1 Posts
    62 Views
    No one has replied
  • Unable to reinstall after Fedora 45 upgrade

    Technical Help
    3
    1
    0 Votes
    3 Posts
    185 Views
    S
    @jonas Thank you so much! Last time I checked, the Fedora 45 package wasn't yet available.