by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Ilya Murzinov
    @ilya-murzinov
    No, unfortunately, it won't help at all.
    summers314
    @summers314
    Ah. Any ideas on how we could get it to work?
    I used wail as a reference for one of my projects and would love to contribute in some way
    Ilya Murzinov
    @ilya-murzinov
    Yes, we can make it work, but it will take a lot of effort.
    Main idea is to switch to new mechanism of detection what track is currently playing.
    See issue #8.
    Neither me nor Artem have a time to work on this unfortunately :(
    summers314
    @summers314
    My app needs to detect which song is playing, and for that I used the classes in WAIL cuz i wasnt sure how to approach
    Ill checkout whats written, and if I do write a new class, I can share that here, and you can intergrate it with WAIL :)
    Ilya Murzinov
    @ilya-murzinov
    All right, give it a try!
    Ilya Murzinov
    @ilya-murzinov
    @summers314, actually I think I know what the problem is with SoundCloud and will possibly fix it.
    summers314
    @summers314
    Cool. :)
    The issue with mediacontroller might be that, if the user is playing a game, and the background song is being played using MediaPlayer, then wont that get scrobbled too?
    summers314
    @summers314
    Any idea on how to get the album art? Im thinking of displaying it on the homescreen
    summers314
    @summers314
    Ive put a snippet on PasteBin, not sure where I should be setting it from, and if it will work in all cases? http://pastebin.com/ye1C4p5F
    Ilya Murzinov
    @ilya-murzinov
    I don't actually think we should do that. Album art is displayed in the media player, I would not want to see it in the scrobbler :)
    summers314
    @summers314
    Ah okay. Just thought it would act as a nice background for the MainActivity :)
    summers314
    @summers314
    Is there any chance you can convert this to a library? Im trying to make a scrobbler too, and some of the code is confusing to interpret. A lib would be extremely helpful!
    Ilya Murzinov
    @ilya-murzinov
    What kind of library do you mean? What features do you want to have there?
    summers314
    @summers314

    1) getSong/getAlbum/getArtist/getAlbumart/getTotalDuration/getDurationPlayed/isPlaying

    2) And a callBack, like; public void scrobbleSong(Track track); so this method is called once min duration of song is reached and its ready to be scrobbled

    3) Some customization on how songs get scrobbled, like if we dont want to scrobble the same track multiple times if a user is listening to it on loop etc

    Im using it as a lib already, but there is still some confusion regarding code and when which method is called. Making a lib would be really useful
    Ilya Murzinov
    @ilya-murzinov
    In WAIL, all methods you listed are implemented using just a bunch of broadcast receivers which receive intents from players and convert them to internal intents for WAIL, which we handle in WAILService. So I don't see, how we can make a library out of this.
    summers314
    @summers314
    I think the library is already there, code just needs little formatting. I wrote a snippet on how the library could act. Basically I can register/deRegister the services from my Activity. And also, there is a callback that I can implement, which will have the track details.
    summers314
    @summers314
    When is WAILReceiever called? Does it function similar to SpotifyReceiever/SamsunReceiever etc?
    Ilya Murzinov
    @ilya-murzinov
    @summers314, if you want - just fork WAIL, perform the refactoring and publish the library!
    @summers314, I don't actually know about WAILReceiver :)
    summers314
    @summers314
    Yup. Working on that exactly. :) if you get time, try to add a soundcloud receiever if possible
    Cihan Keser
    @kramer
    So which issue would you suggest for a newcomer?
    Ilya Murzinov
    @ilya-murzinov
    Hello!
    #120, #151, #157 - these are the easy ones, I believe
    Cihan Keser
    @kramer
    I started working on #120 (the widget) and have already committed some preliminary stuff to my branch. It's far from done but would be great to have some feedback :)
    One thing I need a hint on is: how to update now playing info on widget? This line in WAILService looks like the place to trigger this update but how exactly?
    I thought about listening for TracksDBHelper.INTENT_TRACKS_CHANGED on widget side but I've read that widgets can't listen to local broadcasts...
    Ilya Murzinov
    @ilya-murzinov
    @kramer , I don't know how to do it :)
    please, ask @artem-zinnatullin directly in #120, I think he doesn't read Gitter :)
    Artem Zinnatullin :slowpoke:
    @artem-zinnatullin
    Yep, Gitter does not send me emails (if I remember this correctly, it did in past)
    Ilya Murzinov
    @ilya-murzinov
    @kramer, you can also take a look at #110, this is really easy to get started with
    Cihan Keser
    @kramer
    Thanks, I found how to update now playing etc. Just working at my own pace though, I'll let you know when I have sth nice enough :)
    Han
    @HankAviator
    Heyy!
    Soundcloud scrobbling now appears as "null - null"
    Wanna fix? :clap:
    Artem Zinnatullin :slowpoke:
    @artem-zinnatullin
    @HankAviator from you?
    Han
    @HankAviator
    @artem-zinnatullin yes! The bug exists in my scrobbler
    Artem Zinnatullin :slowpoke:
    @artem-zinnatullin
    @HankAviator I mean you want to fix it yourself? :)
    Han
    @HankAviator
    @artem-zinnatullin хочу но не могу )
    Han
    @HankAviator
    @artem-zinnatullin I just proposed a localization PR - not sure if I am doing in the right way :joy:
    Artem Zinnatullin :slowpoke:
    @artem-zinnatullin
    @HankAviator I'm busy this weekends, I'll take a look at monday!
    Han
    @HankAviator
    @artem-zinnatullin круто!)
    Denis Volyntsev
    @Defuera
    This message was deleted
    Han
    @HankAviator
    Артем! PR ждать!)
    Lanre adams
    @lanre-adams
    Pls can i get assistance to fix a bug on an android program?
    Han
    @HankAviator
    no wail repo is deserted @lanre-adams