tomahawk-player / tomahawk-android Goto Github PK
View Code? Open in Web Editor NEWTomahawk's Android Music Player
License: GNU General Public License v3.0
Tomahawk's Android Music Player
License: GNU General Public License v3.0
I'm using Tomahawk /w Ampache on my Linux rig as well as two Android devices.
On the Linux rig ALMOST all of the music shows up with the right albums and songs.
However on my Android phone many artists are missing, and probably songs as well.
On my Android tablet only songs beginning with a number or the letter A are being displayed,
it seems to not be able to resolve past that.
Is there anything I can try to correct this?
To start a station seeded with currently playing track
The existing playback controls, while certainly minimalist, are somewhat unintuitive with regards to track seeking. An option that allows for a more traditional seek bar would be very welcome for users coming from most other music players. This could also be extended to include standard next/prev buttons as well.
I have a lot of local music on my Android device, sync'd with my desktop.
Some of the sorting / grouping sometimes looks very odd in the Android player, and it would be much easier to debug what is going on if I could view (and even better, edit to fix!) the tags on my android device, rather than trying to remember the issue to investigate when I get home onto my PC, or using another media player / app on Android to view/edit the tags.
I get this:
Error:One of setGitDir or setWorkTree must be called.
when i try to sync ?
The current 'Add to Queue' option seems to act like the standard 'Play next' found in most music players. I would expect that selecting 'Add to Queue' would add the song/album to the end of the current queue, but instead it just adds them to the top of the queue. This is fairly counterintuitive to me, and is especially problematic during car trips where someone else is responsible for adding songs to the queue and expects them not to play immediately.
When using a connected Bluetooth device like a car entertainment system I cannot control previous/next track in tomahawk. This also applies for screen gestures on my OnePlus 2.
Albeit play/pause works as expected in both scenarios.
trying to add an account to Amazon Music plugin gives the error: Amazon Music: Internal error.
all other plugins i have access to besides Beets work just fine
running on Android 6.0.1 on Nexus 5x
Rdio, RIP.
open favorites, start favorites station, let track start playing from station, tap one of the favorites track, let it start playing, press station button again to try and start favorites station again .... nothing happens
Paused while it was preparing the next track
I've downloaded the desktop client to create a playlist, since I can't figure out how to select multiple items on the android client and adding 100+ tracks individually is painful.
I've connected both clients to hatchet, but I can't figure out how to get the playlist to sync from my desktop client to the android client. I've also exported the playlist from the desktop client (seems to be an xml
file), but can't find a way to manually import it in the android client.
Is this feature not implemented yet?
I registered hatched account but my playlist does not sync between my PC and android.
I play a long list (Favorites). It plays a few songs, then reloads the queue and restarts from the beginning. This may be the same issue I saw with albums. Maybe related to network connectivity?
Hey,
does tomahawk-android support caching of a remote music collection (e.g. when i play the music => save it to local collection or in a cache file)?
Im using it with ampache.
If not, would you like that feature to be added?
the apk version name could be easily loaded from git repository itself this is an added advantage for sending out releases as there will not be any need for commits for just changing the version.
As for the apk version code, the same could again be loaded from the git repository itself the build-script for this is available from https://gist.github.com/Avinash-Bhat/12fc59b3d96cb427e5e9 (this may require some tweaking)
I will send a PR so that you can look at this.
When viewing an album, it incorrectly includes songs from multiple artists because there are multiple artists with different albums which happen to have the same album name.
This is occurring using local music on my Android device.
The specific example is the Album 'No Control' by Bad Religion, the tags for the files in the album are:
Artist: "Bad Religion"
Album artist: (empty)
Album: "No Control"
Year: 1989
Genre: "Alternative & Punk"
However, I have a single song from another artist with album name of 'No Control' which is also getting inserted into this album in the Android app:
Artist: "Pinboys"
Album artist: "Peter Criss"
Album: "No Control"
Year: 2000
Genre: "Miscellaneous"
I suspect that the album artist tag is not being treated correctly - I would expect that if the album artist is not specified, then only songs with the same artist and empty album artist are grouped together eg.
Eg.
All songs with the same album name / album artist / year form an album.
If album artist is empty, then all songs with the same album name / artist / year form an album.
It's dead now. :/
my thinking was to have a list of all resolvers that you can edit
where you can switch around items by dragging them
and the order would then be the priority for each resolver
No, that isn't a typo in the title. When activating Google Play Music capability it asks for a permission to "sj". That's all it says. It has a Google "g" logo and "sj". Playback works fine, though.
Nexus 9, Android 6.0, Tomahawk latest (downloaded five minutes ago)
eg Query starts with "Vildhjarta - Traces", gets resolved by YT to "Vildhjarta Traces [HQ/HD]" and is passed like that to following resolver which cant resolve because of that
When asking for permission to access the Google account information incomplete information is displayed: https://goo.gl/photos/gZYgVrW4LHdHmKaw6
When I play an album I collected, it (sometimes?) plays a couple of songs and then starts the album from the beginning again. So it repeats the first couple of songs but then seems to recover.
Hi Dear
please let to add Persian Language on this project
Sorting doesn't work for artists/albums that are collected.
Whenever I try to sign up with Hatchet either through the app or the browser, it always says that the username has been taken or that there has been a connection error, even though my connection is perfectly fine. // I'm assuming you don't have to sign into Hatchet to use the app, but when I go to the collection page, there's absolutely no music even though I'm signed into Spotify and Soundcloud
... not the queue, but the order of the list itself changes until I restart the app. Then it goes back to reverse chronological.
When I play my favorites (~450 tracks) and enable shuffle
It plays several (~5) tracks .... and then just starts over
Beets wont add an instance without authentication. it works on the desktop version, but android gives an error: Beets: unable to authenticate. Please check your connection.
running Android 6.0.1 on Nexus 5x
I use the ownCloud (8.2.2) music app (lastest) with ampache support activated along with a tomahawk nightly build (0.951_armv7a). The connection is https with a letsencrypt certificate.
I can log in just fine and also it seems as if the query for the collection xml is returned from ampache.
In my owncloud logs i see two call which both return as 200. One for the action 'handshake' and another for action 'songs'. I replayed the later request in browser and it showed me an xml holding all the music information expected.
But in the app nothing shows. The circle right beside the ampache menu point does rotate forever.
adb logcat | grep ampache
shows the following:
D/ScriptInterface(19950): log: ampache: registerPlugin: resolver id: 0
D/ScriptInterface(19950): log: ampache: New auth token: odfjeg98vjremovedc865dd9
D/ScriptInterface(19950): log: ampache: Ampache Resolver properly initialised!
D/CollectionDb(19950): Constructed CollectionDb 'ampache_collection.db' with version 5, objectId: 504854388
D/ScriptResolver(19950): ScriptResolver ampache initialized successfully.
D/ScriptInterface(19950): log: ampache: Collection database has been changed. Wiping and re-fetching...
D/ScriptInterface(19950): log: ampache: Checking if collection needs to be updated
D/ScriptInterface(19950): log: ampache: registerPlugin: collection id: 1
D/ScriptInterface(19950): log: ampache: Collection needs to be updated
D/DbCollection(19950): ampache - Fuzzy index initialized. Resolving all waiting queries.
logcat
without grep shows an exception. Though i do not know if this is related:
D/ScriptInterface(20689): log: ampache: Collection needs to be updated
W/System.err(20689): com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Invalid double: ""
W/System.err(20689): at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:249)
W/System.err(20689): at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:239)
W/System.err(20689): at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:117)
W/System.err(20689): at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:217)
W/System.err(20689): at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)
W/System.err(20689): at com.google.gson.internal.bind.ArrayTypeAdapter.read(ArrayTypeAdapter.java:72)
W/System.err(20689): at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:117)
W/System.err(20689): at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:217)
W/System.err(20689): at com.google.gson.Gson.fromJson(Gson.java:861)
W/System.err(20689): at com.google.gson.Gson.fromJson(Gson.java:826)
W/System.err(20689): at com.google.gson.Gson.fromJson(Gson.java:775)
W/System.err(20689): at com.google.gson.Gson.fromJson(Gson.java:747)
W/System.err(20689): at org.tomahawk.libtomahawk.resolver.ScriptInterface.invokeNativeScriptJob(ScriptInterface.java:284)
W/System.err(20689): at com.android.org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
W/System.err(20689): at com.android.org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
W/System.err(20689): at android.os.Handler.dispatchMessage(Handler.java:102)
W/System.err(20689): at android.os.Looper.loop(Looper.java:135)
W/System.err(20689): at android.os.HandlerThread.run(HandlerThread.java:61)
W/System.err(20689): Caused by: java.lang.NumberFormatException: Invalid double: ""
W/System.err(20689): at java.lang.StringToReal.invalidReal(StringToReal.java:63)
W/System.err(20689): at java.lang.StringToReal.parseDouble(StringToReal.java:267)
W/System.err(20689): at java.lang.Double.parseDouble(Double.java:301)
W/System.err(20689): at com.google.gson.stream.JsonReader.nextInt(JsonReader.java:1205)
W/System.err(20689): at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:247)
W/System.err(20689): ... 17 more
D/FuzzyIndex(20689): create - recreate:true
D/FuzzyIndex(20689): beginIndexing - recreate: true
D/FuzzyIndex(20689): endIndexing
D/TomahawkWebChromeClient(20689): Ampache - Uncaught error:{} -- From line 52 of file:///android_asset/js/tomahawk.js
D/FuzzyIndex(20689): Adding tracks to index - count: 0
D/FuzzyIndex(20689): endIndexing
D/FuzzyIndex(20689): updateSearcherManager
Running the code on Moto E crashes the application when BlurTransformation is used to set blurred image to the ImageView.
E/RenderScript_jni﹕ Error loading RS jni library: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.tomahawk.tomahawk_android-2/base.apk"],nativeLibraryDirectories=[/data/app/org.tomahawk.tomahawk_android-2/lib/arm, /vendor/lib, /system/lib]]] couldn't find "librsjni.so"
I mostly use tomahawk in landscape mode in my car. But its pretty hard to see what is playing, etc as everything is so small.
It would be nice to either adjust sizes/fonts or to have a separate car mode for the player.
The collection DB is wiped every time the device folders are processed for tracks. Is there a specific reason for this? Is it possible to update the table instead of wiping and recreating every time?
The wipe is happening in the function "processMediaWrappers" in the file org.tomahawk.libtomahawk.collection.UserCollection.
This function calls the wipe() function and processes tracks to create UserCollection data.
The function processMediaWrappers is called in run() function in the class GetMediaItemsRunnable.
So it seems like, while tracks are added and removed on every search, the UserCollection is wiped and recreated every time.
landscape artist/album pic gets cut on both top and bottom that often doesn't look pretty (especially when it cuts off artists' head completely)
I have had no luck playing music from tomahawk beyond tapping a track from top hits.
Just reinstalled app, and here is me documenting my journey trying to play all music from a specific artist:
Seriously I love the idea of the platform, and something to give me a master app for all my music needs... but in spite of dedicated efforts I still I really have no idea what the intended user flow.
Am I missing something here? How do others typically use the app?
Well, I know this is for a beta client connecting to a beta service, but here goes anyway. I've got ownCloud running with its Ampache support, and the Android Tomahawk app doesn't seem to work correctly with it. It seems to log in correctly, all albums/songs are displayed correctly, but trying to play any song just shows the animated line on the top for a few seconds, then goes to the next song, until there aren't any songs left. I've successfully used this server with the "Just Player" Android app and Tomahawk on Windows. Is there some way to collect additional data to see if I can figure out where the problem lies?
Using ES File Explorer (pro) to open an mp3 file and choosing Tomahawk for playback will start (or maximize) Tomahawk, but not actually load or play the file.
Choosing one of the other players (Play Music for example) works fine (not a permission issue).
Playing the file from within Tomawak works (not a file issue) :/
HTC one M8
Android 6.0 (H11)
I read a response to another issue that gave the rational for deleting played songs from the queue to be that it would be nigh impossible to find the current song in a queue of thousands. IMO a better solution is to just scroll to the current song when the queue is opened, but still maintain all the previous songs so that the user can go back to a previous point in the queue and play it from there. It would also mean that an option can be added to create a playlist from the queue.
When I try to add the GPM integration with my account I get the following toast:
cannot read property responseheaders null
eg:
A is playing
A have played to the end
B is being prepared/getStreamUrl-ed .... at this point Tomahawk is playing A from the start again
Once B is prepared - A stops playing, B starts playing
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.