navidrome icon indicating copy to clipboard operation
navidrome copied to clipboard

[Bug]: some times some song stuck,mostly wma file

Open aaronsuns opened this issue 1 year ago • 5 comments

I confirm that:

  • [X] I have searched the existing open AND closed issues to see if an issue already exists for the bug I've encountered
  • [X] I'm using the latest version (your issue may have been fixed already)

Version

Version: 0.49.3 (8b93962f) docker image: 589cdcd5bc90

Current Behavior

navidrome version:

deluan/navidrome                                                              latest    589cdcd5bc90   7 months ago    153MB

started with docker compose

version: "3"
services:
  navidrome:
    image: deluan/navidrome:latest
    user: 1000:1000 # should be owner of volumes
    ports:
      - "4533:4533"
    restart: unless-stopped
    environment:
      # Optional: put your config options customization here. Examples:
      ND_SCANSCHEDULE: 1h
      ND_LOGLEVEL: info  
      ND_SESSIONTIMEOUT: 24h
      ND_BASEURL: ""
      ND_COVERARTPRIORITY: cover.*, folder.*, front.*, embedded
    volumes:
      - "/data2/navidrome_data:/data"
      - "/data2/music:/music:ro"

Problem:

Most song works fine,but some song stuck there, mostly wma file, could not find any error in server log while this happen, looks like a client issue, for a working flow, after rest/stream call there should be a api/song/ call, but for the stuck one, there is no api/song/xxx call. Screenshot from 2023-09-19 20-08-38

Expected Behavior

song should not stuck, a better way would be even if a song is stuck, skip it play next song, otherwise the playlist is useless.

Steps To Reproduce

No response

Environment

- OS:
- Browser:
- Client:

How Navidrome is installed?

Docker

Configuration

No response

Relevant log output

No response

Anything else?

No response

Code of Conduct

  • [X] I agree to follow Navidrome's Code of Conduct

aaronsuns avatar Sep 19 '23 18:09 aaronsuns

Found this note: "Transcoding can be required in some situations. For example: trying to play a WMA file in a webbrowser, will only work for natively supported formats by the browser you are using. (so playing that with Mozilla Firefox on Linux, will not work. Mozilla even have their own guide about audio codecs)."

If it's not possible to get it played on linux client, maybe it's possible auto skip the file in the playlist?

aaronsuns avatar Sep 19 '23 18:09 aaronsuns

Related / duplicate #1592 #2393

Since wma isnt supported by browsers, you need to either:

  • use a client that supports wma (F.e. Sonixd/feishin)
  • enable transcoding for the webui Client
  • wait until navidrome can detect which Formats are playable by a client #2051
  • convert wma files to something universal supported (not very desireable I agree)

metalheim avatar Sep 20 '23 07:09 metalheim

Thanks a lot for the detailed explanation, transcoding works very well, but it does transcode all files, it should really be able to choose what format to transcode, such as for wav and flac I want to keep the original one, only transcode wma.

aaronsuns avatar Sep 20 '23 09:09 aaronsuns

Yeah, i agree that it would be better if you didn't have to transcode "all or nothing" . That's whats discussed in issues #351 and #2051

metalheim avatar Dec 12 '23 10:12 metalheim

This issue has been automatically marked as stale because it has not had recent activity. The resources of the Navidrome team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open. If this is a feature request, and you feel that it is still relevant and valuable, please tell us why. This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

github-actions[bot] avatar Jun 10 '24 01:06 github-actions[bot]