iamraghavgupta / GaanaExtractor

JAR to convert Gaana App downloaded files to MP3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gaana Extractor

A Java tool to convert songs downloaded using Gaana App to MP3 files.

Gaana:

Gaana is a music streaming free service. There are also mobile Apps that allow users to listen to music for free in their mobiles.

The mobile App features unlimited download of songs for a small amount of fee. The catch here is that the downloaded songs can be listed through the Gaana App only.

Using this utility, these downloaded songs can be converted to audio files with proper tags Also there is an option to organise the songs into folders named under their Album names

Command:

java -jar GaanaExtractor-<version>.jar [srcDir] [shldOrganise]
Parameter Required Type Description Default Value
srcDir Optional String The path of the folder having the downloaded songs The folder where jar file is present
shldOrganise Optional Boolean true : Organise songs into folders named under their Album names
false : No Organisation
True

Usage:

  1. Download the JAR file from the binaries folder.

  2. Retrieve the downloaded songs from your mobile and copy to a specific folder. Lets assume the folder structure to be C:\Gaana\Songs\ [Ways to do this coming soon..]

  3. Place the GaanaExtractor-.jar in the parent folder C:\Gaana\

  4. Open a command prompt and navigate to C:\Gaana\

  5. Run the following command (Direction of slash can be anything)

    java -jar GaanaExtractor-<version>.jar "C:/Gaana/Songs/" true

  6. You can find the converted files in the path C:\Gaana\Songs\converted

  7. Enjoy the songs!

Note1 : Internet connected is required for this utility to get the song details from the Gaana Server.

Note2 : If there is any error during conversion, please share the log file with me. The log file can be found in the same directory as that of the jar file. It will be under the name GaanaExtractor.log. If there was no error during conversion, the log file can be deleted.

CHANGELOG:

v2.0-BETA: Nearly every song should get converted now

  • Fixed issue which was causing conversion to fail for lot of songs
  • Tidy up the console log. It's now more crisp and clear
  • Now the tool creates a detailed log file in the location from which the jar is run.
  • Made Parameters optional with default values
  • Now the source directory parameter accepts both windows and unix file path string

v1.2:

  • Now mp3 and mp4(m4a/aac) formats are supported.
  • Will skip the songs for which there are no details in DB and prompt the skipped the files in the end.
  • Will skip the files for which errors happened and prompt the skipped the files in the end.
  • Added an option for selecting whether files need to be organised based on Album names

v1.1:

  • Fixed the inability to handle more than 10 songs in a single run.

v1.0:

  • Initial Release

Join the chat at https://gitter.im/PathriK/GaanaExtractor

About

JAR to convert Gaana App downloaded files to MP3


Languages

Language:Java 100.0%