<commit_before><!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>Options for Last.fm Scrobbler</title>

	<link href="/vendor/bootstrap-combined.no-icons.min.css" rel="stylesheet">
	<link href="/vendor/fontawesome/font-awesome.css" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="options.css" />

	<script src="../vendor/require.js"></script>
	<script src="../core/background/requirejs-config.js"></script>
	<script type="text/javascript" src="options.js"></script>

</head>
<body>

<div class="row-fluid">
	<div class="span1"></div>

	<div class="span5">
		<div class="accordion" id="accordionLeft">
			<div class="accordion-group">
				<div class="accordion-heading">
					<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordionLeft" href="#options">
						<h1><i class="icon-gear"></i> Options</h1>
					</a>
				</div>
				<div id="options" class="accordion-body collapse">
					<div class="accordion-inner">
						<h4>General</h4>
						<ul>
							<li>
								<input type="checkbox" id="use-notifications">
								<label for="use-notifications" title="Turn on/off popup scrobbling notifications for all supported websites">Use desktop notifications</label>
							</li>
							<li>
								<input type="checkbox" id="use-unrecognized-song-notifications">
								<label for="use-unrecognized-song-notifications" title="Show notification if song is not recognized by the extension">Notify if song is not recongized</label>
							</li>
							<li>
								<input type="checkbox" id="use-autocorrect">
								<label for="use-autocorrect" title="Auto-correct song info before scrobbling">Use autocorrect (global)</label>
							</li>
							<li>
								<input type="checkbox" id="force-recognize">
								<label for="force-recognize" title="Force recognition of unknown songs">Force song recognition</label>
							</li>
							<li>
								<input type="checkbox" id="disable-ga">
								<label for="disable-ga" title="Disable sending data to Google Analytics">Disable Google Analytics</label>
							</li>
						</ul>

						<h4>YouTube</h4>
						<ul>
							<li>
								<input type="checkbox" id="yt-music-only">
								<label for="yt-music-only" title="Check to ignore videos that are not in Music category">Scrobble videos from "Music" category</label>
							</li>
							<li>
								<input type="checkbox" id="yt-entertainment-only">
							<label for="yt-entertainment-only" title="Check to ignore videos that are not in Entertainment category">Scrobble videos from "Entertainment" category</label>
							</li>
						</ul>


						<h4>Supported websites</h4>
						<div>
							<p class="indent"><small>Click the checkbox to enable/disable connectors.</small></p>
							<p class="indent">
								<small>
									Click the gear icon to configure custom URL patterns for connectors.
									<a target='_blank' href="https://github.com/david-sabata/web-scrobbler/wiki/Custom-URL-patterns">Learn more</a>
								</small>
							</p>
							<ul id="connectors">
								<li>
									<i class="icon-fixed-width icon-blank"></i>
									<input id="toggle" type="checkbox" />
									<label class="toggle" for="toggle">Toggle</label>
								</li>
								<!-- generated by JS based on inject.js -->
							</ul>
						</div>

						<h4 id="reauth">Last.fm account connection</h4>
						<p class="indent">
							<small class="gray">Sometimes re-authenticating the extension fixes problems with scrobbling</small>
							<br />
							<button id="authorize">Re-authenticate with Last.fm</button>
						</p>
					</div>
				</div>
			</div>

			<div class="accordion-group">
				<div class="accordion-heading">
					<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordionLeft" href="#faq">
						<h1><i class="icon-question-sign"></i> FAQ</h1>
					</a>
				</div>
				<div id="faq" class="accordion-body collapse">
					<div class="accordion-inner">
						<h4>How do I temporarily disable scrobbling?</h4>

						<p>
							You can do that by clicking the icon in the omnibox (address bar). To enable scrobbling again, click the
							icon one more time.
							The scrobbling will continue for the next song.<br>
							As of version 1.17, you can also disable scrobbling for specific site for some reason. But the global
							disabling always takes priority.
						</p>

						<h4>The song was not recognized! Can you fix it?</h4>

						<p>
							Actually YOU can fix it :)<br>
							<br>
							When a song cannot be recognized (and thus scrobbled) a gray icon with question mark appears at the right
							side of the omnibox (address bar).
							By clicking it a small window pops out where you can input the right song information.<br>
							<br>
							<span style="color: #666">
								(The data you input are not stored anywhere, so the next time you play the song, you'll have to enter the data again. This feature is still
								work in progress. I'm not sure it is the right way to go for an extension to fix music websites errors. I'd be much happier to see websites
								implement some kind of music tagging - just like YouTube partially did.)
							</span>
						</p>

						<h4>Will you add support for scrobbling at&nbsp;&nbsp;____ ?</h4>

						<p>
							Possibly, but most likely no. I make the Scrobbler in my free time and that's why I manage only Youtube
							support - I simply don't use any other web music service. Nevertheless, it is really easy to create a <i>connector</i>
							and add support for a new website. You can simply fork the <a
								href="http://github.com/david-sabata/web-scrobbler">GitHub</a>
							repository and send me a pull request. There is also a wiki page on the GitHub describing the extension
							core.
						</p>

						<h4>Will you add&nbsp;&nbsp;____&nbsp;&nbsp;functionality?</h4>

						<p>
							Possibly, if it makes sense. A great example is functionality to correct the song title if it is not
							recognized.
							This wasn't possible in earlier versions, but can be done since 1.0, because a lot of people was asking for
							it and I also think it is useful.<br>
							But if you want me to add some not-that-useful-but-really-cool functions, you'll probably get disappointed.
						</p>

						<h4>Is the scrobbler available for the Firefox?</h4>

						<p>
							It is not and it won't be until Firefox supports Chromium extensions. Like Opera 15+ does.
						</p>

						<h4>Who is the author?</h4>

						<p>
							My name is <NAME>, I graduated from IT at the Brno University of Technology, Czech Republic. I am
							obsessed with automating
							tedious tasks and that's probably why this whole extension was created.
						</p>
					</div>
				</div>
			</div>

			<div class="accordion-group">
				<div class="accordion-heading">
					<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordionLeft" href="#contact">
						<h1><i class="icon-pencil"></i> Contact</h1>
					</a>
				</div>
				<div id="contact" class="accordion-body collapse in">
					<div class="accordion-inner">
						<ul>
							<li>
								<a href="https://github.com/david-sabata/web-scrobbler/issues?state=open"><i class="icon-github-alt"></i>GitHub</a>
								Report an issue and contribute
							</li><commit_msg>Update FAQ<commit_after><!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>Options for Last.fm Scrobbler</title>

	<link href="/vendor/bootstrap-combined.no-icons.min.css" rel="stylesheet">
	<link href="/vendor/fontawesome/font-awesome.css" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="options.css" />

	<script src="../vendor/require.js"></script>
	<script src="../core/background/requirejs-config.js"></script>
	<script type="text/javascript" src="options.js"></script>

