Skip to content

Commit

Permalink
Add warning message for DRM configuration in Init function
Browse files Browse the repository at this point in the history
  • Loading branch information
rabilrbl committed Jan 4, 2025
1 parent e8eba1d commit d102d28
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/handlers/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ func Init() {
if DisableTSHandler {
utils.Log.Println("TS Handler disabled!. All TS video requests will be served directly from JioTV servers.")
}
if !EnableDRM {
fmt.Println("If you're not using IPTV Client. We strongly recommend enabling DRM for accessing channels without any issues! Either enable by setting environment variable JIOTV_DRM=true or by setting DRM: true in config. For more info Read https://telegram.me/jiotv_go/128")
}
// Generate a new device ID if not present
utils.GetDeviceID()
// Get credentials from file
Expand Down

0 comments on commit d102d28

Please sign in to comment.