Open Source Music Player

Hello Koders :wave:
Today Iโ€™m going to present you my first app that is build entirely in Kodular: Just Another Musicplayer

Features

  • Languages: :de: :uk:
  • Music stops when headphones get unplugged
  • Playlists
  • Repeat
  • Shuffle

AIA

musicplayer_opensource.aia (254,8 KB)
The project is licensed under CC-BY-SA 4.0 license

Issues

Only mp3 files are supported for now, until Kodular fixes the bugs in the metadata component
Library is not sorted correctly. Quickfix: Change the inner loop of the sort function to
grafik

Extensions in this project

Thanks to all extension developers

You can help

You have an idea for a feature or want to contribute? Awesome! Leave a comment and we will find a way

Translations are welcome

Here is a list of strings to be translated

translations.json
{
"appName": "JAM",
"createPlaylistTitle": "New playlist",
"enterPlaylistName": "Enter playlist name",
"positiveButton": "OK",
"negativeButton": "Cancel",
"tracks": "Songs",
"albumArt": "album.png",
"trackArt": "album.jpg",
"renameOption": "Rename",
"deleteOption": "Delete",
"selectPlaylists": "Select Playlists",
"playlistNameHint": "Enter playlist name",
"libraryTab": "Library",
"playlistsTab": "Playlists",
"queueTab": "Now playing",
"settings": "Settings",
"track": "Song",
"renamePlaylistTitle": "Rename playlist",
"addToPlaylist": "Add to playlist",
"errorDeleteFromLibrary": "Cannot delete file from library",
"errorRecursivePlaylist": "Cannot add Playlist because the target already contains the source playlist",
"errorMessageTitle": "Error",
"warningDeleteFromLibrary":"The file will be removed permantently from the device. Continue?",
"warningMessageTitle": "Warning",
"selectLibraryFolders": "Choose in which folders the app searches for files",
"darkMode": "Dark Mode",
"deleteFromPlaylist": "Delete from Playlist",
"deleteFromQueue": "Delete from queue"
}
17 Likes

Can we see some screenshots if possible? :grin:

3 Likes

Nice waiting for that to be completed s users can learn lot from that. Good luck

2 Likes

IIRC, the Add Title Bar Icon method doesnโ€™t work if you have options menu disabled. Make sure it is enabled for the above method to work.
Screenshot_20200214-112804_1


Kodular Creator have Metadata component in the Media category, maybe you can use it instead of the Metadata extension.

4 Likes

Thank you for the tips, they fixed the issues :slight_smile: The title bar icon is disabled for now, until I have implemented the settings screen

2 Likes

I added a screenshot and the source file

2 Likes

I just uploaded a new version. Version 2 contains a few bugfixes and new features for the songs. You can now remove songs from a playlist or the queue

4 Likes

I just uploaded a new version. Version 3 contains several bugfixes for the apk. Here is the full list

  • Replaced KIO4_FileExplorer because it prevented the apk compilation
  • Fixed resume music error, the reason was an error in the ExoPlayer component
  • You are now able to delete tracks from a playlist and the queue (but not from the library)
  • Long click on a track now always shows a radio list picker

A big shoutout to @bodymindpower who helped with the permissions

1 Like

What permission have you added?

I didnโ€™t add a permission. It was really difficult to figure out how to ask for permission. The only permission is READ_EXTERNAL_STORAGE

1 Like

If you want, I can translate it to Turkish language if you send the strings file :grin: (and also I can translate upcoming strings :slightly_smiling_face:)

That would be great. Translating is always appreciated. Do you have the strings?

1 Like

I got the translations file from app assets and added a Turkish language. Here is the latest edited translations file:

translations.zip (1.3 KB)

1 Like

Thanks, I also added a translation request to the original post

1 Like