Added Tpye instead map #1

Manually merged
xsteadfastx merged 2 commits from Koma-Andrea/jellyfixer:typeinsteadmap into master 2020-12-09 08:38:29 +01:00
Contributor

I've Added a Type instead of the map which will not work with boolean to be unmarshalled.

I'm also using JELLYFIN_URL as environment variable instead of removing the value. I found that this works better in various scenario.

I've Added a Type instead of the map which will not work with boolean to be unmarshalled. I'm also using JELLYFIN_URL as environment variable instead of removing the value. I found that this works better in various scenario.
xsteadfastx reviewed 2020-12-08 13:48:48 +01:00
@ -68,3 +72,1 @@
return
}
url := os.Getenv("JELLYFIN_URL")
Owner

is this needed? cant we use the baseurl?

is this needed? cant we use the baseurl?
Author
Contributor

The JELLYFIN_URL is the external URL, while the baseurl (that you pick as an argument) is the jellyfin container's name.

The JELLYFIN_URL is the external URL, while the baseurl (that you pick as an argument) is the jellyfin container's name.
Author
Contributor

I would also suggest to pick both values as environment values or to use both named arguments and environment values.

I would also suggest to pick both values as environment values or to use both named arguments and environment values.
Owner

will merge this today. i will add viper and make it use config files and or environment variables.

will merge this today. i will add viper and make it use config files and or environment variables.
xsteadfastx self-assigned this 2020-12-09 08:21:18 +01:00
xsteadfastx manually merged commit 82e99c032b into master 2020-12-09 08:38:29 +01:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xsteadfastx/jellyfixer#1
No description provided.