function countPlaylists(playlists) {
		/*
  	Initialize the placeholders to iterate through the playlists
  	and find out how many we have to account for.
  */
		var size = 0,
		    key = void 0;

		/*
  	Iterate over playlists and if the user has the playlist defined,
  	increment the size of playlists.
  */
		for (key in playlists) {
			if (playlists.hasOwnProperty(key)) {
				size++;
			}
		}

		/*
  	Debug how many playlists are in the config.
  */
		_helpers2.default.writeDebugMessage('You have ' + size + ' playlist(s) in your config');

		/*
  	Return the number of playlists in the config.
  */
		return size;
	}
/**
  * Counts the number of playlists the user has configured. This ensures
  * that the user has at least 1 playlist so we can validate the songs
  * defined in the playlist are correct and they didn't enter an invalid
  * ID.
  *
  * @access private
  * @param {object} playlists 	-
  */
Counts the number of playlists the user has configured. This ensures
that the user has at least 1 playlist so we can validate the songs
defined in the playlist are correct and they didn't enter an invalid
ID.

@access private
@param {object} playlists
Counts the number of playlists the user has configured . This ensures that the user has at least 1 playlist so we can validate the songs defined in the playlist are correct and they didn ' t enter an invalid ID . @access private @param { object } playlists
function countPlaylists(playlists) {
		var size = 0,
		    key = void 0;
		for (key in playlists) {
			if (playlists.hasOwnProperty(key)) {
				size++;
			}
		}
		_helpers2.default.writeDebugMessage('You have ' + size + ' playlist(s) in your config');
		return size;
	}
function countPlaylists ( playlists ) { var size = 0 , key = void 0 ; for ( key in playlists ) { if ( playlists . hasOwnProperty ( key ) ) { size ++ ; } } _helpers2 . default . writeDebugMessage ( 'You have ' + size + ' playlist(s) in your config' ) ; return size ; }
Counts the number of playlists the user has configured.
Counts the number of playlists the user has configured .
/*
  	Initialize the placeholders to iterate through the playlists
  	and find out how many we have to account for.
  */ /*
  	Iterate over playlists and if the user has the playlist defined,
  	increment the size of playlists.
  */ /*
  	Debug how many playlists are in the config.
  */ /*
  	Return the number of playlists in the config.
  */