</head>
<body>

<div class="row-fluid">
	<div class="span1"></div>

	<div class="span5">
		<div class="accordion" id="accordionLeft">
			<div class="accordion-group">
				<div class="accordion-heading">
					<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordionLeft" href="#options">
						<h1><i class="icon-gear"></i> Options</h1>
					</a>
				</div>
				<div id="options" class="accordion-body collapse">
					<div class="accordion-inner">
						<h4>General</h4>
						<ul>
							<li>
								<input type="checkbox" id="use-notifications">
								<label for="use-notifications" title="Turn on/off popup scrobbling notifications for all supported websites">Use desktop notifications</label>
							</li>
							<li>
								<input type="checkbox" id="use-unrecognized-song-notifications">
								<label for="use-unrecognized-song-notifications" title="Show notification if song is not recognized by the extension">Notify if song is not recongized</label>
							</li>
							<li>
								<input type="checkbox" id="use-autocorrect">
								<label for="use-autocorrect" title="Auto-correct song info before scrobbling">Use autocorrect (global)</label>
							</li>
							<li>
								<input type="checkbox" id="force-recognize">
								<label for="force-recognize" title="Force recognition of unknown songs">Force song recognition</label>
							</li>
							<li>
								<input type="checkbox" id="disable-ga">
								<label for="disable-ga" title="Disable sending data to Google Analytics">Disable Google Analytics</label>
							</li>
						</ul>

						<h4>YouTube</h4>
						<ul>
							<li>
								<input type="checkbox" id="yt-music-only">
								<label for="yt-music-only" title="Check to ignore videos that are not in Music category">Scrobble videos from "Music" category</label>
							</li>
							<li>
								<input type="checkbox" id="yt-entertainment-only">
							<label for="yt-entertainment-only" title="Check to ignore videos that are not in Entertainment category">Scrobble videos from "Entertainment" category</label>
							</li>
						</ul>


						<h4>Supported websites</h4>
						<div>
							<p class="indent"><small>Click the checkbox to enable/disable connectors.</small></p>
							<p class="indent">
								<small>
									Click the gear icon to configure custom URL patterns for connectors.
									<a target='_blank' href="https://github.com/david-sabata/web-scrobbler/wiki/Custom-URL-patterns">Learn more</a>
								</small>
							</p>
							<ul id="connectors">
								<li>
									<i class="icon-fixed-width icon-blank"></i>
									<input id="toggle" type="checkbox" />
									<label class="toggle" for="toggle">Toggle</label>
								</li>
								<!-- generated by JS based on inject.js -->
							</ul>
						</div>

						<h4 id="reauth">Last.fm account connection</h4>
						<p class="indent">
							<small class="gray">Sometimes re-authenticating the extension fixes problems with scrobbling</small>
							<br />
							<button id="authorize">Re-authenticate with Last.fm</button>
						</p>
					</div>
				</div>
			</div>

			<div class="accordion-group">
				<div class="accordion-heading">
					<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordionLeft" href="#faq">
						<h1><i class="icon-question-sign"></i> FAQ</h1>
					</a>
				</div>
				<div id="faq" class="accordion-body collapse">
					<div class="accordion-inner">
						<h4>How can I start using the extension?</h4>
						<p>
							You should click on a notification that is shown when the extension is loaded first time.
							Then, you should grant access to your Last.fm account.
						</p>
						<p>
							Note: In some cases, the notification won't be shown, e.g. on Mac OS if Chrome is running in full-screen mode;
							the extension will open a tab where you can grant access to your account.
						</p>

						<h4>How do I temporarily disable scrobbling?</h4>
						<p>
							You can do that by right-clicking on the extension icon in the extension bar.
							Using the context menu you can disable the connector for current web service.
						</p>
						<p>
							Use the checkboxes on the options page to disable certain connector,
							or the "Toogle" checkbox to disable scrobbling globally.
						</p>

						<h4>The song was not recognized! Can you fix it?</h4>
						<p>
							When a song cannot be recognized, a gray icon with question mark appears in the extension bar.
							You can click on this icon and input correct data in the opened popup window.
						</p>
						<p style="color: #666">
							The data you input is stored for certain connectors which support this feature.
						</p>
						<p>
							Also, there's an option called "Force song recognition" that makes the extension
							to force scrobbling the song even if song is not validated by Last.fm.
						</p>

						<h4>Some musics on Bandcamp cannot be scrobbled. Is it possible to fix this?</h4>
						<p>
							Looks like the music is hosted on a custom domain and we cannot detect whether it’s Bandcamp or not.
						</p>
						<p>
							As a workaround, configure the extension to work with custom domains as follows:
							<ol>
								<li>Open the extension setting page and expand the “Options” section.</li>
								<li>Find the Bandcamp connector in the list of supported services.</li>
								<li>Click on the gear icon near the connector label.</li>
								<li>Add URL pattern that matches the Bandcamp custom domain URL and apply the changes.</li>
							</ol>
						</p>
						<p>
							You can learn more about the custom URL patterns
							<a target='_blank' href="https://github.com/david-sabata/web-scrobbler/wiki/Custom-URL-patterns">here</a>.
						</p>


						<h4>Will you add support for scrobbling at&nbsp;&nbsp;____ ?</h4>
						<p>
							Possibly, but most likely no. I make the Scrobbler in my free time and that's why I manage only Youtube
							support - I simply don't use any other web music service. Nevertheless, it is really easy to create a <i>connector</i>
							and add support for a new website. You can simply fork the <a
								href="http://github.com/david-sabata/web-scrobbler">GitHub</a>
							repository and send me a pull request. There is also a wiki page on the GitHub describing the extension
							core.
						</p>

						<h4>Will you add&nbsp;&nbsp;____&nbsp;&nbsp;functionality?</h4>
						<p>
							Possibly, if it makes sense. A great example is functionality to correct the song title if it is not
							recognized.
							This wasn't possible in earlier versions, but can be done since 1.0, because a lot of people was asking for
							it and I also think it is useful.
						</p>
						<p>
							But if you want me to add some not-that-useful-but-really-cool functions, you'll probably get disappointed.
						</p>

						<h4>Is the scrobbler available for the Firefox?</h4>
						<p>
							It is not and it won't be until Firefox supports Chromium extensions. Like Opera 15+ does.
						</p>

						<h4>Who is the author?</h4>
						<p>
							My name is <NAME>, I graduated from IT at the Brno University of Technology, Czech Republic. I am
							obsessed with automating
							tedious tasks and that's probably why this whole extension was created.
						</p>
					</div>
				</div>
			</div>

			<div class="accordion-group">
				<div class="accordion-heading">
					<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordionLeft" href="#contact">
						<h1><i class="icon-pencil"></i> Contact</h1>
					</a>
				</div>
				<div id="contact" class="accordion-body collapse in">
					<div class="accordion-inner">
						<ul>
							<li>
								<a href="https://github.com/david-sabata/web-scrobbler/issues?state=open"><i class="icon-github-alt"></i>GitHub</a>
								Report an issue and contribute
							</li>
{'fraction_non_alphanumeric': 0.12741288144231383, 'fraction_numerical': 0.005032808816971396, 'mean_word_length': 2.7654113696330054, 'pattern_counts': {'":': 0, '<': 391, '<?xml version=': 0, '>': 391, 'https://': 5, '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': '2601103', 'n_tokens_mistral': 6514, 'n_tokens_neox': 4634, 'n_words': 1582}