Skip to content

Commit

Permalink
Generate new device ID if not present
Browse files Browse the repository at this point in the history
  • Loading branch information
rabilrbl authored Sep 9, 2024
1 parent a494abd commit f8e3c09
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions internal/handlers/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ func Init() {
if DisableTSHandler {
utils.Log.Println("TS Handler disabled!. All TS video requests will be served directly from JioTV servers.")
}
err := utils.GenerateRandomString(); if err != nil {
utils.Log.Println("Error generating random string", err)
}
// Generate a new device ID if not present
utils.GetDeviceID()
// Get credentials from file
credentials, err := utils.GetJIOTVCredentials()
// Initialize TV object with nil credentials
Expand Down

0 comments on commit f8e3c09

Please sign in to comment.