Giter Club home page Giter Club logo

android-utils's Introduction

Readme for android-utils

I created this project to store scripts and/or utilities for android devices like my Droid Bionic phone.

enqueue-playlists.py

This script is made for people who use Enqueue, a mac audio player and playlist organizer.
The main reason I use Enqueue is because it is a fast and easy way to make a playlist from songs that exist on external drives or other computers, especially when dealing with thousands of songs and hundreds of GB of music. iTunes is not good at that. More reasons to get Enqueue

After using Enqueue to create playlists, use this script to copy a m3u playlist file and all songs it needs to android (USB mounted) or to a local directory (to sync later with android). Of course you don't have to copy to android, you can just use this to copy songs to local drive.

Here's a sample

% ./enqueue-playlists.py -h
Usage: enqueue-playlists.py [options]

  Creates playlist m3u files from enqueue db, writes m3u files to output
directory, and copies all  songs needed in m3u files to same output directory.
Only playlists listed in "playlists_file" will be created in output directory.
It's best to create initial "playlists_file" with -i, then edit file
commenting out playlists to skip, then invoke again with -c to copy.

Options:
  -h, --help            show this help message and exit
  -v, --verbose         returns verbose output
  --erase_unused        Erase files in dest_dir that are not used by m3u
                        playlists
  --skip_empty_playlists
                        Skip playlists that have 0 songs
  --db_file=DB_FILE     Enqueue db file. Default:
                        /Users/chadn/Library/Application
                        Support/Enqueue/Enqueue.db
  --dest_dir=DEST_DIR   directory that will contain newly created playlists
                        and songs. Default: playlists/
  -p PLAYLISTS_FILE, --playlists_file=PLAYLISTS_FILE
                        File containing list of playlists to export, created
                        using -i. Default: playlists.txt
  -i, --initialize_playlists_file
                        Initialize the "playlists_file" based on current
                        playlists in Enqueue, replacing any existing file.  Do
                        not create any other files.
  -c, --copy_playlists  Copy to "dest_dir" all playlists from the
                        "playlists_file", and songs referenced by them.
  -m, --m3u_only        Only create playlist m3u files, do not copy any songs.
  --stats               Output stats on the Enqueue DB

% time ./enqueue-playlists.py -v --dest_dir=/Volumes/BIONIC32GB/chadmedia -c --stats
 ....

Licence

android-utils is released under the MIT license:

githalytics.com alpha

android-utils's People

Contributors

chadn avatar

Watchers

 avatar  avatar

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.