navidrome / navidrome

🎧☁️ Modern Music Server and Streamer compatible with Subsonic/Airsonic
https://www.navidrome.org
GNU General Public License v3.0
10.6k stars 804 forks source link

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

Open aaronsuns opened 9 months ago

aaronsuns commented 9 months ago

I confirm that:

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

aaronsuns commented 9 months ago

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?

metalheim commented 9 months ago

Related / duplicate #1592 #2393

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

aaronsuns commented 9 months ago

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.

metalheim commented 6 months ago

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

github-actions[bot] commented 2 weeks ago

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.