MP3 files suddenly don't play with kivy

mp3 repair
unplayable mp3 files
corrupted mp3 file sound
softpedia mp3 repair tool
mp3 checker
mp3 unknown file format fix
mp3-scanner
corrupted audio file repair online

I have a game which, last time I checked, worked fine. The problem I have just today, for some reason I haven't figured out yet, kivy won't play mp3 files, but it will still play wavs. To reiterate, this was never a problem before now, the game ran on both my ubuntu linux os and android without a hitch EDIT: in fact, it still runs fine on my Android. I now get the following error on starting up the game on ubuntu:

File "/home/yerman/python/bird/gamescreens.py", line 107, in update
     point_play    = self.point.play
 AttributeError: 'NoneType' object has no attribute 'play'

I also don't know why there is such a space between point_play and the = in the traceback as it's not like that in the file. I am quite sure that I haven't changed anything since my last time playing the game. There is nothing wrong with the mp3 file itself either. Converting the file to wav and using that instead works fine.

I then wrote this small script and ran it with the same results:

main.py:

import kivy
kivy.require('1.8.0')
import sys
from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.button import Button
from kivy.core.audio import SoundLoader


class PressMe(BoxLayout):

    sound = SoundLoader.load('point.mp3')

    def mycallback(self):
        self.sound.play()

class myApp(App):

    def build(self):
        return PressMe()

if __name__ == '__main__':
    myApp().run()

kv file:

#: kivy 1.8.0

<PressMe>:
    Button:
        text: 'press me'
        on_press: root.mycallback()

I really don't know why this isn't working, can anyone shed light on this?

When a loader returns a NoneType it usually means that the file could not be loaded by any available providers. On Android, MP3 support is provided natively, but for Ubuntu you need to have gstreamer. Exactly why it stopped working would probably depend on how you installed Kivy, but if you installed via pip or by building from the git repository, then the libraries on your system may have been updated.

Ensure that you have installed libgstreamer1.0-dev and rebuild Kivy (if installed from pip or git). If that doesn't help, then this issue would probably be easier to resolve on our IRC channel #kivy on freenode.

None of my saved mp3 files can be played normally all of a sudden , I don't know what happened, but my saved mp3 files in my phone are not playable in my player (they're not showing up) and the podcasts I downloaded are not  If you can see the desirable data, please right click on them and choose "Recover" to get them back.Solution 2 Create A File As Previous VersionThis solution can only fit with the situation to recover document files instead of media contents such as videos, music and so on. What's more, you should also remember the deleted files' names.

This recomended for me.. Playying mp3 on terminal Linux (Ubuntu). You can develop this optionaly.

$ sudo apt-get install mpg321
$ mpg321 yourmusic.mp3

But there are some things to consider when we use mpg321, namely: Mp3 file name can not use a space character or parentheses. Because not readable by mpg321.

Or Optionally again, use pymedia

How To Recover Broken MP3 Files That Aren't Recognized, Most applications don't rely too heavily on a particular MP3 tag. But if a file suddenly has choppy sound or doesn't play at all, and if a collection  Check the MP3 files you need. Click on the “ Save ” button. Set a new storage path for these MP3 files. Click on the “ OK ” button to confirm.

class PressMe(BoxLayout):

   self.sound = SoundLoader.load('point.mp3')

def mycallback(self):
    self.sound.play()

How to Repair Damaged MP3 Files, Don't throw away damaged music files. Fix any damaged MP3 songs in your library by downloading and running a free MP3 repair tool. Hey! All of the sudden I can't import any mp3 in my spotify playlists no more. When I try to drag and drop something into my playlist or local data nothing happens, I think it doesn't even recognize the data as mp3 because there is not the little "+" icon while I move the mp3 over spotify. It began

First second suddenly missing from my mp3 files, Then I realised tonight that all of my original mp3 files on my PC are exactly the same. I don't know why this is or how I can correct it. WMP 9 keeps saying it can't​  Choose a date when the computer was working correctly, and click Next to restore the system files from that date. Check to see if the problem is fixed. If not, you can go back to step 1 to either undo the restore process, or try another date.

can't open mp3 files, I am trying to open my MP3 files and suddenly find I am directed to If you don't find WMP, go to the section below headed "If Windows Media  A file with the MP3 file extension is an MP3 Audio file developed by the Moving Pictures Experts Group (MPEG). The abbreviation stands for MPEG-1 or MPEG-2 Audio Layer III . An MP3 file is normally used to store music data, but there are lots of free audiobooks that come in the MP3 format too.

How to Fix Corrupt Audio Files, In a Nutshell. Audio files that don't play can usually be repaired. Most common audio formats are AAC, Linear PCM, AMR, MP3. Corrupt 3GP files from mobile devices, when recording suddenly stopped due to lack of battery or app crash. FreeMP3 is a popular free mp3 download service. Just search for a mp3 and download it for free without any registration and restriction.