TrackSearcher


Source link: https://github.com/elisov/TrackSearcher

TrackSearcher

Android library for getting full information about music track by track title.

Features

  • Parsing of data from ITunes, SoundCloud, last.fm
  • Opportunity using custom parsers
  • Caching (coming soon)

Setup

Gradle:

compile 'io.github.allockye:tracksearcher:1.2'

Maven:

<dependency>
<groupId>io.github.allockye</groupId>
<artifactId>tracksearcher</artifactId>
<version>1.2</version>
<type>pom</type> </dependency>

Usage

Before calling search you should to add at least one parser addParser

TrackSearcher trackSearcher = new TrackSearcher();
 trackSearcher.addParser(new ITunesParser());
 trackSearcher.addParser(new LastFmParser("YOUR_CLIENT_ID"));
 trackSearcher.addParser(new SoundCloudParser("YOUR_CLIENT_ID"));
 trackSearcher.search("Night Lovell", "Dark Light", new TrackSearcher.Callback() {

  @Override
  public void onSuccess(Track track) {

// some code
  
}

@Override
  public void onFailure() {

// some code
  
}
 
}
);

Custom parser

Implement interface Parser

class CustomParser implements Parser {

  @Override
  public Track parse(String artistName, String trackName) {

// some code

return null;
  
}
 
}

License

Copyright 2016 Alexey Elisov  Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License. You may obtain a copy of the License at
  http://www.apache.org/licenses/LICENSE-2.0  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 

Resources

Simple example showing how to use WearableListview for Android Wear. Implements OnCenterProximityListener interface to change view style when focus on some list items.

Parallax on Android in the simplest way.

An circle view, similar to Android's ProgressBar. Can be used in 'value mode' or 'spinning mode'.

A custom TextView with vertical marquee effect.

Stream API from Java 8 rewrited on iterators for Java 7 and below.

Includes:

  • Functional interfaces;
  • Stream (without parallel processing);
  • Optional class;
  • Objects from Java 7.

Sticker-Camera is an Android application which allows to add stickers and tags on the picture.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes