2021-09-26 11:45:07 -05:00
|
|
|
<template>
|
2021-09-27 16:43:18 -05:00
|
|
|
<div class="w-full max-w-5xl mx-auto px-2 py-8">
|
2021-09-26 17:19:18 -05:00
|
|
|
<div class="flex -ml-8">
|
|
|
|
<div>
|
|
|
|
<span class="material-icons text-warning text-2xl">priority_high</span>
|
|
|
|
</div>
|
2021-09-27 16:43:18 -05:00
|
|
|
<p class="pl-2 text-base md:text-lg">AudioBookshelf relies on you already having an organized directory structure. This is because information is taken from your folder names. This includes the author name, series name, book title, publish year, volume number, and subtitle.</p>
|
2021-09-26 17:19:18 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="w-full bg-white bg-opacity-20 h-px my-8" />
|
|
|
|
|
|
|
|
<h1 id="structure" class="text-3xl mb-4">
|
|
|
|
<nuxt-link to="#structure"><span class="material-icons text-xl text-gray-400 hover:text-white cursor-pointer mr-2">tag</span></nuxt-link
|
|
|
|
>Directory Structure
|
|
|
|
</h1>
|
|
|
|
|
2021-09-27 16:43:18 -05:00
|
|
|
<p class="mb-4 text-sm md:text-base">Here is an example supported directory structure</p>
|
2021-09-26 17:19:18 -05:00
|
|
|
|
|
|
|
<div class="p-4 border border-opacity-10 bg-primary bg-opacity-20 font-mono">
|
|
|
|
<div class="flex py-1 max-w-2xl">
|
|
|
|
<img src="/folder.svg" class="h-6" />
|
|
|
|
<p class="pl-2">Terry Goodkind</p>
|
2021-09-27 16:43:18 -05:00
|
|
|
<div class="hidden md:block flex-grow" />
|
|
|
|
<span class="hidden md:block text-white text-opacity-50 pl-4"><-- Author</span>
|
2021-09-26 17:19:18 -05:00
|
|
|
</div>
|
|
|
|
<div class="flex py-1 max-w-2xl">
|
|
|
|
<span class="text-white text-opacity-25"> - </span>
|
|
|
|
<img src="/folder.svg" class="h-6" />
|
|
|
|
<p class="pl-2">Sword of Truth</p>
|
2021-09-27 16:43:18 -05:00
|
|
|
<div class="hidden md:block flex-grow" />
|
|
|
|
<span class="hidden md:block text-white text-opacity-50 pl-4"><-- Series</span>
|
2021-09-26 17:19:18 -05:00
|
|
|
</div>
|
|
|
|
<div class="flex py-1 max-w-2xl">
|
|
|
|
<span class="text-white text-opacity-25"> - - </span>
|
|
|
|
<img src="/folder.svg" class="h-6" />
|
|
|
|
<p class="pl-2">Vol 1 - 1994 - Wizards First Rule</p>
|
2021-09-27 16:43:18 -05:00
|
|
|
<div class="hidden md:block flex-grow" />
|
|
|
|
<span class="hidden md:block text-white text-opacity-50 pl-4"><-- Title </span>
|
2021-09-26 17:19:18 -05:00
|
|
|
</div>
|
|
|
|
<div class="flex py-1 max-w-2xl">
|
|
|
|
<span class="text-white text-opacity-25"> - - - </span>
|
|
|
|
<span class="material-icons">audiotrack</span>
|
|
|
|
<p class="pl-2">Audio Track 1.mp3</p>
|
|
|
|
</div>
|
|
|
|
<div class="flex py-1 max-w-2xl">
|
|
|
|
<span class="text-white text-opacity-25"> - - - </span>
|
|
|
|
<span class="material-icons">audiotrack</span>
|
|
|
|
<p class="pl-2">Audio Track 2.mp3</p>
|
|
|
|
</div>
|
|
|
|
<div class="flex py-1 max-w-2xl">
|
|
|
|
<span class="text-white text-opacity-25"> - - - </span>
|
|
|
|
<span class="material-icons">crop_original</span>
|
|
|
|
<p class="pl-2">Cover.jpg</p>
|
|
|
|
</div>
|
|
|
|
<div class="flex py-1 max-w-2xl">
|
|
|
|
<span class="text-white text-opacity-25"> - - </span>
|
|
|
|
<img src="/folder.svg" class="h-6" />
|
|
|
|
<p class="pl-2">Vol 2 - 1995 - Stone of Tears</p>
|
2021-09-27 16:43:18 -05:00
|
|
|
<div class="hidden md:block flex-grow" />
|
|
|
|
<span class="hidden md:block text-white text-opacity-50 pl-4"><-- Title </span>
|
2021-09-26 17:19:18 -05:00
|
|
|
</div>
|
|
|
|
<div class="flex py-1 max-w-2xl">
|
|
|
|
<span class="text-white text-opacity-25"> - - - </span>
|
|
|
|
<span class="material-icons">audiotrack</span>
|
|
|
|
<p class="pl-2">Audiobook.m4b</p>
|
|
|
|
</div>
|
|
|
|
<div class="flex py-1 max-w-2xl">
|
|
|
|
<span class="text-white text-opacity-25"> - </span>
|
|
|
|
<img src="/folder.svg" class="h-6" />
|
|
|
|
<p class="pl-2">Heart of Black Ice - Sister of Darkness</p>
|
2021-09-27 16:43:18 -05:00
|
|
|
<div class="hidden md:block flex-grow" />
|
|
|
|
<span class="hidden md:block text-white text-opacity-50 pl-4"><-- Title </span>
|
2021-09-26 17:19:18 -05:00
|
|
|
</div>
|
|
|
|
<div class="flex py-1 max-w-2xl">
|
|
|
|
<span class="text-white text-opacity-25"> - - </span>
|
|
|
|
<span class="material-icons">audiotrack</span>
|
|
|
|
<p class="pl-2">Audio File.m4a</p>
|
|
|
|
</div>
|
|
|
|
<div class="flex py-1 max-w-2xl">
|
|
|
|
<img src="/folder.svg" class="h-6" />
|
|
|
|
<p class="pl-2">Steven Levy</p>
|
2021-09-27 16:43:18 -05:00
|
|
|
<div class="hidden md:block flex-grow" />
|
|
|
|
<span class="hidden md:block text-white text-opacity-50 pl-4"><-- Author</span>
|
2021-09-26 17:19:18 -05:00
|
|
|
</div>
|
|
|
|
<div class="flex py-1 max-w-2xl">
|
|
|
|
<span class="text-white text-opacity-25"> - </span>
|
|
|
|
<img src="/folder.svg" class="h-6" />
|
|
|
|
<p class="pl-2">Hackers - Heroes of the Computer Revolution</p>
|
2021-09-27 16:43:18 -05:00
|
|
|
<div class="hidden md:block flex-grow" />
|
|
|
|
<span class="hidden md:block text-white text-opacity-50 pl-4"><-- Title </span>
|
2021-09-26 17:19:18 -05:00
|
|
|
</div>
|
|
|
|
<div class="flex py-1 max-w-2xl">
|
|
|
|
<span class="text-white text-opacity-25"> - - </span>
|
|
|
|
<span class="material-icons">audiotrack</span>
|
|
|
|
<p class="pl-2">Audio File.m4a</p>
|
|
|
|
</div>
|
|
|
|
<div class="flex py-1 max-w-2xl">
|
|
|
|
<img src="/folder.svg" class="h-6" />
|
|
|
|
<p class="pl-2">1945 - Animal Farm</p>
|
2021-09-27 16:43:18 -05:00
|
|
|
<div class="hidden md:block flex-grow" />
|
|
|
|
<span class="hidden md:block text-white text-opacity-50 pl-4"><-- Title </span>
|
2021-09-26 17:19:18 -05:00
|
|
|
</div>
|
|
|
|
<div class="flex py-1 max-w-2xl">
|
|
|
|
<span class="text-white text-opacity-25"> - </span>
|
|
|
|
<span class="material-icons">audiotrack</span>
|
|
|
|
<p class="pl-2">Audiobook.mp3</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2021-09-27 16:43:18 -05:00
|
|
|
<p class="my-4 text-sm md:text-base">Files must always be in a directory with the book title. <span class="text-error">Files in the root directory are ignored.</span><br />The title directory can be in the root directory, an author directory, or a series directory.</p>
|
2021-09-26 17:19:18 -05:00
|
|
|
|
|
|
|
<div class="w-full bg-white bg-opacity-20 h-px my-8" />
|
|
|
|
|
|
|
|
<h1 id="naming" class="text-3xl mb-4">
|
|
|
|
<nuxt-link to="#naming"><span class="material-icons text-xl text-gray-400 hover:text-white cursor-pointer mr-2">tag</span></nuxt-link
|
|
|
|
>Naming Convention
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
<p class="mb-4">In addition to the book title, the title folder can include the publish year, volume number, and the subtitle.</p>
|
|
|
|
<p class="mb-4">Here are a bunch of ways the same book could be named:</p>
|
|
|
|
|
|
|
|
<div class="p-4 border border-opacity-10 bg-primary bg-opacity-20 font-mono">
|
|
|
|
<div class="flex py-1">
|
|
|
|
<img src="/folder.svg" class="h-6" />
|
|
|
|
<p class="pl-2">Wizards First Rule</p>
|
|
|
|
</div>
|
|
|
|
<div class="flex py-1">
|
|
|
|
<img src="/folder.svg" class="h-6" />
|
|
|
|
<p class="pl-2">1994 - Wizards First Rule</p>
|
|
|
|
</div>
|
|
|
|
<div class="flex py-1">
|
|
|
|
<img src="/folder.svg" class="h-6" />
|
|
|
|
<p class="pl-2">Wizards First Rule - A Really Good Subtitle</p>
|
|
|
|
</div>
|
|
|
|
<div class="flex py-1">
|
|
|
|
<img src="/folder.svg" class="h-6" />
|
|
|
|
<p class="pl-2">1994 - Book 1 - Wizards First Rule</p>
|
|
|
|
</div>
|
|
|
|
<div class="flex py-1">
|
|
|
|
<img src="/folder.svg" class="h-6" />
|
|
|
|
<p class="pl-2">Vol 1 - 1994 - Wizards First Rule</p>
|
|
|
|
</div>
|
|
|
|
<div class="flex py-1">
|
|
|
|
<img src="/folder.svg" class="h-6" />
|
|
|
|
<p class="pl-2">1994 - Wizards First Rule - Volume 1</p>
|
|
|
|
</div>
|
|
|
|
<div class="flex py-1">
|
|
|
|
<img src="/folder.svg" class="h-6" />
|
|
|
|
<p class="pl-2">Vol. 1 - 1994 - Wizards First Rule - A Really Good Subtitle</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2021-09-27 16:43:18 -05:00
|
|
|
<ul class="list-outside md:list-inside px-6 md:px-0 list-disc my-4 text-sm md:text-base">
|
|
|
|
<li class="py-1">Parsing out subtitles into a separate field is optional and must be enabled in settings.</li>
|
|
|
|
<li class="py-1">Different parts of a name should be separated by " - ", with the exception of the volume number (spaces aren't needed).</li>
|
|
|
|
<li class="py-1">The publish year must be the first part of the name OR directly after a volume number, and separated by " - " on both sides.</li>
|
2021-09-26 17:19:18 -05:00
|
|
|
</ul>
|
|
|
|
|
2021-09-27 16:43:18 -05:00
|
|
|
<!-- <div class="w-full h-px my-24" /> -->
|
2021-09-26 11:45:07 -05:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {}
|
|
|
|
},
|
|
|
|
computed: {},
|
|
|
|
methods: {},
|
|
|
|
mounted() {}
|
|
|
|
}
|
|
|
|
</script>
|