Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(market): added autoscan #47

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 129 additions & 0 deletions servapps/Autoscan/cosmos-compose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@

{
"cosmos-installer": {
"form": [
{
"name": "downloadPath",
"label": "What is the path to download to? (leave empty to not mount anything)",
"initialValue": "{DefaultDataPath}/downloads",
"type": "text"
},
{
"name": "seriePath",
"label": "What is the path to your series? (leave empty to not mount anything)",
"initialValue": "{DefaultDataPath}/series",
"type": "text"
},
{
"name": "moviePath",
"label": "What is the path to your movies? (leave empty to not mount anything)",
"initialValue": "{DefaultDataPath}/movies",
"type": "text"
},
{
"name": "mediaServer",
"name-container": "media-server",
"label": "Where is you Media Server instance? (leave blank if none)",
"type": "container"
},
{
"name": "sonarr",
"name-container": "sonarr-name",
"label": "Where is you Sonarr instance? (leave blank if none)",
"type": "container"
},
{
"name": "radarr",
"name-container": "radarr-name",
"label": "Where is you Radarr instance? (leave blank if none)",
"type": "container"
},
{
"name": "lidarr",
"name-container": "lidarr-name",
"label": "Where is you Lidarr instance? (leave blank if none)",
"type": "container"
},
{
"name": "readarr",
"name-container": "readarr-name",
"label": "Where is you Readarr instance? (leave blank if none)",
"type": "container"
}
],
"post-install": [
{
"type": "warning",
"label": "You have to edit the config of autoscan yourself it is located in the config-volume"
}
]
},
"minVersion": "0.7.6",
"services": {
"{ServiceName}": {
"image": "cr.hotio.dev/hotio/autoscan",
"container_name": "{ServiceName}",
"restart": "unless-stopped",
"UID": 1000,
"GID": 1000,
"environment": [
"PUID=1000",
"PGID=1000",
"UMASK=002",
"TZ=auto"
],
"ports": [
"3030:3030"
],
"labels": {
"cosmos-auto-update": "true",
"cosmos-icon": "https://azukaar.github.io/cosmos-servapps-official/servapps/Autoscan/icon.png"
},
"volumes": [
{
"source": "{ServiceName}-config",
"target": "/config",
"type": "volume"
}
{if Context.downloadPath}
, {
"source": "{Context.downloadPath}",
"target": "/downloads",
"type": "bind"
}
{/if}
{if Context.seriePath}
, {
"source": "{Context.seriePath}",
"target": "/tv",
"type": "bind"
}
{/if}
{if Context.moviePath}
, {
"source": "{Context.moviePath}",
"target": "/movies",
"type": "bind"
}
{/if}
]
, "links": [
{if Context.sonarr}
"{Context.sonarr-name}"
{/if}
{if Context.radarr}
"{Context.radarr-name}"
{/if}
{if Context.readarr}
"{Context.readarr-name}"
{/if}
{if Context.mediaServer}
"{Context.media-server-name}"
{/if}
{if Context.lidarr}
"{Context.lidarr-name}"
{/if}
]
}
}
}
9 changes: 9 additions & 0 deletions servapps/Autoscan/description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "Lidarr",
"longDescription": "<p>Autoscan replaces the default Plex, Emby and Jellyfin behaviour for picking up file changes on the file system. Autoscan integrates with Sonarr, Radarr, Readarr, Lidarr and Google Drive to fetch changes in near real-time without relying on the file system.</p>",
"description": "Autoscan replaces the default Plex, Emby and Jellyfin behaviour for picking up file changes on the file system.",
"tags": ["download", "torrent", "music", "usenet", "automation", "manager", "media", "collection", "download", "metadata", "windows", "linux", "macos", "web interface", "streaming", "music library", "music database", "music management", "music collection", "lidarr"],
"repository": "https://github.com/Cloudbox/autoscan",
"image": "https://hub.docker.com/r/cloudb0x/autoscan",
"supported_architectures": ["amd64", "arm64"]
}
Binary file added servapps/Autoscan/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.