<commit_before>//
//  HSEURLViewController.swift
//  Example
//
//  Created by <NAME> on 02.08.16.
//  Copyright © 2016 <NAME>. All rights reserved.
//

import UIKit
import HSAudioPlayer

class HSEURLViewController: UIViewController {

	let data		: [String] = ["http://a155.phobos.apple.com/us/r2000/020/Music/v4/44/b7/4c/44b74c29-2324-a848-22dc-7c7af6d205ea/mzaf_66571212866397411.plus.aac.p.m4a",
	        		              "http://a522.phobos.apple.com/us/r2000/019/Music4/v4/5a/3f/2e/5a3f2eaa-1f25-8507-9ca3-1671b5ed7b01/mzaf_1140962615185522552.plus.aac.p.m4a",
	        		              "http://a1498.phobos.apple.com/us/r2000/009/Music/v4/54/8d/fb/548dfbb4-1a8c-ade9-d0cc-96381447082d/mzaf_5164804325176265340.plus.aac.p.m4a",
	        		              "http://a1689.phobos.apple.com/us/r2000/017/Music4/v4/bd/c7/52/bdc75276-6630-5c6a-dff6-951861e066b0/mzaf_3753984811868634891.plus.aac.p.m4a"]
}

// MARK: - UITableViewDelegate, UITableViewDatasource

extension HSEURLViewController: UITableViewDelegate, UITableViewDataSource {

	func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
		return data.count
	}

	func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
		let cell = tableView.dequeueReusableCellWithIdentifier("urlLibraryCell", forIndexPath: indexPath)
		cell.textLabel?.text = self.data[indexPath.row]
		return cell
	}

	func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
		tableView.deselectRowAtIndexPath(indexPath, animated: true)

		self.player.play(urlStrings: self.data, startPosition: indexPath.row)
	}
}<commit_msg>Fix url audio player example<commit_after>//
//  HSEURLViewController.swift
//  Example
//
//  Created by <NAME> on 02.08.16.
//  Copyright © 2016 <NAME>. All rights reserved.
//

import UIKit
import HSAudioPlayer

class HSEURLViewController: UIViewController {

	let data		: [String] = ["http://a155.phobos.apple.com/us/r2000/020/Music/v4/44/b7/4c/44b74c29-2324-a848-22dc-7c7af6d205ea/mzaf_66571212866397411.plus.aac.p.m4a",
	        		              "http://a522.phobos.apple.com/us/r2000/019/Music4/v4/5a/3f/2e/5a3f2eaa-1f25-8507-9ca3-1671b5ed7b01/mzaf_1140962615185522552.plus.aac.p.m4a",
	        		              "http://a1498.phobos.apple.com/us/r2000/009/Music/v4/54/8d/fb/548dfbb4-1a8c-ade9-d0cc-96381447082d/mzaf_5164804325176265340.plus.aac.p.m4a",
	        		              "http://a1689.phobos.apple.com/us/r2000/017/Music4/v4/bd/c7/52/bdc75276-6630-5c6a-dff6-951861e066b0/mzaf_3753984811868634891.plus.aac.p.m4a"]
}

// MARK: - UITableViewDelegate, UITableViewDatasource

extension HSEURLViewController: UITableViewDelegate, UITableViewDataSource {

	func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
		return data.count
	}

	func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
		let cell = tableView.dequeueReusableCellWithIdentifier("urlLibraryCell", forIndexPath: indexPath)
		cell.textLabel?.text = self.data[indexPath.row]
		return cell
	}

	func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
		tableView.deselectRowAtIndexPath(indexPath, animated: true)

		HSAudioPlayer.sharedInstance.player.play(urlStrings: self.data, startPosition: indexPath.row)
	}
}
{'fraction_non_alphanumeric': 0.1248138218647602, 'fraction_numerical': 0.13762287756925826, 'mean_word_length': 3.9970238095238093, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4335168', 'n_tokens_mistral': 1633, 'n_tokens_neox': 1322, 'n_words': 152}