yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Mort:
The idea of MortPlayer was to use the main folder as "white list", instead of (often missing) .nomedia flags as "black list".

Also, ignoring .nomedia is really useful for the audio book version, since it allows to use a .nomedia folder for audio books, which will then be hidden from most other players.

No, sorry. You can limit playback to chosen folders by tapping the cover in the folder list (list style) or using the folder item options. But there's no way to sort them.

At work. You'll even be able to insert an SD or plug an USB stick (where hardware allows, e.g. some tablets) and the player will read either given directories, the entire storage, or ignore it, if you want to...

Partly. You can use the Widget interface for most of it.

To control the player, you can "start" the service with commands, e.g.

Intent playbackIntent = new Intent( "de.stohelit.folderplayer.PlaybackService" );

playbackIntent.putExtra("button", "play");

context.getApplicationContext().startService(playbackIntent);

Other possible "buttons" are "pause" (same as "play"), "playForce", "pauseForce" (will check current status instead of just toggle), "stop", "next", "prev", "nextFolder", "prevFolder", "rew"/"rewind", and "ffwd".

On track and status changes, there's a broadcast named "de.stohelit.playerwidgets.WIDGET_UPDATE".

It contains several "extras":

"state" (integer): -1 = no service running, -2 = initializing, 0 = no files, 1 = stopped (playback, not service), 2 = playing, 3 = paused

"cover": file name of cover

"trackTitle", "trackAlbum", "trackArtist": should be self-explanatory

"fileName", "folderPath" (might be missing in some states): file name without path and its path

However, track position and seeking is not possible. Updating the track position by broadcasts would be too much cost - the player would need to send it regulary, no matter if there's even a receiver. And since a "set position" option wouldn't be that usefull without the current position, there's also no interface for that...

Similar goes for the shuffle mode. The widget is for both music and audio book version, and I didn't see much use to clutter the widget with even more buttons, so there's no interface as well...
[Android Apps and Games] Mort:
No idea what's happening there... The ads are shown with an AdMob library, but so far I didn't hear about anything like this. Maybe there's a permission problem (usually caused by a bug in some Samsung firmwares or sometimes ROM updates) or something went wrong during an update...
[Android Apps and Games] Mort:
Here's a test version of the upcoming update. It's somewhere between alpha and beta, i.e. most things should work fine, but there might be bad crashes in/on some cases/configurations/devices...

Most significant changes:

- Music folders are now configured per storage, you can choose to ignore the storage, use it entirely, or select the folders to use. (Yep, multiple are possible.)

- Both the configuration and the read data is saved on that storage, so you can use different storage cards/USB sticks/holographic memories ;-)/whatever and also use the same media at different locations (different USB ports have different mount directories...).

- Even dynamic plugging and unplugging should work fine, but this also depends on the device/ROM. It seems like some devices send the "storage mounted" notification when the new media is discovered but not yet mounted...

- Action Bar also on 2.x devices (done with ActionBarSherlock)

- Track and folder list were reworked to use the Action Bar and hopefully be less confusing...

- Options to ignore the tags and not to reset the position on pause (the latter currently enabled by default)

- Some bugfixes, esp. with BT headsets on ICS devices
[Android Apps and Games] drakenabarion:
Hi Mort

Been using your player a long time and its been great.

After update to cm9 (ICS), I notice that the lock screen controls only work when the player is open and not in background. Are there any plans fix this so it works whenever the player is open even in background, or is that something difficult to do at the moment with the new ICS API?

Also, I upgraded to the ICS launcher from LauncherPro (well I use a variant). In launcher pro, I could resize your Widgets and they look good. however, resizing in other launchers than launcher pro isn't as pretty.

Any chance to add a 2x1 sized widget like I have resists in these screenshots?

Thank you for your great work!
[Android Apps and Games] Mort:
I just send the required information, it's up to the system what it makes of it. It should work fine as long as the player's either playing or paused, just like it is with the visibility of the notification. At least that's how it works on my Galaxy Nexus, but I don't know what others messed up...

