Giter Site home page Giter Site logo

dmaudiostreamer's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dmaudiostreamer's Issues

Please Update the code clone.

Sir, Can you please update the code same like code that you have upload to playstore?
because I find the clone code can't play properly and I think it's has some different in the code.

how to fetch data json from server?

@OverRide
protected Void doInBackground(Void... voids) {
//resp = getDataResponse();
String response = loadJSONFromAsset(context);
listMusic = getMusicList(response, "music");
return null;
}

I know the code above is for retrieve json data from Assets file "music.json"
now, how to fetch data from json in the server?
please help me sir.

Parsing url

Am find trouble passing a url string i will be grateful if you could help
`String[] resp = {"", ""};
List listMusic = new ArrayList<>();

        @Override
        protected Void doInBackground(Void... voids) {
            resp = getDataResponse();
            //String response = loadJSONFromAsset(context);
            //The first string value of the getMusicList
            listMusic = getMusicList("", "music");
            return null;
        }` 

Thanks

Update metadata without playing new item

Awesome project! It looks like it makes something overly complex in Android really simple :)

My use case is for playing a live audio stream. The URL for the stream never changes and provides a constant audio feed. In addition to the auto stream URL, there is another endpoint I can fetch data from about the name, etc of the currently playing show within that stream.

Since I only ever have to play a single audio source, I need a way to update the metadata on it's own if I detect from my endpoint that it has changed (so the system notification updates, etc).

A quick look through the source code makes it seems that updating metadata is only possibly by playing a new item (a new source URL in a new MediaMetaData). Am I wrong? Is what I want to to already possible?

Album art not showing

Album art url has been provided but still not showing in notification. Also is there a way to dismiss the notification programmatically after the song is done playing?

project import

Message{kind=ERROR, text=Program type already present: android.support.v4.media.MediaBrowserCompat$ConnectionCallback$StubApi21, sources=[Unknown source file], tool name=Optional.of(D8)}

Notification not showing on android pie

Notification not showing on Android Pie, what is the solution even when i fork the sample project from the library...notification still not showing on android pie

json file from server not working...

I am trying to access music json file from my own server but its not working only assest file json working. Please give me brief details about this feature or fix this issue thank you!

Notification causes crash after 8.1 updates

I have been getting this crash when trying to display notification:

android.app.RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException: invalid channel for service notification: Notification(channel=null pri=0 contentView=com.humancondition.wtm/0x7f0d0044 vibrate=null sound=null defaults=0x0 flags=0x42 color=0x00000000 vis=PRIVATE) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1768) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6494) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

The solution to it is given on this SO post. Can you please update your Notification builder as to solve this crash?

All the best.

Android Architecture Framework connect to default android DB

Could you please let me know how to connect, retrieve, update and delete data to android default database table like "ContactsContract.Contacts" using android architecture component using Room and Livedata.

Presently I am using getLoaderManager() with CursorLoader, which is deprecated. I want to update my working code with android architecture components and AndroidX.

A simple example will be very useful.
Thank you.

load metadata

Thank you for your great lib.

I wanna know how would you load metadata for live broadcast?

No option to stream realtime

If I want to stream real-time, it will not work because if I pause it and then play it, then it will not buffer to the current stream point but will continue from where I had paused.

ui problem

UI does'nt apper in my app
I know some thing missing from my app but i don't know what is it

failed to resolve: support-core-utils

Hi, thanks for your awesome library.

I can't import your library in my project, I got this error in my gradle console :

failed to resolve: support-core-utils

Bad notification for startForeground - invalid channel for service notification

Hello,

After security update in mobile, I am getting the following error in exoplayer notification.

""
2019-03-20 19:44:14.152 3462-3462/com.abcs.tune E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.abcs.tune, PID: 3462
android.app.RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException: invalid channel for service notification: Notification(channel=tune pri=-1 contentView=null vibrate=null sound=null defaults=0x0 flags=0x42 color=0x00000000 category=transport actions=4 vis=PUBLIC)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1821)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6626)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811)

""

Could you pls help to fix this. Thank you. regards

Not Playing Radio

Hi, I got an issue about the playing radio streaming link.
Radio is playing for the link with SSL but not playing with http://.
May be the links are AAC audio those are not playing. I already added network config rules. But it's not working. May be because of AAC stream audio. Please share your thought to overcome this issue

Is it possible to start playing the song at a point other than its start?

My situation is such: I have a RecyclerView that loads a great number of different kinds of cells, one of which is audio stream and it is possible to have multiple of these audio cells with their own individual SeekBars and TextViews for duration and current time

For such I have placed the AudioStreamingManager on the Adapter and update the callback to the current holder whenever the play button is pressed.

If I pause one cell, calling onPause and then resume playback later it starts at the proper position.

However, if I play a different track midway from a different cell and then go back to the previous one, it always start from the start and there doesn't seem to be any way to have it start where I left it off from other than manually seeking forward on a SeekBar.

I have tried storing the current time on a variable and then calling onSeekTo it both before and after calling onPlay to no success.

Is there any way to achieve this effect? Am I doing something wrong?

Repeat song

Hi, I just want to ask if how to implement repeat current song and repeat all song. Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.