-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to retrieve metadata from a shoutcast stream? #11
Comments
You can use io.vov.vitamio.MediaMetadataRetriever ? is it satisfy you ? |
Oh does this work with icy/shoutcast streams? |
streams? what you wanna do ? |
Basically I'm streaming audio with your media player. It is working very well but I'd like to retrieve the metadata as well. This is usually described in the headers of the stream (Icy-MetaData and icy-metaint). See the Shoutcast metadata protocol description for more details. |
Anyway, the app is crashing on this line in an activity: MediaMetadataRetriever retriever = new MediaMetadataRetriever(this); |
error log? you wanna get Titles? |
Yeah I wanna get the stream titles. |
Apparently I'm missing that class:
|
It's a bug... |
Ok, no problem. |
But you can try add /src/io/vov/vitamio/MediaScanner.java to VitamioBundle ? |
Ok, where do I find this class? |
ok. empty file , you can try? I not sure if get title? |
Ok if I use an empty file it doesn't crash but I've got an exception after when running extractMetadata:
|
I've faced similar issue when trying to generate Thumbnail for video file:
When i'm trying it without empty MediaScanner class, following error appearing:
I've created the empty MediaScanner.java class in io.vov.vitamio package, then i get following errors:
Could you please suggest any workaround for this? |
Sorry, i've noticed from the faq this is not supported in vitamio. |
Checkout Vitamio 4.0 https://github.com/yixia/VitamioBundle/tree/v4. |
First, thanks for this great lib, it's awesome!
I'm currently trying to retrieve Metadata from a Icy/Shoutcast. I could do it with a parallel request but I'd love to make it more convenient. Are you planning to make something like:
Cheers
The text was updated successfully, but these errors were encountered: