Guest User

Untitled

a guest
May 30th, 2022
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. I made the playlist maker, but it doesn't take commercials into account (yet). We'll need to talk about that.
  2. Here's a MEGA link to the Python file (ends with .py), the executable, and example files:
  3. https://mega.nz/folder/34UlQZrI#eIke1CTabwG0__eCc3tUKA
  4.  
  5. First you need to download Python: https://www.python.org/downloads/
  6.  
  7. You can directly use the executable (.exe file), but if you don't trust me, you can take the Python file, check that it's safe (or have someone check it for you), then make it yourself into an executable like this video shows: https://www.youtube.com/watch?v=bqNvkAfTvIc
  8.  
  9. How to use it:
  10. -Make three text files in the same folder as the .exe file, with the same names as the ones in the MEGA folder: show_list.txt, schedule.txt, episode_tracking.txt
  11. -For episode_tracking.txt, leave it empty to start the shows from the very first episode. If you don't want that, each line of the file should look like this: [show code], [episode number], [file name (can be blank)]. Keep in mind that numbering in programming starts from 0, not 1. So the first episode will have an episode number of 0, the second episode will be 1, and so on.
  12. -For show_list.txt, every line should look like this: [show code], [episodes folder path]. See the example. The episodes folder should contain ALL the episodes of the show, and NOTHING else. No image files, not .srt files, nothing. Only episodes.
  13. -For schedule.txt, you split it into sections. Each section should start with the name of the playlist (for example, you're making playlists for the days of the weekend, so maybe use the names of the days), followed by a colon. The next lines contain the codes of the shows. See the example.
  14.  
  15. Each time you double-click the executable, it will create new playlists (.xspf) based on the schedule file. The episode tracking file will update automatically. Do note that the order of the list of shows in the tracking file may change every time you use the .exe file, and that's normal. (under the hood I'm using a dictionary, which has no ordering)
  16. If you change the list of shows and schedule, the program will take that into account.
Add Comment
Please, Sign In to add comment