Content-Length: 205670 | pFad | http://github.com/moehmeni/syncedlyrics/issues/56

C1 Can't use it in a bash script · Issue #56 · moehmeni/syncedlyrics · GitHub
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

Can't use it in a bash script #56

Open
Lowrida opened this issue Nov 13, 2024 · 0 comments
Open

Can't use it in a bash script #56

Lowrida opened this issue Nov 13, 2024 · 0 comments

Comments

@Lowrida
Copy link

Lowrida commented Nov 13, 2024

For some stupid reason i can't use this program in a bash script!
On the cli it finds the song, when i try it from a bash script and add strings to the search_term it can't find the song!

CLI no problem!

syncedlyrics -v "BluesOwen Campbell Days Like This (Van Morrison Cover)Owen Cambell"
DEBUG:syncedlyrics:Looking for an LRC on Musixmatch
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): apic-desktop.musixmatch.com:443
DEBUG:urllib3.connectionpool:https://apic-desktop.musixmatch.com:443 "GET /ws/1.1/track.search?q=BluesOwen+Campbell+Days+Like+This+%28Van+Morrison+Cover%29Owen+Cambell&page_size=5&page=1&app_id=web-desktop-app-v1.0&usertoken=241113adf3b241a4b9f68fde3acff0610c46aaaeaad65fea6f024b&t=1731537019895 HTTP/1.1" 301 0
DEBUG:urllib3.connectionpool:https://apic-desktop.musixmatch.com:443 "GET /ws/1.1/track.search?q=BluesOwen+Campbell+Days+Like+This+%28Van+Morrison+Cover%29Owen+Cambell&page_size=5&page=1&app_id=web-desktop-app-v1.0&usertoken=241113adf3b241a4b9f68fde3acff0610c46aaaeaad65fea6f024b&t=1731537019895 HTTP/1.1" 200 2360
DEBUG:urllib3.connectionpool:https://apic-desktop.musixmatch.com:443 "GET /ws/1.1/track.subtitle.get?track_id=998168&subtitle_format=lrc&app_id=web-desktop-app-v1.0&usertoken=241113adf3b241a4b9f68fde3acff0610c46aaaeaad65fea6f024b&t=1731537020414 HTTP/1.1" 200 2226
INFO:syncedlyrics:Lyrics found for "BluesOwen Campbell Days Like This (Van Morrison Cover)Owen Cambell" on Musixmatch
[00:12.03] When it's not always raining there'll be days like this
[00:17.08] When there's no one complaining there'll be days like this
[00:22.21] When everything falls into place like the flick of a switch
[00:27.56] Well my mama told me there'll be days like this
[00:35.55] When you don't need to worry there'll be days like this
[00:40.66] When no one's in a hurry there'll be days like this
[00:45.82] When you don't get betrayed by that old Judas kiss
[00:51.25] Oh my mama told me there'll be days like this
[00:59.03] When you don't need an answer there'll be days like this
[01:04.22] When you don't meet a chancer there'll be days like this
[01:09.24] When all the parts of the puzzle start to look like they fit
[01:14.70] Then I must remember there'll be days like this
[01:40.60] (There'll be days like this)
[01:45.81] When everyone is up front and they're not playing tricks
[01:51.02] When you don't have no freeloaders out to get their kicks
[01:55.93] When it's nobody's business the way that you wanna live
[02:01.29] I just have to remember there'll be days like this
[02:08.58] When no one steps on my dreams there'll be days like this
[02:13.48] When people understand what I mean there'll be days like this
[02:19.15] When you ring out the changes of how everything is
[02:24.30] Well, my mama told me there'll be days like this
[02:31.93] Oh na na, nana nana
[02:36.94] Oh na na, nana nana
[02:47.46] Oh, my mama told me there'll be days like this
[02:52.39] Oh, my mama told me there'll be days like this
[02:57.28] Oh, my mama told me there'll be days like this
[03:02.30] Oh, my mama told me there'll be days like this
[03:07.79] 

Running this bash script, problem!

#!/bin/bash
artist="Blues - Owen Campbell"
title="Days Like This (Van Morrison Cover)"
syncedlyrics -v "$artist - $title"
DEBUG:syncedlyrics:Looking for an LRC on Musixmatch
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): apic-desktop.musixmatch.com:443
DEBUG:urllib3.connectionpool:https://apic-desktop.musixmatch.com:443 "GET /ws/1.1/track.search?q=Blues+-+Owen+Campbell+-+Days+Like+This+%28Van+Morrison+Cover%29&page_size=5&page=1&app_id=web-desktop-app-v1.0&usertoken=241113adf3b241a4b9f68fde3acff0610c46aaaeaad65fea6f024b&t=1731537153638 HTTP/1.1" 301 0
DEBUG:urllib3.connectionpool:https://apic-desktop.musixmatch.com:443 "GET /ws/1.1/track.search?q=Blues+-+Owen+Campbell+-+Days+Like+This+%28Van+Morrison+Cover%29&page_size=5&page=1&app_id=web-desktop-app-v1.0&usertoken=241113adf3b241a4b9f68fde3acff0610c46aaaeaad65fea6f024b&t=1731537153638 HTTP/1.1" 200 2287
DEBUG:urllib3.connectionpool:https://apic-desktop.musixmatch.com:443 "GET /ws/1.1/track.subtitle.get?track_id=85148147&subtitle_format=lrc&app_id=web-desktop-app-v1.0&usertoken=241113adf3b241a4b9f68fde3acff0610c46aaaeaad65fea6f024b&t=1731537154260 HTTP/1.1" 200 111
DEBUG:syncedlyrics:No suitable lyrics found on Musixmatch, continuing search...
DEBUG:syncedlyrics:Looking for an LRC on Lrclib
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): lrclib.net:443
DEBUG:urllib3.connectionpool:https://lrclib.net:443 "GET /api/search?q=Blues+-+Owen+Campbell+-+Days+Like+This+%28Van+Morrison+Cover%29 HTTP/1.1" 200 2
DEBUG:syncedlyrics:No suitable lyrics found on Lrclib, continuing search...
DEBUG:syncedlyrics:Looking for an LRC on NetEase
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): music.163.com:443
DEBUG:urllib3.connectionpool:https://music.163.com:443 "GET /api/search/pc?limit=10&type=1&offset=0&s=Blues+-+Owen+Campbell+-+Days+Like+This+%28Van+Morrison+Cover%29 HTTP/1.1" 200 None
DEBUG:syncedlyrics:No suitable lyrics found on NetEase, continuing search...
DEBUG:syncedlyrics:Looking for an LRC on Megalobiz
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): www.megalobiz.com:443
DEBUG:urllib3.connectionpool:https://www.megalobiz.com:443 "GET /search/all?qry=Blues+-+Owen+Campbell+-+Days+Like+This+(Van+Morrison+Cover)&searchButton.x=0&searchButton.y=0 HTTP/1.1" 500 None
DEBUG:syncedlyrics:No suitable lyrics found on Megalobiz, continuing search...
DEBUG:syncedlyrics:Looking for an LRC on Genius
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): genius.com:443
DEBUG:urllib3.connectionpool:https://genius.com:443 "GET /api/search/multi?per_page=5&q=&q=Blues+-+Owen+Campbell+-+Days+Like+This+%28Van+Morrison+Cover%29&per_page=5 HTTP/1.1" 200 None
DEBUG:syncedlyrics:No suitable lyrics found on Genius, continuing search...
INFO:syncedlyrics:No suitable lyrics found for "Blues - Owen Campbell - Days Like This (Van Morrison Cover)" :(
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

No branches or pull requests

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/moehmeni/syncedlyrics/issues/56

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy