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

General support #538

Open
sentriz opened this issue Sep 18, 2024 · 22 comments
Open

General support #538

sentriz opened this issue Sep 18, 2024 · 22 comments
Labels

Comments

@sentriz
Copy link
Owner

sentriz commented Sep 18, 2024

Use this issue for general support, leaving other issues just for feature requests / bugs. Thanks

@TheOnAndOnlyZenomat
Copy link

TheOnAndOnlyZenomat commented Sep 23, 2024

Hey, I am using the docker installation. I am trying to get proper podcast episode names going, but they are just a random ID. What I gathered from the issues, they should have proper names? I couldn't find the config parameter, if there is one. Am I missing something?

Otherwise, thanks for this piece of software, other than my (minor) problems, it works flawlessly :D

@sentriz
Copy link
Owner Author

sentriz commented Sep 23, 2024

Hey, I am using the docker installation. I am trying to get proper podcast episode names going, but they are just a random ID. What I gathered from the issues, they should have proper names? I couldn't find the config parameter, if there is one. Am I missing something?

Otherwise, thanks for this piece of software, other than my (minor) problems, it works flawlessly :D

hey, could you provide a link to the RSS feed

@TheOnAndOnlyZenomat
Copy link

That would be this one: http://rocketbeans.tv/podcasts/pen_and_paper.xml

@sentriz
Copy link
Owner Author

sentriz commented Sep 23, 2024

ah I can see that the filenames are random strings and numbers . but when browsing with a subsonic client it looks good. is the issue only on the filesystem? or in a client there are no names either?

@TheOnAndOnlyZenomat
Copy link

Oh yeah, sorry. I mean on the filesystem. I eventually want to use the directory structure for other things as well, where it would be very beneficial, if the files have readable names

@sentriz
Copy link
Owner Author

sentriz commented Sep 23, 2024

@lxea an example file is https://audio.podigee-cdn.net/444699-m-0b034923be702b5da143da2620eebb82.mp3 producing the file 444699-m-0b034923be702b5da143da2620eebb82.mp3 is it because the response is missing Content-Disposition? maybe should we fall back to the podcast title?

or do I recall we had this issue before and decided not to use the title

@UberPinguin
Copy link

UberPinguin commented Oct 16, 2024

Using gonic-16.0.4 with go-1.22.5, if I pass -proxy-prefix=/gonic, gonic goes into an infinite redirect to /gonic/admin/home. This happens regardless of whether I'm accessing it directly or through a reverse proxy.

Is there another setting I'm missing?

@sentriz
Copy link
Owner Author

sentriz commented Oct 16, 2024

@UberPinguin what does your reverse proxy setup look like?

@UberPinguin
Copy link

@sentriz

         location /gonic {
                        proxy_set_header X-Forwarded-Proto https;
                        proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
                        proxy_set_header  Host $host;
                        proxy_set_header  X-Url-Scheme $scheme;
                        proxy_redirect    off;
                        proxy_max_temp_file_size 0;
                        proxy_pass http://192.168.2.6:4747/gonic;
# have also tried
#                       proxy_pass http://192.168.2.6:4747/gonic/;
                        access_log      /var/log/nginx/gonic_access.log;
                        error_log       /var/log/nginx/gonic_error.log;
                }

@sentriz
Copy link
Owner Author

sentriz commented Oct 16, 2024

can you try proxy_pass http://192.168.2.6:4747/; as per https://github.com/sentriz/gonic/wiki/reverse-proxy

@UberPinguin
Copy link

Ah! I hadn't found the wiki, thank you.
Using just the bare stanza from that entry, it started working normally. I iterated through each of the other settings I had in my previous config, and found that the one causing issues was indeed the proxy_pass directive as well as missing the proxy_cookie_path directive.

