FK: let crystal tool format do its magic and replace the spaces before in-line comments with a random number of tabs, to get the lint check to work

This commit is contained in:
fkrueger 2024-05-10 13:22:24 +02:00
parent 1e3bbe2781
commit 4a70164539
1 changed files with 15 additions and 18 deletions

View File

@ -30,9 +30,7 @@ struct Invidious::User
return subscriptions
end
def parse_playlist_export_csv(user : User, raw_input : String, filename : String)
LOGGER.trace("parse_playlist_export_csv: 01 raw_input '#{raw_input}'\n")
raw_head = "" # playlists.csv - info-line for a given playlist in the google export, that's copied above the actual playlist-infos and separated by an empty line from
@ -61,7 +59,6 @@ struct Invidious::User
privacy = PlaylistPrivacy::Private
if (raw_head != "")
# ## XXX for documentation of current file format of playlists.csv (today it's 2024-01-07):
# 0 1 2 3 4 5 6 7 8 9 10 11
# Playlist ID,Add new videos to top,Playlist image 1 Create timestamp,Playlist image 1 URL,Playlist image 1 Height,Playlist image 1 Width,Playlist title (original),Playlist title (original) language,Playlist create timestamp,Playlist update timestamp,Playlist video order,Playlist visibility