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: add support for orpheus #15

Merged
merged 14 commits into from
Nov 8, 2023
Merged

feat: add support for orpheus #15

merged 14 commits into from
Nov 8, 2023

Conversation

s0up4200
Copy link
Owner

@s0up4200 s0up4200 commented Nov 7, 2023

No description provided.

@locke69321
Copy link

locke69321 commented Nov 7, 2023

When I run this JSON

{ "indexer": {{.Indexer}}, "user_id": USER_ID, "ops_apikey": "OPS_API_KEY", "minratio": 1.1, "torrent_id": {{.TorrentID}}, "minsize": 157286400, "maxsize": 838860800 }

I get the error: Failed to unmarshal JSON payload: invalid character 'o' looking for beginning of value

If I put quotes around {{.Indexer}} or hardcode "ops" I it returns a 500 error.

@s0up4200
Copy link
Owner Author

s0up4200 commented Nov 8, 2023

When I run this JSON

`{

"indexer": {{.Indexer}},

"user_id": USER_ID,

"ops_apikey": "OPS_API_KEY",

"minratio": 1.1,

"torrent_id": {{.TorrentID}},

"minsize": 157286400,

"maxsize": 838860800

}`

I get the error: Failed to unmarshal JSON payload: invalid character 'o' looking for beginning of value

If I put quotes around {{.Indexer}} or hardcode "ops" I it returns a 500 error.

Not sure what that is about, but I have pushed some changes. Separate user ids now.

Will test some more later today when I have some time for it.

@s0up4200
Copy link
Owner Author

s0up4200 commented Nov 8, 2023

Seeing the same issue as you now. Its related to the indexer macro I believe. Will look into it.

@s0up4200
Copy link
Owner Author

s0up4200 commented Nov 8, 2023

@locke69321

Add indexer like this: "indexer": "{{ .Indexer | js }}",

Tested with both RED and OPS now.

Remember to pull latest image.

@s0up4200 s0up4200 merged commit 306bb2b into develop Nov 8, 2023
3 checks passed
@s0up4200 s0up4200 deleted the feat/add-orpheus-support branch November 8, 2023 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants