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

[FEATURE] - lidarr script - Parse (Official Lyric Video) and (Official Live Video) #223

Open
bbrodka2 opened this issue Apr 1, 2024 · 3 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@bbrodka2
Copy link

bbrodka2 commented Apr 1, 2024

It looks like you are parsing (Lyric to add -lyrics , can you do the same for (Official Lyric Video)

also the same for (Official Live Video) to add -live

Thanks

@bbrodka2 bbrodka2 added the enhancement New feature or request label Apr 1, 2024
@RandomNinjaAtk
Copy link
Owner

Is this for tidal or imvdb?

Please provide some example links from either site for reference purposes.

@RandomNinjaAtk RandomNinjaAtk added the question Further information is requested label Apr 3, 2024
@bbrodka2
Copy link
Author

Sorry unsure of source but here is an example

ghost in my guitar (Official Lyric Video)-video.mkv. should of named -lyric

Same goes for titles containing (Official Live Video), i they also parse with a -video instead of -live

I figured you were parsing this from the file name, but if you need to know which service I can try to see if it saved in the gates of the downloads

@RandomNinjaAtk
Copy link
Owner

It already does what your stating:

if echo "$videoTitle" | grep -i "official" | grep -i "video" | read; then
log "$processCount/$lidarrArtistCount :: $lidarrArtistName :: $tidalVideoProcessNumber/$tidalVideoIdsCount :: $videoTitle ($id) :: Official Music Video Match Found!"
videoType="-video"
elif echo "$videoTitle" | grep -i "official" | grep -i "lyric" | read; then
log "$processCount/$lidarrArtistCount :: $lidarrArtistName :: $tidalVideoProcessNumber/$tidalVideoIdsCount :: $videoTitle ($id) :: Official Lyric Video Match Found!"
videoType="-lyrics"
elif echo "$videoTitle" | grep -i "video" | grep -i "lyric" | read; then
log "$processCount/$lidarrArtistCount :: $lidarrArtistName :: $tidalVideoProcessNumber/$tidalVideoIdsCount :: $videoTitle ($id) :: Official Lyric Video Match Found!"
videoType="-lyrics"
elif echo "$videoTitle" | grep -i "4k upgrade" | read; then
log "$processCount/$lidarrArtistCount :: $lidarrArtistName :: $tidalVideoProcessNumber/$tidalVideoIdsCount :: $videoTitle ($id) :: 4K Upgrade Found!"
videoType="-video"
elif echo "$videoTitle" | grep -i "\(.*live.*\)" | read; then
log "$processCount/$lidarrArtistCount :: $lidarrArtistName :: $tidalVideoProcessNumber/$tidalVideoIdsCount :: $videoTitle ($id) :: Live Video Found!"
videoType="-live"
elif echo $lidarrArtistTrackData | grep -i "$videoTitle" | read; then
log "$processCount/$lidarrArtistCount :: $lidarrArtistName :: $tidalVideoProcessNumber/$tidalVideoIdsCount :: $videoTitle ($id) :: Music Video Track Name Match Found!"
videoType="-video"
else
log "$processCount/$lidarrArtistCount :: $lidarrArtistName :: $tidalVideoProcessNumber/$tidalVideoIdsCount :: $videoTitle ($id) :: ERROR :: Unable to match!"
continue
fi

IF you want it to be looked at further, you'll need to provide relevant log data...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants