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

Formatting/Style and tips #139

Open
Zorklis opened this issue Aug 31, 2024 · 3 comments
Open

Formatting/Style and tips #139

Zorklis opened this issue Aug 31, 2024 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@Zorklis
Copy link
Owner

Zorklis commented Aug 31, 2024

Style of this project is:
"Year-Month-Day - Day of the week"
"07:00" instead of "07.00" or "7.00" or even "7:00".
(Though time should probably be the last thing to be corrected, at the end of the completion.)


Github dev mode:

https://github.dev/Zorklis/LT-TV-Programa OR by pressing "." (the dot)

Allows for multiple file/folder changes at once when pushing a commit.


Remove Empty Lines

Sometimes when copying TV programs, there's Empty lines in between, like this:

"07:00 Programa

07:35 Toon."
This can add up and get repetitive REAL quick, so a website like https://codebeautify.org/remove-empty-lines#
makes it time convenient to just copy and remove the empty lines.


Github's find and replace (CTRL+F)

firefox_mYrpjcwWLl

Can be extra convenient if done right.


@Zorklis Zorklis added the documentation Improvements or additions to documentation label Aug 31, 2024
@Zorklis
Copy link
Owner Author

Zorklis commented Aug 31, 2024

Previously format was:
"08:00 Show - Additional info."
This is a bad way to go about it, if the title of a show includes "-" , it can be confusing.

Instead, I would advice to use " | " as in:
"08:00 Show | Additional info."

Personally I'm against additional info such as descriptions, I wish it was just:
"Show, (year it originally aired, not LT) episode number and title." But for now descriptions can be included even though they are quite filler.

@Zorklis
Copy link
Owner Author

Zorklis commented Sep 8, 2024

https://www.diffchecker.com/ is good resource when I have old info program and wanna change with a new one, good to compare the old with the other.

@Zorklis
Copy link
Owner Author

Zorklis commented Sep 8, 2024

Archiving websites that list programs [https://github.com/Zorklis/LT-TV-Programa/blob/TV-Programos/Templates%20/%20Informacija/Tinklalapiai%20archyvavimui/TV%20Program%C5%B3%20svetain%C4%97s.txt] (third party) should be done during the start of brand new day as old information gets erased as day goes on.
So if capturing at 20:00 , all the info before that will already be gone :/

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

No branches or pull requests

1 participant