freezy / android-xbmcremote-sandbox Goto Github PK
View Code? Open in Web Editor NEWPlaying with new features. See README.
Playing with new features. See README.
I get the following error when doing a gradle build
:
\android-xbmcremote-sandbox\app\build\res\all\debug\values-v21\values.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material'.
@freezy: Can you help me, please?
Right now, importing 1200 artists and 500 albums takes about 10 seconds on a Nexus S. This seems pretty slow. The current algorithm is as follows:
JSONTokenizer
to serialize it into a JSONObject
JSONArray
of the responseINSERT
each item (ON CONFLICT REPLACE
constraint on the ID will remove duplicate entries)DELETE
items with timestamp < current timeIt's probably faster to just update current entries. Ideas in the comments.
Since we have tab hosts the action bar stays pretty much static for every tab. Add some mechanism that allows customization per tab, such as not displaying (or graying out) the refresh button when a "live" list is displayed.
See ContentObserver
at AlbumsFragment.java
. Enabling requery()
results in an ANR.
Was there compelling reason to create a homegrown action bar support instead of using ActionBarSherlock (http://www.github.com/JakeWharton/ActionBarSherlock)? It is a mature and full featured product.
I was planning on creating my own fork of xbmc-remote with fragment layouts and drawer-navigation; with dependencies on ActionBarSherlock and my own v4 support library fork (which is compatible with ActionBarSherlock and NineOldAndroids.. http://kedzie.github.io/Support_v4_NineOldAndroids). But I would love to take advantage of work you've done so far with the offline database, JSON, and fragments. Would you consider merging our efforts?
If possible, this should happen in a transparent way via some abstraction layer. It could even be the content provider that decides when to fetch data from the DB and when from XBMC directly.
Post ideas in the comments.
I'm developing a fork of the Android driver app for MetaWatch (metawatch.org) - something that would be really neat would be for the xbmc remote app to integrate with the watch (so that I could, for example, pause the current program directly from my watch - A remote for a remote!)
Basically all that would be required would be:
(1) would make the watch app's existing media controls "just work" - (2) would let me listen for those intents, and display the now playing info on the watch's screen.
Should we only sync the database when the refresh button is pressed? At the moment every time Music is opened the database is re-synced. Or should we do it when the application is opened?
On very large libraries this could slow the phone down a lot?
Looks like the image library (glide?) is not set to send the account credentials as HTTP basic auth, so you get no images back, even if the jsonrpc works fine.
Is this app released under GPL like the previous one?
I have noticed that if you clear the database then click on Music it populates the database with data but does not update the list view. Sometimes switching tabs updates the list, other times it does not.
After the database is populated getContentResolver().notifyChange(uri, null); is called but this does not seem to trigger a list update.
I just forked this repository and tried to import it in my IntelliJ. I opened the repository's root in IntelliJ,
In IntelliJ, there's no directory, only files: .gitignore
, .gitmodules
, build.gradle
, etc.
So, when I go to File -> Project Settings -> Modules there is no module. When I try to "Import Module" and select build.gradle
, I get the following error message after a while:
The project is using an unsupported version of the Android Gradle plug-in (0.9.2). The recommended version is 0.14.2.
Consult IDE log for more details (Help | Show Log)
Any help appreciated.
I always get failed to parse messages.
If i use 1 instead of milliseconds for id
the file view works.
The other calls get better error messages.
XBMC System:
Ubuntu 10.04.3 LTS 2.6.32-37
XBMC Version: lars-opdenkamp/xbmc-pvr repository
This one is not about designing a graphical layout that works for tablets, but organizing the code in a way that it is maintainable for tablets and phones.
I'm building using android studio 0.4.5 on arch linux. I have my xbmc install listening on port 3737, and the remote did not find the xbmc instance. manual configuration seemed to work, but when I swipe down to sync:
02-18 09:24:21.464 8693-8742/org.xbmc.android.remotesandbox E/AndroidRuntime﹕ FATAL EXCEPTION: IntentService[ConnectionService]
Process: org.xbmc.android.remotesandbox, PID: 8693
java.lang.NullPointerException
at org.xbmc.android.app.io.audio.ArtistHandler.parse(ArtistHandler.java:65)
at org.xbmc.android.jsonrpc.io.JsonHandler.applyResult(JsonHandler.java:76)
at org.xbmc.android.jsonrpc.service.ConnectionService.notifyClients(ConnectionService.java:330)
at org.xbmc.android.jsonrpc.service.ConnectionService.onHandleIntent(ConnectionService.java:224)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.os.HandlerThread.run(HandlerThread.java:61)
Not running in emulator, running on my phone w/ CM 11.0, my own custom build of CM
Load app
Click on Music
Press back (hardware key)
Click on Music
Crashes as getActivity() is null. Line 88 org.xbmc.android.remotesandbox.ui.phone.DashboardFragment.java
Instead of pressing back hardware key you press the top left icon it does not crash next time you click on Music.
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.