GNOME Bugzilla – Bug 755087
validate: launcher: Print error when media-info and media files not present in folder
Last modified: 2015-11-11 09:15:27 UTC
When there are no media-info files present and --generate-media-info option is not given, then it just fails without printing error. Printing an error stating, use --generate-media-info if there are no media info files.
Created attachment 311426 [details] [review] print error when media-info files are not present
Created attachment 311428 [details] [review] print error when media-info and media files are not present
Review of attachment 311428 [details] [review]: ::: validate/launcher/apps/gstvalidate.py @@ +646,3 @@ return True elif not self.options.generate_info and not self.options.update_media_info and not self.options.validate_uris: + printc("%s not present. Use --generate-media-info" % media_info, Colors.FAIL) This might not be an error and what the user expect, please use self.info() instead (if it does not existe make sure we descend from Loggable.
Created attachment 312661 [details] [review] print error when media-info and media files are not present Did not understand what you mean by "if it does not existe make sure we descend from Loggable" Changed from printc to self.info Please check if any other changes needs to be done.
ping :)
Review of attachment 312661 [details] [review]: OK