(files)
| 438 | |
| 439 | |
| 440 | def playlistIsValid(files): |
| 441 | if len(files) > constants.PLAYLIST_MAX_ITEMS: |
| 442 | return False |
| 443 | elif sum(map(len, files)) > constants.PLAYLIST_MAX_CHARACTERS: |
| 444 | return False |
| 445 | return True |
| 446 | |
| 447 | |
| 448 | def getDomainFromURL(URL): |
no outgoing calls
no test coverage detected