Skip to content

Commit

Permalink
[15] Nightly fix unraid docs (#2125)
Browse files Browse the repository at this point in the history
  • Loading branch information
bullmoose20 authored and actions-user committed Jun 19, 2024
1 parent f108b79 commit faee45f
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 35 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.2-build14
2.0.2-build15
10 changes: 5 additions & 5 deletions docs/kometa/install/unraid.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ First, make a copy of the template:
Now open the copy in an editor on the machine of your choice:

{%
include-markdown "./wt/wt-editor.md"
include-markdown "./wt/wt-editor-unraid.md"
%}

{%
Expand All @@ -149,7 +149,7 @@ Now open the copy in an editor on the machine of your choice:
Save the file:

{%
include-markdown "./wt/wt-save.md"
include-markdown "./wt/wt-save-unraid.md"
%}

Then run the script again:
Expand Down Expand Up @@ -183,13 +183,13 @@ So let's run the script and see this happen:
### Setting up a collection file and creating a sample collection.

{%
include-markdown "./wt/wt-05-local-file.md"
include-markdown "./wt/wt-05-local-file-unraid.md"
%}

Save the file:

{%
include-markdown "./wt/wt-save.md"
include-markdown "./wt/wt-save-unraid.md"
%}

Then run the script again:
Expand All @@ -211,7 +211,7 @@ Then run the script again:
Save the file:

{%
include-markdown "./wt/wt-save.md"
include-markdown "./wt/wt-save-unraid.md"
%}

Then run the script again:
Expand Down
46 changes: 46 additions & 0 deletions docs/kometa/install/wt/wt-05-local-file-unraid.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
If the default collection files do not allow you to create the collections you want, you can define your own collections in your own collection files to do whatever you like within the capabilities of Kometa. We will create a simple collection that will contain 20 comedy movies released since 2012.

First, open the collection file [this will create the file if it doesn't already exist]:

=== ":fontawesome-brands-linux: unRAID"

[type this into your Kometa `>_Console`]

```
nano "config/Movies.yml"
```


In this file, add the following, exactly as it is shown here; remember that spacing is significant in YAML files:

```yaml
collections:
Recent Comedy:
plex_search:
all:
genre: Comedy
year.gte: 2012
limit: 20
```
Save the file:
{%
include-markdown "./wt-save-unraid.md"
%}
Next, add a reference to this file to your config file.
Open the config file again and add the last line shown below:
```yaml
libraries:
All The Movies:
collection_files:
- default: basic
- default: imdb
# see the wiki for how to use local files, folders, URLs, or files from git
- file: config/Movies.yml ## <<< ADD THIS LINE
```
That line needs to match the path you used when you created the file a moment ago. If you are copy-pasting these commands, it does.
9 changes: 0 additions & 9 deletions docs/kometa/install/wt/wt-05-local-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,6 @@ First, open the collection file [this will create the file if it doesn't already
notepad "config\Movies.yml"
```

=== ":fontawesome-brands-linux: unRAID"

[type this into your Kometa `>_Console`]

```
nano "config/Movies.yml"
```


In this file, add the following, exactly as it is shown here; remember that spacing is significant in YAML files:

```yaml
Expand Down
15 changes: 15 additions & 0 deletions docs/kometa/install/wt/wt-editor-unraid.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
=== ":fontawesome-brands-linux: unRAID"

[type this into your Kometa `>_Console`]

```
nano config/config.yml
```

I’m using `nano` here mostly because it’s simpler than any other editor on Linux.


You can use any other text editor you wish, provided it saves files as PLAIN TEXT. `vi`, `emacs`, etc.


From here on in, when this walkthrough says "open the config file", I mean this `nano` or `notepad` command. **Don't copy the template again**.
14 changes: 0 additions & 14 deletions docs/kometa/install/wt/wt-editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,4 @@
```
I’m using `notepad` here simply because it’s built into Windows. You can use any other text editor you wish, provided it saves files as PLAIN TEXT.

=== ":fontawesome-brands-linux: unRAID"

[type this into your Kometa `>_Console`]

```
nano config/config.yml
```

I’m using `nano` here mostly because it’s simpler than any other editor on Linux.


You can use any other text editor you wish, provided it saves files as PLAIN TEXT. `vi`, `emacs`, etc.


From here on in, when this walkthrough says "open the config file", I mean this `nano` or `notepad` command. **Don't copy the template again**.
5 changes: 5 additions & 0 deletions docs/kometa/install/wt/wt-save-unraid.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
=== ":fontawesome-brands-linux: unRAID"

If you're using `nano`, type control-`x`, then `y`, then the enter key.


6 changes: 0 additions & 6 deletions docs/kometa/install/wt/wt-save.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,3 @@

If you're using `notepad`, type control-`s` or choose `Save` from the `File` menu.


=== ":fontawesome-brands-linux: unRAID"

If you're using `nano`, type control-`x`, then `y`, then the enter key.


0 comments on commit faee45f

Please sign in to comment.