We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

Default 'Media' app has stopped playing music

asked 2018-06-20 13:02:56 +0200

Piece_Maker gravatar image

updated 2018-06-22 17:59:55 +0200

rozgwi gravatar image

Hey everyone,

so I keep a lot of music on my SD card, however the default media app seems to have quit wanting to play any of it. When I press play, it immediately flicks back to the play button (as though I've pressed pause).

I updated to 2.2.0.29, but the issue didn't start right after the upgrade - it seems to have started a couple of days ago.

I don't think I've installed/removed anything I shouldn't have. Have also tried rebooting the phone a few times as well as re-plugging in the SD card. The music files work fine if I put the SD card in another device so there shouldn't be any corruption there.

Running an Xperia X with 2.2.0.29.

Can someone help? Thanks!

edit retag flag offensive close delete

Comments

1

Hi,

It definitely sounds like something has gone wrong with your media somewhere. Do you see any errors if you launch the media player (jolla-mediaplayer) from terminal/ssh and try to play a track? If not, then try with GST_DEBUG=3 jolla-mediaplayerwhich will enable some gstreamer debugging which might give some clues. You can also watch the output of /usr/libexec/droid-hybris/system/bin/logcatrun as root if it's looking like there's a deeper error coming from the android codecs.

Hope that helps,

Andy Branson ( 2018-06-20 13:16:38 +0200 )edit
2

the sdcard destination changed with the last OS upgrade, this maybe why mediaplayer cannot read/play your music.

MapRemovals ( 2018-06-20 14:49:04 +0200 )edit

I'd suggest trying two things. First, see if the music will play when opened through the file browser (Settings > Storage > Memory Card > Find the file > tap to open in Media player). Second install Salifish-Utilities from the Jolla Store, then try refreshing the tracker database (Settings > Utilities > Tracker database clean).

flypig ( 2018-06-20 17:27:27 +0200 )edit

In addition to the comments above, how did you format the sd card? I have a 256GB card formatted as btrfs that is almost full of flac files and have no issues with the media player. Previous to that i had tried formatting it as UDF to accommodate the large size and the file system on the card would repeatedly corrupt after a week, leading to behavior like you're describing.

If you try refreshing the tracker db as described above but it keeps happening, might be worth considering how it was formatted.

Drekkie ( 2018-06-21 00:08:26 +0200 )edit

Thanks everyone!

Just to rule out a couple of easy ones quick - I've refreshed the tracker db as instructed, that hasn't helped. I've also been using this same SD card for a long while and haven't added any music to it recently - I think it's FAT32 but I could be wrong.

Opening a song from file manager and using pulley menu to 'open' it in the music player... WORKS! weirdly enough?

After checking into this further it does look like only certain songs are failing to play (I picked the same song I picked from the file manager, in the media player playlist, and it worked). So I guess it's a codec issue, as I do have a bit of a mix 'n' match of music formats (No FLAC though).

EDIT: Log here! http://termbin.com/343xl

Definitely seems to be a gstreamer issue?

Piece_Maker ( 2018-06-21 00:44:07 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2018-06-22 12:14:59 +0200

jabgoe gravatar image

the mount point of the sd card has changed. before the update it was something like /media/sdcard/(UUID-of-sdcard). after the update it had changed to /media/sdcard/(label-of-sdcard). so the tracker db was not up-to-date anymore regarding the location of my music files.

i could solve it by deleting the tracker files and rebooting the phone. deleting all files in the tracker's cache directory: ~nemo/.cache/tracker/*

after rebooting it took some time for the tracker to reindex my ~80GB of music but it finally worked.

edit flag offensive delete publish link more

Comments

These fixes have been suggested multiple times in the thread and don't work - certain songs play fine, others don't. I believe it to be a codec/gstreamer error rather than just a tracker issue (as on the upgrade it worked fine).

Piece_Maker ( 2018-06-22 19:18:24 +0200 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2018-06-20 13:02:56 +0200

Seen: 268 times

Last updated: Jun 22 '18