New, working config:

                location /gonic/ {
                        proxy_set_header         X-Forwarded-For $proxy_add_x_forwarded_for;
                        proxy_set_header         X-Forwarded-Host $host;
                        proxy_set_header         X-Forwarded-Proto https;
                        proxy_set_header         Host $host;
                        proxy_set_header         X-Url-Scheme $scheme;
                        proxy_buffering          off;
                        proxy_max_temp_file_size 0;
                        proxy_request_buffering  off;
                        proxy_pass               http://192.168.2.6:4747/;
                        proxy_redirect           default;
                        proxy_cookie_path        / "/; Secure";
                        access_log               /var/log/nginx/gonic_access.log;
                        error_log                /var/log/nginx/gonic_error.log;

                }

Thank you very much!

@NadCat1
Copy link

NadCat1 commented Nov 2, 2024

During intial installation (docker) the process always gets stuck at "starting job "podcast download"". No matter what I try (deleting everything, different images, docker setup vs docker compose, not setting a podcast folder...) it always stays stuck. The longest I've waited was 45 minutes.
I'm trying to install it on a Synology NAS with DSM 7.2.2

@sentriz
Copy link
Owner Author

sentriz commented Nov 3, 2024

@NadCat1 can you try do a coredump so I can see where it's hanging? For docker it would be docker stop <container> -s SIGQUIT

@NadCat1
Copy link

NadCat1 commented Nov 3, 2024

@NadCat1 can you try do a coredump so I can see where it's hanging? For docker it would be docker stop <container> -s SIGQUIT

That command doesn't work: https://i.imgur.com/lNIN5az.png

@sentriz
Copy link
Owner Author

sentriz commented Nov 3, 2024

Maybe try --signal, or but the container name at the end of the command https://docs.docker.com/reference/cli/docker/container/stop/#options

@NadCat1
Copy link

NadCat1 commented Nov 4, 2024

According to --help I can only use -t or --time, signal is not a valid option https://i.imgur.com/Xz8fu7p.png

@NadCat1
Copy link

NadCat1 commented Nov 17, 2024

dump.zip
dump2.zip

I created this using gdb. Not sure if it contains what you need to analyze the problem

@Abhimanyu310
Copy link

My app says that subsonic server not found. I used the same credentials on another app called "substreamer" on iOS. I have my music hosted on navidrome, any idea why it cannot find and connect?

@sentriz
Copy link
Owner Author

sentriz commented Nov 18, 2024

@Abhimanyu310 navidrome is not gonic. if you are using navidrome then you should ask them

@khers
Copy link

khers commented Nov 20, 2024

How do getSimilarSongs and getSimilarSongs2 decide on what is similar? I ask because some artists/albums/songs in my collection will return with results and others won't and it isn't clear to me why.

For instance if I ask getSimilarSongs to return something similar to 'Houses of the Holy' by Led Zepplin, no problem, I get a list of other bands that I would consider similar.

But if I ask for getSimilarSongs to 'that was my brain on elves' by mclusky I get nothing, even though I have several future of the left albums (similar musical style and lots of personnel overlap).

@sentriz
Copy link
Owner Author

sentriz commented Nov 20, 2024

hi @khers, it uses a lastfm api of the same name https://github.com/sentriz/gonic/blob/master/server/ctrlsubsonic/handlers_by_tags.go#L641-L664

@khers
Copy link

khers commented Dec 3, 2024

In looking for an end point to get the details of a single podcast episode (I don't think there is one, if it exists please show me where I overlooked it) I tried passing the episode ID to getSong as so: getSong('pe-4862'). I got a response back, but it wasn't the podcast episode and a song from my library instead:
{'id': 'tr-4862', 'coverId': 'al-847', 'starred': None, 'parent': 'al-847', 'title': 'Use Me Up', 'album': 'Bad Self Portraits', 'albumId': 'al-847', 'artist': 'Lake Street Dive', ...}

Note the same number after the two letter code. Is this expected? (I was surprised because 'pe-4682' != 'tr-4682')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants