Code Monkey home page Code Monkey logo

Comments (4)

BLeeEZ avatar BLeeEZ commented on August 11, 2024

Thank you for your report.

Are you able to play any song via Amperfy (except songs with filetype m4a and mp3)?
Have you tried other songs?
Is a special codec or DRM required to play that song?

As much as I can see from the log is that the download of the song was successful.
I can assume two possible root causes:

  1. An issue with the AVFoundation::AVPlayer playing the song.
  2. After successfully downloading the song the DownloadManager will not correctly inform the player via the registered callback.

Is the "remaining time" label correctly displayed for the selected song (Full length of the song)?
-> This would remove 1. form the root cause list.

@iPrinz96 has mentioned via email a similar issue to me.
I wasn't able to reproduce the bug on my side. All songs in my library are playing.

from amperfy.

berkeleynerd avatar berkeleynerd commented on August 11, 2024

I tried many different mp3 tracks but only 1 m4a track. Everything works fine via Power Ampache on Android and via the web-player. There's nothing special DRM-wise about the tracks but I can send you a link to one via my nextcloud instance if that would help you rule out / diagnose the issue. I'm serving the tracks via the Music app provided by the latest NextCloud release which provides an Ampache endpoint. I'm happy to set you up with a user account if you'd like to test the endpoint.

The remaining time is also 0:00 and the play button toggles to Pause but otherwise there's no additional UI feedback.

I'm happy to help you diagnose this to whatever extent you're willing to investigate it as there are no good Ampache clients for iOS which is true shame and would really help folks like myself who want to stream their own music libraries via NextCloud and not have to maintain something like Airsonic just for that purpose.

from amperfy.

BLeeEZ avatar BLeeEZ commented on August 11, 2024

I have found the issue. The problem was that your song has no artist.
I did a hard check for valid artist of a song (In my database every song has a valid artist).
Can you please check if the issue is fixed with lastest master.

from amperfy.

berkeleynerd avatar berkeleynerd commented on August 11, 2024

Yup, that did the trick. I'll be using it pretty heavily the next week or so and will post any issues I run across. Thanks again. I hope you publish it to the app store. I'm happy to send some $ your way if you do. Thanks for fixing this!

from amperfy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.