a (really) small update to polish playlist - database (part 2/3) - #20574
Conversation
|
wait @freearhey , so can I edit the file with libreoffice calc, or I must edit it with program like notepad++? |
|
any text editor will work for editing files, but if you're using Linux or macOS, you'll need to change the line endings to the Windows version. some programs have an option for this. otherwise, you can use a utility such as unix2dos. |
I'm using on this pc w11, so i think I don't have this problem, but even earlier when I was using gentoo as far as I remember I didn't have that problem |
|
When attempting to correct the line endings, a new problem appeared: > db:validate
> tsx scripts/commands/db/validate.ts
feeds.csv
72 "13thStreet.au@Plus2" id "Plus2" must be derived from the name "2"
158 "2MMonde.ma@Plus1" id "Plus1" must be derived from the name "1"
...Your editor apparently considered feed names such as "+1” and “+2” to be numbers and simply removed the “+” symbol from them. |
|
CRLF fixed. Will add something to the GitHub Actions to verify that all files are CRLF. |
freearhey
left a comment
There was a problem hiding this comment.
The plus symbol is still missing.
@freearhey according to what you explain, (under the GNU/LINUX and Mac OS operating systems) once downloaded and edited, we have to convert the csv file with the command "unix2dos archive.csv" and upload it to the repository (fork), right? |
|
If your editor allows you to switch line endings in files, you don't need to do anything extra. In the case of LibreOffice Calc, as I understand it, there is just no such option. |
|
okey, I think it's time to wait for part 3 |
|
@Jxpl9 The added channels don't have their logos. The logos.csv file hasn't been modified. |
This is a Part 2 of the project.
Thanks for @Dum4G for providing the missing IDs.
State of this project:
✅ Copy all Rakuten.tv channel names one by one.
✅ Copy all Rakuten.tv channel logos one by one. I have all the links for the logos on my computer.
✅ Copy all Rakuten.tv channel m3u8s one by one.
✅ Separate the pl.m3u playlist into three files.
✅ Add missing channels to the playlists.
✅/❓ Add missing IDs.
❌ Add logos to the database.
🟨 Add missing 'Poland' feeds to the database.