Yes, there'll be some changes in future updates. However, I don't want to make the widget app too big, and cover images big enough for a full screen stretched 2x2 widget would need to be quite big... Also, there are some limitations with resizing widgets, I can't use own "layout element" like I required for the cover resizing of the main player's landscape layouts.
[Android Apps and Games] drakenabarion:
Oh if its working fine on the Nexus, it should be working fine on cm9, since the SGS cm9 is based on the Nexus sources. Its weird that it doesn't act the same.

Thanks for the reply.
[Android Apps and Games] Mort:
I've uploaded some updates to the Play Store, so some bugs I had fixed for quite a while are finally fixed there as well.

If you're using the test version, you should not update. Probably it'll just crash, so you'd need to un- and reinstall. I'll post a new test version with new version number sometime this week (or at least I plan to...).
[Android Apps and Games] Tatsuya79:
Thanks for your past answer, I resolved my issue by moving to another rom at that time.

But since I'm on CM9 with my Galaxy S I've got another problem, which is not about music as it's always perfect now.

When I'm browsing the folder list mortplayer stops a lot while accessing the albums thumbnails. I've got the message telling me to wait or stop the app, selecting wait it finally loads up the pictures and I can move the list again...

I did a logcat to try to find the cause of this problem, what I get are repeating messages like this:

D/dalvikvm(12483): GC_CONCURRENT freed 1959K, 19% free 10796K/13187K, paused 2ms
+5ms
D/dalvikvm(12483): GC_FOR_ALLOC freed 1929K, 20% free 10688K/13251K, paused 26ms

D/dalvikvm(12483): GC_FOR_ALLOC freed 1879K, 20% free 10711K/13251K, paused 22ms

D/dalvikvm(12483): GC_CONCURRENT freed 1958K, 20% free 10733K/13251K, paused 2ms
+8ms

