Flutter-AssetsAudioPlayer icon indicating copy to clipboard operation
Flutter-AssetsAudioPlayer copied to clipboard

PlatformException(PLAY_ERROR, Cannot play ipod-library://item/item.mp3?id=8952320356688757343, The requested URL was not found on this server., null)

Open loicgeek opened this issue 4 years ago • 4 comments

Flutter Version 1.22.6 My version :

assets_audio_player: ^2.0.14

My version :

IOS

Platform :

Describe the bug Cannot play song

Small code to reproduce

import 'package:assets_audio_player/assets_audio_player.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State {
  
  final AssetsAudioPlayer _assetsAudioPlayer = AssetsAudioPlayer();

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: RaisedButton(
            child: Text("open"),
            onPressed: () {
              //open code here
            }
          ),
        ),
      ),
    );
  }
}

loicgeek avatar May 28 '21 12:05 loicgeek

I had the same error when using bad .mp3 file. In my case, I had a file with .mp3 extension but using program (MediaInfo) I figured out that file was a video with .mp3 extension.

ZaharL avatar Jun 10 '21 17:06 ZaharL

same issue facing how to fix any one please help me to fix this issue.

Unhandled Exception: PlatformException(PLAY_ERROR, Cannot play ipod-library://item/item.mp3?id=1737155030381931502, The requested URL was not found on this server., null)

RRohitM avatar Aug 04 '22 07:08 RRohitM

any updates?

AtixD avatar Oct 06 '22 21:10 AtixD