• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Strawberry Music Player Forums
    2. General Discussion
    Log in to post
    Load new posts
    • Recently Replied
    • Recently Created
    • Most Posts
    • Most Votes
    • Most Views
    • R

      Parameters

      • • remelach
      1
      0
      Votes
      1
      Posts
      186
      Views

      No one has replied

    • D

      Adding an album without doing a full collection rescan

      • • diem
      3
      0
      Votes
      3
      Posts
      388
      Views

      D

      @rlkeeney thanks!

      D'oh! Obvious now that you say it 🙄 But thanks so much for the rapid answer!

      Cheers,

      Ian

    • ben2talkB

      Radio

      • • ben2talk
      4
      0
      Votes
      4
      Posts
      1.2k
      Views

      ?

      i agree, i have just switched to Strawberry from rhythmbox and it would be nice to see an option to search and add radio stations in the application.

      I know very little about linux and code syntax by comparison to the others around here.
      I started using Ubuntu 4 days ago and have reinstalled, twice, re-partitioned some drives to work with linux, and installed some software and done some updates.

      But apart from the three url's im not really sure what the code above is doing and if that is what i need to put in a txt file to create a .pls for strawberry to add a radio channel or not

    • jonasJ

      macOS support

      • • jonas
      24
      2
      Votes
      24
      Posts
      23.3k
      Views

      jonasJ

      GitHub Sponsors: https://github.com/sponsors/jonaski
      Patreon: https://www.patreon.com/jonaskvinge
      Ko-fi: https://ko-fi.com/jonaskvinge
      PayPal: https://paypal.me/jonaskvinge

    • W

      Request: J.River Media Jukebox 12.0.534

      • • wolfie
      5
      0
      Votes
      5
      Posts
      625
      Views

      W

      @ben2talk Thanks, I'll give that one a shot. MusicBee and MediaMonkey are pretty good too.

    • J

      Newest tracks smart playlist

      • • jonhd
      1
      0
      Votes
      1
      Posts
      269
      Views

      No one has replied

    • K

      Strawberry rename tracks

      • • kibod67366
      2
      0
      Votes
      2
      Posts
      323
      Views

      CherryStrawC

      @kibod67366 Is not impossible, you can use the tag editor Strawberry have if you want to change the title of the songs and other metadata.

    • B

      How to save stream url so it shows in the file explorer?

      • • br_shadow
      5
      0
      Votes
      5
      Posts
      720
      Views

      B

      @silver-sun That is smart! Solved my question. Thank you!

    • R

      Collection display cleared after changing cover image

      • • rajm
      1
      0
      Votes
      1
      Posts
      179
      Views

      No one has replied

    • S

      Playlist text displaying colons as %3A

      • • silver-sun
      1
      0
      Votes
      1
      Posts
      195
      Views

      No one has replied

    • SummonerS

      What are you listening to?

      • • Summoner
      13
      0
      Votes
      13
      Posts
      2.2k
      Views

      A

      alt text

    • N

      Managing my collection

      • • Neuropain
      1
      0
      Votes
      1
      Posts
      317
      Views

      No one has replied

    • S

      This topic is deleted!

      • • smelly
      1
      0
      Votes
      1
      Posts
      2
      Views

      No one has replied

    • K

      Sorting by TSOP?

      • • Kylemaul
      1
      0
      Votes
      1
      Posts
      214
      Views

      No one has replied

    • P

      intelligent playlist last played

      • • peterw
      1
      0
      Votes
      1
      Posts
      143
      Views

      No one has replied

    • T

      Query the Strawberry database to get filenames for a given playlists?

      • • thenoblesunfish
      2
      2
      Votes
      2
      Posts
      510
      Views

      T

      This works great! So, so nice to just be able to directly work with the database.

      Here is the key new script, that dumps out all the playlists to plain m3us (just relative paths) in the same directory.

      I am also very happy to have this script as it means there is now little risk in using Strawberry - I can make my playlists there and if needbe, dump them back out to the plain m3us I use with ncmpcpp.

      #!/usr/bin/env python # Tested with # Strawberry 1.0.17 # macOS 12.2 (Monterey) # Python 3.11.2 # Inspired by code from @TheBlackKoala posted at # https://github.com/clementine-player/Clementine/issues/6214 import os import sqlite3 import urllib.parse # Update with the path to your database (or a copy of it) DATABASE_PATH = os.path.join(os.environ["HOME"], "Library", "Application Support", "Strawberry", "Strawberry", "strawberry.db") # Update with a root to strip from absolute paths LIBRARY_ROOT = os.path.join(os.sep, "Volumes", "BigDrive", "music_library") def _name_for_playlist(c, playlist_id): c.execute("SELECT name FROM playlists WHERE rowid=?", playlist_id) return c.fetchone()[0] def _url_to_path(url): return urllib.parse.unquote( url.removeprefix("file://")).removeprefix(LIBRARY_ROOT).removeprefix( os.sep) def _paths_for_playlist(c, playlist_id): c.execute( "SELECT s.url FROM playlist_items AS p JOIN songs AS s ON p.collection_id = s.rowid WHERE playlist = ?", playlist_id) return [_url_to_path(item[0]) for item in c.fetchall()] def _write_plain_m3u_from_paths(name, paths): with open(f"{name}.m3u", "w") as m3u_file: for path in paths: m3u_file.write(f"{path}\n") def main(): connection = sqlite3.connect(DATABASE_PATH) cursor = connection.cursor() cursor.execute("SELECT DISTINCT playlist FROM playlist_items") for playlist_id in cursor.fetchall(): name = _name_for_playlist(cursor, playlist_id) paths = _paths_for_playlist(cursor, playlist_id) _write_plain_m3u_from_paths(name, paths) if __name__ == "__main__": main()
    • R

      New here and have questions about my strawberry flowers turning color

      • • rat126
      1
      0
      Votes
      1
      Posts
      174
      Views

      No one has replied

    • ShortcakeS

      FLAC 32-bit ?

      • • Shortcake
      2
      0
      Votes
      2
      Posts
      383
      Views

      J

      I'm no expert, but you'd probably need the rest of your equipment and software (at least until the signal is turned to analog) to support it, and even then it's doubtful there will be any difference (https://www.makeuseof.com/16-bit-vs-24-bit-audio/).

    • M

      Song Fingerprinting and Tracking

      • • Miguel Ruiz
      7
      0
      Votes
      7
      Posts
      931
      Views

      M

      @jonas I understand that moving a song within the same music collection directory means renaming it and/or moving it between several possible subfolders of the main folder. It's right ?

    • jonasJ

      Wikipedia page in English

      • • jonas
      7
      1
      Votes
      7
      Posts
      773
      Views

      jonasJ

      @failafail
      https://en.wikipedia.org/wiki/Draft:Strawberry_(Software) suggests that Clementine collects data, that's wrong.

    Powered by NodeBB | Contributors