kabouzeid / Phonograph

A material designed music player for Android
GNU General Public License v3.0
2.73k stars 728 forks source link

opus files not showing up #412

Open Nogooduser opened 6 years ago

Nogooduser commented 6 years ago

Title.

I read in previous issues that opus was playable but phonograph isn't detecting any of the opus files I encoded (poweramp found and played them fine, displaying album art and metadata fine, so the files aren't broken)

Is .opus only playbale within a container like .ogg? It'd kinda suck if that's the case.

And if that's the case, I guess i wanted to ask to add support for .opus files because it really is a missed opportunity not to have it.

doompadee commented 6 years ago

The file is playable. Rename it to .ogg and it will play fine.

The .opus extension is unfortunately not recognized by Android as an audio file type. Phonograph should probably be configured to handle this file type.

Nogooduser commented 6 years ago

I see, thanks for clarifying. Unfortunately in my case I'd have to rename hundreds of songs, which I don't really feel like doing just for them to play through Phonograph so I guess I'll wait for proper .opus support to be implemented.

droidberg commented 6 years ago

i have no problems with this. all of my audio files are opus files. it maybe your method of creating opus files. i transcode flac to opus using dbpoweramp. like i said, i have no problems using the latest phonograph on AOSCP 4.2 7.1.2

Nogooduser commented 6 years ago

I'm using lamexp (which uses libopus) with these settings to create the opus files from FLAC files and they work fine anywhere else except for Phonograph. I didn't think the method could really impact how the app recognizes the file, and I'm surprised they work for you as I assumed all .opus files were created in a similar fashion.

ghost commented 6 years ago

@Nogooduser You can find a mass rename program