dunky13 / raspberryradio Goto Github PK
View Code? Open in Web Editor NEWRaspberryRadio
RaspberryRadio
When pressing the left physical button on the phone the application settings activity has to pop up to show the application settings, possibly incorporating #21 Theme selector enhancement
User can add only 1 server.
If he pays he can add more/unlimited servers
After server device going to sleep (laptop sleep state) the server is not functional on restart of the device. App displaying "seems offline" message.
For example: "Mr Big - Wild World" shows no image, it gives the following error:
07-03 14:44:24.085: W/ImageDownloader(11660): Error 301 while retrieving bitmap from http://www.mp3sale.ru/imag/200x200/622.jpg
Probably in the updater
Running in main thread makes it wait
Because you can't save a station when you are not connected. :/
The browser opens the app inside the browser and not as a separate application
When starting a server and then select station it works. If you after that stop the server and try to connect again it crashes - catch crash or something similar
Add a stripped down version of the server which you can play locally and therefore don't need to connect but it would play music :)
This makes for easier sharing with friends
Opening settings and pressing physical home button causes settings dialog to float on top of the homescreen.
Currently you see an address, you should be able to define a non-playing text so you won't see the address
Too much updating of images, fixable by saving the previous song title and comparing both.
if different load new image
Remove Delete from "+ New Server"
And replace Delete with Disconnect from server settings if connected
Probably same as issue 1
Song info + play, stop and next playback buttons
Some ideas to create a more smooth user experience while adding a server:
Maybe nice to add some nice UI patterns like:
When stopped and played again the album image doesn't show up
When playing a station and then switching to another station will keep the previous station's image
cache album image so you don't have to download the image over again
Connect to a server
Add new server
press new server delete
press menu button to show settings
It shows settings of the new server and not the currently playing server
Fix it by using a stack? delete = pop. Select settings is get from top of stack?
I have added the ability to stream .pls files and .m3u files containing mp3 streams. Well actually only implemented .pls but .m3u is prepared to be added when I find a suitable file to test it with.
Anyway, if I add a shoutcast .pls file it won't have a currently playing song - album covers should be disabled then.
So on station onclick you need to check whether it is a song name or the station name. If this is api related please let know, I will check it then
when opening url in browser make our app default to open that link
Make a cache list of the Song Names playing - not sure how to improve but it can be improved somehow
When switching stations or reloading data, remove the image and place a circular loaded
When server experiences hiccups (music stops for short periods of time) the app lags and can even freeze to death if touched at that moment.
Needs more multithreading
11-20 22:13:57.349: E/AndroidRuntime(12721): FATAL EXCEPTION: main
11-20 22:13:57.349: E/AndroidRuntime(12721): java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1
11-20 22:13:57.349: E/AndroidRuntime(12721): at java.util.ArrayList.get(ArrayList.java:306)
11-20 22:13:57.349: E/AndroidRuntime(12721): at com.mwent.raspberryradio.station.StationList.getID(StationList.java:181)
11-20 22:13:57.349: E/AndroidRuntime(12721): at com.mwent.raspberryradio.station.StationList.add(StationList.java:111)
11-20 22:13:57.349: E/AndroidRuntime(12721): at com.mwent.raspberryradio.station.StationSettingsActivity.saveStation(StationSettingsActivity.java:141)
11-20 22:13:57.349: E/AndroidRuntime(12721): at com.mwent.raspberryradio.station.StationSettingsActivity.onClick(StationSettingsActivity.java:128)
11-20 22:13:57.349: E/AndroidRuntime(12721): at android.view.View.performClick(View.java:4102)
11-20 22:13:57.349: E/AndroidRuntime(12721): at android.view.View$PerformClick.run(View.java:17085)
11-20 22:13:57.349: E/AndroidRuntime(12721): at android.os.Handler.handleCallback(Handler.java:615)
11-20 22:13:57.349: E/AndroidRuntime(12721): at android.os.Handler.dispatchMessage(Handler.java:92)
11-20 22:13:57.349: E/AndroidRuntime(12721): at android.os.Looper.loop(Looper.java:155)
11-20 22:13:57.349: E/AndroidRuntime(12721): at android.app.ActivityThread.main(ActivityThread.java:5520)
11-20 22:13:57.349: E/AndroidRuntime(12721): at java.lang.reflect.Method.invokeNative(Native Method)
11-20 22:13:57.349: E/AndroidRuntime(12721): at java.lang.reflect.Method.invoke(Method.java:511)
11-20 22:13:57.349: E/AndroidRuntime(12721): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1029)
11-20 22:13:57.349: E/AndroidRuntime(12721): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:796)
11-20 22:13:57.349: E/AndroidRuntime(12721): at dalvik.system.NativeStart.main(Native Method)
When you press and hold the album image then it will refresh all the data
Currently disabled system feedback because I don't want to change system volume but only the server volume. There should be a popup for 1.5 sec. showing the volume.
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.