mirror of
https://github.com/RandomNinjaAtk/arr-scripts.git
synced 2026-03-02 22:57:35 -05:00
[BUG] - Lidarr - parse error: Invalid numeric literal at line 2, column 0 #29
Labels
No labels
Needs Triage
Not Reproducible
Upstream Issue
User Error
bug
documentation
enhancement
good first issue
help wanted
invalid
lidarr
lidarr
question
radarr
readarr
sabnzbd
sonarr
synology (host)
unraid (host)
waiting for logs
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/arr-scripts#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Eric-sson on GitHub (Jul 29, 2023).
Application
Lidarr
Script
BeetsPostProcessor.bash
MetadataPostProcess.bash
Script Version
latest
Describe the bug
I am seeing the following error when running both scripts:
parse error: Invalid numeric literal at line 2, column 0
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Not sure if the error has any impact.
@Eric-sson commented on GitHub (Jul 29, 2023):
BeetsPostProcessor.txt
@RandomNinjaAtk commented on GitHub (Jul 29, 2023):
So a bug fix that was just pushed may help. But it looks like you didn't follow the installation instructions because your missing required packages.
One thing to note, I'm currently not using those scripts because I've found they cause issues with Lidarr. You should also only have it trigger on import and upgrade, not retag.
Follow the installation instructions and the most recent changes should fix some of the errors your seeing. Keep in mind, it's untested...
@Eric-sson commented on GitHub (Jul 30, 2023):
Which packages am I missing?
I was hoping that the both scripts would also work for existing files therefore I ticked retag as well. But I guess this will only work for newly downloaded files?
@RandomNinjaAtk commented on GitHub (Jul 30, 2023):
Didn’t look like beets was installed, so you didn’t follow the setup instructions correctly
@RandomNinjaAtk commented on GitHub (Jul 30, 2023):
This may have been fixed with that last change, but I have not tested it. Both scripts are deprecated because they can tend to cause more issues with Lidarr than is desirable and I personally don't recommend you use them.
For discussions around the uses/challenges these scripts tried to solve, see these discussions: https://github.com/RandomNinjaAtk/arr-scripts/discussions/47
The scripts will remain in this repo, but no support will be provided going forward.
@wieluk commented on GitHub (Aug 1, 2023):
Lidarr is still trying to start /config/extended/scripts/MetadataPostProcess.bash
Why is this happening?
@RandomNinjaAtk commented on GitHub (Aug 1, 2023):
@wieluk You’re on your own, read the previous comment for details
@wieluk commented on GitHub (Aug 1, 2023):
Oh I see where it came from. The autoconfig added the metadata post process connection thanks anyway.
@RandomNinjaAtk commented on GitHub (Aug 1, 2023):
@wieluk Yeah, that is true, when these scripts first came out it added them… However, AutoConfig no longer does that, but there isn’t an easy way to reverse the configuration for existing setups if they were already added. So if you remove them, they shouldn’t be re-added as long as your on the latest scripts updates…