• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Can't find file when running from command line outside of directory

    Scheduled Pinned Locked Moved Technical Help
    2 Posts 2 Posters 607 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      timberry
      last edited by

      If I'm at the command line (with strawberry already open) and do something like strawberry Some\ Artist\ -\ Some\ Track.flac, I get an error that it can't find the file.

      0f5e4c9b-a28a-40d4-9cce-345dc35eea28-image.png

      If I launched strawberry from the command line in that directory, then it will work, however.

      If I use a relative path like ../other-dir/Some\ Artist… it won't give me that error immediately, it'll enqueue the track (with the proper tags, so it's evident that it did find the file and read it) but I'll get the same error along with some Could not open resource for reading error messages when I try to actually play the file that it's put in the playlist.

      ec03db99-8c72-40a7-89bf-336ea12ec174-image.png

      Absolute paths always work, e.g. strawberry "$(readlink -f Some\ Artist\ -\ Some\ Track.flac)"

      Previously using clementine these would all just work - is there something I can do? This is on Ubuntu 24.04 using Strawberry 1.1.3 installed from the website by downloading the .deb.

      jonasJ 1 Reply Last reply
      Reply Quote 2
      • jonasJ
        jonas @timberry
        last edited by

        @timberry
        it's a bug, thanks for reporting.
        Fixed now https://github.com/strawberrymusicplayer/strawberry/commit/07c898581ccdab9d5900911083f84b9b03221a61

        1 Reply Last reply
        Reply Quote 1

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better đŸ’—

        Register Login
        • First post
          Last post
        Powered by NodeBB | Contributors