My music is on my external SD if that can be related. :(
[Android Apps and Games] Mort:
After quite a while, finally a new update for the test version.

Changes:

- New handling of notifications (now constantly visible during play/pause, title ticker is optional, with Android 3.0+ additional configurable button)

- Update to ActionBarSherlock 4.1.0 (might fix some problems with "older" Android versions)

- Alarm clock initialization modified, so there's no update query even if set in preferences, and it shouldn't be able to be interrupted by other (system) apps (something on my ROM stopped the alarm screen right after it's been started...)

- Search and configuration of menu entries adjusted to new Action Bar handling

- Several bugfixes
[Android Apps and Games] Mort:
Another update, this time with slighty updated widgets. The player update only has some minor bugfixes.
[Android Apps and Games] Mort:
Update again... There's been a file lurking around which should've been deleted for quite a while and which caused some display bugs on Android 3.0+. With older systems, you probably won't notice a difference to the previous test version.
[Android Apps and Games] drakenabarion:
Recent versions have been working great!

ICS Lockscreen controls work even when app isn't focused which is exactly how I like it. Only limitation is that they don't work initially when the app is started by the Widgets. Opening app main screen has to happen at least once pee session for the ICS lockscreen controls to work.

Also love that there is now a next track button in the notifications menu. Would also be great if there was a stop/play button.

But great job on recent updates. It is very stable.
[Android Apps and Games] Mort:
It should also work if you start playing with the widgets. The lock screen should work similar to the notification, i.e. visible during play and pause. I didn't quite get when it's visible in "stopped" mode as well, ICS acts quite intransparent there...

The stop/play button is the cover, just like in the widgets. It even worked that way in older versions (with Android 3.0+, it's not possible to do with older versions), only it didn't show the small play/pause icon in the bottom right corner.
[Android Apps and Games] drakenabarion:
I guess there are variations in each ICS release. So possibly not a change in what you did, but in what the rom does.

Thanks. I didn't know that. :-) Yes I knew widget works that way but not the notification.
[Android Apps and Games] vfrjim:
I just installed Mortplayer on my Samsung Tab 2 7.0 after hating all the music players that I tried and I do like this player the BEST, it works like I wanted them all to work! I found a little bug, not sure if it was mentioned yet. I connect to my car stereo via bluetooth and it works fine but when I start my car, and the bluetooth reconnects, it starts to play for a second, but then automatically pauses. I prefer to have it continue playing where it left off (like google play) Is this a bug or by design? I will be donating soon since it is a great program and I appreciate your hard work!

Thanks!
[Android Apps and Games] falconet9:
Smart AudioBook Player

Hi Mort -

Love the player and audiobook player! I'm a big audio book listener and you have one of the best apps out there!

Wondering if you've seen a rather new app for android "Smart AudioBook Player".

It has some cool features around audio books that you might be interested in. First, the book marks are all kept in the book's folder. I found that to be a rather nice alternative compared to having several bookmarks for multiple books all in the same list.

Second, there is a progress bar for the book as a whole. It was a neat feature for a book that is split over several files.

I know you are active in updating your app and was checking to see if you've played with this.

Thanks for all your hard work!
[Android Apps and Games] Tatsuya79:
Finally installed the test version (7th June in this thread) and now I finally got rid of those huge pauses while browsing my album folders.

Guess that was part of the ICS fixes.

I thought it was perhaps because of CM9 and problematic accesses to external sdcard (as it is still slow compared to GB, and on a lot of different phones).

Great work! glad I donated for this fabulous player. :good:
[Android Apps and Games] Mort:
Trouble there is some drivers and devices want to be extra smart and emulate a play/pause button press. So there can be up to three play/pause: from the player when it gets the "headphone connected" notification, from the headset itself, and from the BT driver on the device. I tried to work around this by ignoring play/pause for one second after connection, but it seems like this isn't long enough for some configurations. I'm not sure whether it'd be a good idea to ignore what might be actual button presses for much longer...

In the player UI you can limit which bookmarks are shown with the dropdown on top.

Regarding where the bookmarks are stored on the device, I don't like to modify the user's data.

True, but Android sometimes is quite bad at delivering the length of a single file, and I don't think it'd be good to multiply such errors. Additionally, it would require to determine the length of all files in a folder, which could cause even longer pauses when switching to a different folder.

Nice. :-)

SD card access is always a bit of a trouble. Glad it's no bigger issue anymore in this case.
[Android Apps and Games] z81:
Hi, Mort.

Can you add settings for disable ICS Lockscreen controls?
[Android Apps and Games] Mort:
Another test update. I've changed the "visibility" behaviour to be a bit more consistent. If you leave the player's main screen while nothing's played, it's stopped, including the widget, which resets to "Tap to initialize". Otherwise, you'll need to use the close button in widget or remote control to get rid of notification, lock screen, and so on. (That is, except for the ICS lock screen, which I couldn't convince to show up while stopped...)

Other changes include some more options in the remote control, bigger cover in notification, ICS style folder names in track list, and some more bugfixes.

Technically, I could, but I don't think it's a good idea. There might come other services using the information, like better BT stacks supporting AVRCP 1.3.
[Android Apps and Games] Tatsuya79:
Thanks, but got file not found.

Is it just me?
[Android Apps and Games] Olioaglio:
Mort, download does not work. Is it just me?

Cheers, Olioaglio
[Android Apps and Games] jojoost:
Does anyone know that mort means the death in Latin? Just nice to know ;)
[Android Apps and Games] andkit:
Yep, he was Deaths apprentice for a while in a Discworld story (which is why I tried this awesome player in the first place ;), I love the Discworld stories )
[Android Apps and Games] z81:
:(

Album cover closes useful information and spoils the look of the lockscreen. And it is not necessary when using BT headset. I tried GoneMAD Music Player with this option and there are no problems, but I like MortPlayer.
[Android Apps and Games] Tatsuya79:
Works great here.

Perhaps just a small bug: it's scanning my folders at first start despite I chose "never" in the settings.
[Android Apps and Games] Mort:
Strange. Does it work now? Maybe it's just been some forum hiccup...

Yepp, that's where the name's from. Though it might've become a PonderPlayer if I've been a bit further in the diskworld books back when I started MortPlayer (iirc it's been 2003).

It's admittedly done a bit strange by Google...

I'll think about it...

Thanks, will check that. Usually, this should only happen if there's no write access to the storage. (In that case, the information is stored temporarily on the internal storage.)
[Android Apps and Games] Aheros:
Using it On Vodafone 845. For now my favorite.
[Android Apps and Games] Tatsuya79:
Yes the download is working now, thanks, I posted this "folder scanning" bug for this latest version.

(concerning this bug, I'm on CM9 with music on external SD with just 1 big Music folder selected. internal SD is on "ignore" in "folders to read" setting)

Another strange behaviour: Mortplayer icon stays in the notification bar when the playlist has ended.

It stayed there the whole night on my phone.

Bug or feature? :confused:
[Android Apps and Games] Mort:
Depends on your settings.

The notification (as well as lock screen and widget) now remains active in stop mode as well, so there's finally a consistent behaviour.

However, by default the service should be stopped half an hour after the player's been stopped, unless that setting was modified.

Additionally, the service is stopped when the main player is left while stopped and with the exit buttons in player menu, widget, and the notification/widget popup.
[Android Apps and Games] guy_h:
really liking the app, finally upgraded from rockbox and this fits the bill pretty great.

one thing I was wondering was where the bookmarks are stored? I recently managed to lose 6 months of bookmarks by not backing up and don't particularly want it to happen again!
[Android Apps and Games] drakenabarion:
Recent update makes this player work perfectly for my usage. Thanks! :-D

Edit: this isn't a feature request, but I just had the idea that using a progress bar in the notification would be cool. (% of song played). Would have problems I am sure and I am already perfectly happy with the current set of features.
[Android Apps and Games] Mort:
So far, they're in an internal database. This will change when I migrate all the changes of the current Music test version to the audio book player - which might take quite a while, just because of additional things like the bookmarks. Until then, you could only export the bookmarks manually with the menu entry in the bookmark list.

I'm not so sure whether that's a good idea. Usually you rarely need this information, and it would increase CPU load (and thus battery drainage) since it would require an additional, always running process to update the notification. The actual playback is done by a system process which can't update anything by itself.
[Android Apps and Games] drakenabarion:
Yeah I would never quite go as far to request it. Its way too much work for a minor graphical thing. :-)
[Android Apps and Games] guy_h:
Great - I didn't notice this functionality! Much appreciated mate :good:
[Android Apps and Games] kuroneko.ua:
Bluetooth 3-button headsets - double press.

Is it possible to detect double-press on 3-buttons bluetooth headsets, not only long-press? Some of such headsets (for example, Nokia BH-503) simple can't send long-press events. It IS headset problem, not MortPlayer's. Or, sorry for silly suggestion, assign different actions for single press when music is playing and when music paused?
[Android Apps and Games] Sevastopol:
Mort, thank you for this player - very fast and user-friendly. There are 2 things I want to ask about though. First - is it possible to do an overlap? Or maybe just remove the gap while switching between songs.

And could you renovate design of the player a little bit to make it more ICS-like (white/blue or gray/blue colors)? Something like on the screenshot below (btw I'm sorry for messing with your app, I just wanted something lightweight:))
[Android Apps and Games] Mort:
A minor test update:

- repeat track didn't work

- fixed text color in track list with white themes

- when opening the folder list from track list, the currently selected folder is regarded
[Android Apps and Games] Mort:
I'll try some "double tap instead of long press" option after the release of the current test version. I preferred long press because if you allow multiple presses, there's always some delay since the app has to wait whether there'll be another press. With a headset with multiple buttons, there are usually enough buttons to avoid this gap...

Not quite that easy to do, because Android wants the "broadcast listener" done independently from the playback service. Also, it's a bit hard to have control while the music's paused. For example, if the track change button would be a folder change during pause, you'd have to check the display to find out which folder is currently active - but the most common use of BT headsets is when the device is in the pocket.

Maybe it's possible to do gapless with Jelly Bean. There's an API for it now, but it's a bit poorly documented. I'm still waiting for some feedback from the Google devs there...

Something simple is possible with the "Android" or "transparent" themes of the current developer version.

I like the smaller icons in your screenshot, but generally it looks a bit too much like WP7 instead of ICS, and some icons are misleading imho (folder skip looks like track skip, track skip looks like position skip, shuffe mode and menu seem to be dummies). I've thought about some new icons a bit similar to the new action bar icons as well, but I'm no designer, and currently I want to get a (mostly...) stable release first...
[Android Apps and Games] Sevastopol:
Thanks for the reply, I'll wait for 'gapless' version impatiently.

Yep, buttons are WP7-styled, but I when I said about ICS, I ment just color scheme, thin fonts, etc. (maybe make progress bar look like one in ICS). But again - playback is on the first place :)
[Android Apps and Games] gamerM:
thanks allot for this!
[Android Apps and Games] Tatsuya79:
Last version not scanning all folders at boot anymore while set to "never". Great! :good:

My folders browsing lag is back randomly (happened on last version too), guess that's definitely a CM9 ext-SD card access problem.

Oh well, we'll see with Jelly Bean. :cyclops:
[Android Apps and Games] z81:
Crashes on start if repeating one song chosen

1. System settings -> Applications -> MortPlayer Music -> Clear data

2. Launch app and set "Save and restore repeat track" in Preferences -> Initialization

3. Set "Repeat song" in main screen

4. Menu -> Exit

5. Try to launch... crash 100%

ICS 4.0.3 on Samsung Galaxy S2 and Samsung Galaxy S3

(and please add ability to disable ICS Lockscreen cover and controls)
[Android Apps and Games] popy2006:
Hey Mort.

Thx for keeping up developing of mortplayer.

Still the best player.

I have some questions/feature-requests to the latest updates:

* Mortplayer Always asks me to read folders on app start. Sometimes 50 popus i had to click yes or no!

* It seems the size of the buttons have changed. The are smaller now ;( i am using car holder theme. Is it possible ti maje these bigger? Like in the last versions?

Thx and keep up the good work.

Cu

pOpY
[Android Apps and Games] Core Creator:
Hi Mort.

There is a bug with "Confirm folder updates" option. It asks about the update every time I start player. Even if condition for updating is not met

Also I have some question to you in PM...

P.S. Do you have some kind of a public bugtracker? I think it would be much easier to maintain development with such tool.
[Android Apps and Games] Kos1:
Volume issue with Mortplayer Audo books?

Many thanks to Mort for an amazingly useful app!

One question about a strange behavior: On our LG Lucid phone, while listening to the player while using other apps (games and the like), the volume frequently fluctuates, raising itself to full blast.

If we switch to the stock music player and play the same file and the same app, the volume stays stable.

Has anyone else seen anything like this?

thank again!
[Android Apps and Games] Core Creator:
Probably you use some kind of effects. Like bass boost.
[Android Apps and Games] AGaming:
was adookist

Thank liked
[Android Apps and Games] wiz561:
Thanks Mort for the program. With so many out there, I got a lot of recommendations to use MortPlayer. So far, so good!

One suggestion though. This may already exist, but when using the program and when you exit with the home button, it's still running in the task bar/messages area. Is there a way to use the home button to exit the program totally?

Thanks!
[Android Apps and Games] Core Creator:
This behavior is by design, read help. You can decrease timeouts for service and pause though.
[Android Apps and Games] Mort:
Technically, I could add the option. But there's no way to tell whether the app was left with the home button or any other means (notification clicked, lock screen, ...). So turning off the screen would also stop the service because the lock screen becomes active. I'd even need to add workarounds so the service isn't stopped when you open another player window, like the track list.

However, there is an option for the back button, which is handled differently by the system. And you can simply stop the playback before leaving...

Most of the other problems here already should be solved in the recent updates, adding undetected storages will be possible soon as well.

There are however still some crashes I just can't reproduce, so if you happen to still get them, please add some information what you've done and what's the setting (playlist existing/active? folders set and read?). Maybe that helps... (Though there are also two bugs caused by ActionBarSherlock, which hopefully will be fixed with an update of that. Luckily they don't seem to appear all that often.)
[Android Apps and Games] Kos1:
Turned off the equalizer and so far so good, thx!