consts

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package consts used to store const for application

Package consts used to store action keys

Package consts used to store const for application

Index

Constants

View Source
const (
	ActionUsage                  = "allow use selected action"
	AllPages                     = 10
	BaseURLPath                  = "/trakt"
	CMD                          = "cmd"
	CheckInMsgUsage              = "allow to overwrite msg"
	CheckinError                 = "checkin error:%w"
	ClientNewRequestFatal        = "client.NewRequest returned error: %v"
	CommaString                  = ","
	CommentIDUsage               = "allow to overwrite comment_id"
	CommentNotFoundWithID        = "comment not found with commentId:%d"
	CommentTypeUsage             = "allow to overwrite comment_type"
	CommentUsage                 = "allow to overwrite comment"
	ConfigUsage                  = "allow to overwrite default config filename"
	DaysUsage                    = "allow to overwrite days"
	DefaultOutputFormat1         = "export_%s.json"
	DefaultOutputFormat2         = "export_%s_%s.json"
	DefaultOutputFormat3         = "export_%s_%s_%s.json"
	DefaultStartDateFormat       = "2006-01-02T15:00Z"
	DeleteUsage                  = "allow delete item"
	EmptyCommentIDMsg            = "set commentId ie: -comment_id 123"
	EmptyHistoryIDMsg            = "set historyId ie: -i 12345 from watched history"
	EmptyIncludeReplies          = "set includeReplies ie: -include_replies true or false"
	EmptyListIDMsg               = "set traktId ie: -trakt_id 55"
	EmptyMovieIDMsg              = "set Trakt ID, Trakt slug, or IMDB ID Example:  ie: -i 12345 or -i tron-legacy-2010"
	EmptyNotesIDMsg              = "set notesId ie: -i 12345678"
	EmptyPersonIDMsg             = "set personId ie: -i john-wayne"
	EmptyResult                  = "empty result"
	EmptyString                  = ""
	EmptyTraktIDMsg              = "set traktId ie: -trakt_id 55"
	EpisodeAbsUsage              = "episode_abs 1234"
	EpisodeCodeUsage             = "episode_code format 01x24"
	EpisodeErr                   = "episode error:%w"
	EpisodeCodeErr               = "episode code error:%w"
	ShowEpisodeErr               = "show episode error:%w"
	EpisodesType                 = "episodes"
	ErrorRender                  = "error render: %w"
	ErrorsPlaceholders           = "%v %v: %d %v"
	ExtendedInfoUsage            = "allow to overwrite extended flag"
	FieldUsage                   = "allow use selected field"
	FirstPage                    = 1
	FormatUsage                  = "allow to overwrite default ID type format"
	HavePagesErrorStr            = "HavePages: %v, want %v"
	HideUsage                    = "allow to hide movie/show recommendation"
	IgnoreCollectedUsage         = "allow to overwrite ignore_collected"
	IgnoreWatchlistedUsage       = "allow to overwrite ignore_watchlisted"
	IncludeRepliesUsage          = "allow to overwrite include_replies"
	InvalidUserForNotes          = "invalid user for notes Id:%s"
	ItemUsage                    = "item type used in collection/rating ie:movie,show,season,episode,person"
	JSONDataFormat               = "  "
	ListCommentSortUsage         = "allow to overwrite comments sort"
	ListIDUsage                  = "allow to export a specific custom list"
	ListItem                     = "  - %s\n"
	ListLikeRemoveUsage          = "allow remove like for list"
	ListUsage                    = "allow to overwrite list"
	ModuleUsage                  = "allow use selected module"
	MovieIDUsage                 = "allow to overwrite movieID"
	MoviesCountryUsage           = "allow to overwrite country"
	MoviesLanguageUsage          = "allow to overwrite language"
	MoviesPeriodUsage            = "allow to overwrite period"
	MoviesSortUsage              = "allow to overwrite sort"
	MoviesTypeUsage              = "allow to overwrite type"
	NewLine                      = "\n"
	NoEpisodeTitle               = "no episode title"
	NoShowTitle                  = "no show title"
	NotFoundConfigForModule      = "not found config for module '%s'"
	NotesIDUsage                 = "allow to overwrite notes_id"
	NotesNotFoundWithID          = "notes not found with Id:%s"
	NotesUsage                   = "allow to overwrite notes"
	OutputUsage                  = "allow to overwrite default output filename"
	PagesNoLimit                 = 0
	PrivacyUsage                 = "allow to overwrite privacy"
	ProgressUsage                = "progress 12.56"
	QueryUsage                   = "allow use selected query"
	RangeFormatDigits            = "%d-%d"
	RangeFormatFloats            = "%.1f-%.1f"
	Recent                       = "recent"
	RecommendationNotFoundWithID = "recommendation not found with Id:%s"
	RemoveUsage                  = "allow remove item"
	ReplyUsage                   = "allow to overwrite reply"
	ScrobbleError                = "scrobble error:%w"
	SeparatorString              = CommaString
	ShowErr                      = "show error:%w"
	SortUsage                    = "allow to overwrite sort"
	SpoilerUsage                 = "allow to overwrite spoiler"
	StartDateUsage               = "allow to overwrite start_date"
	StringDigit                  = "%s%d"
	StringString                 = "%s%s"
	TestURL                      = "test-url"
	TestURLNext                  = "test-url-next"
	TraktIDUsage                 = "allow to overwrite trakt_id"
	TypeUsage                    = "allow to overwrite type"
	UnknownCheckinAction         = "uknown checkin action"
	UserConnectionsError         = "user connections error:%w"
	UserSettingsError            = "user settings error:%w"
	UserlistUsage                = "allow to export a user custom list"
	VerboseUsage                 = "print additional verbose information"
	VersionUsage                 = "get trakt-sync version"
)

usage strings

View Source
const (
	ActionTypeAll      = "all"
	Aliases            = "aliases"
	AllDvd             = "all-dvd"
	AllFinales         = "all-finales"
	AllMovies          = "all-movies"
	AllNewShows        = "all-new-shows"
	AllSeasonPremieres = "all-season-premieres"
	AllShows           = "all-shows"
	Anticipated        = "anticipated"
	Boxoffice          = "boxoffice"
	Calendars          = "calendars"
	Certifications     = "certifications"
	Checkin            = "checkin"
	Collected          = "collected"
	Collection         = "collection"
	Comment            = "comment"
	Comments           = "comments"
	Countries          = "countries"
	Dvd                = "dvd"
	Episode            = "episode"
	Favorited          = "favorited"
	Finales            = "finales"
	Genres             = "genres"
	History            = "history"
	IDLookup           = "id-lookup"
	ImdbFormat         = "imdb"
	ImdbIDFormat       = "Imdb"
	Item               = "item"
	Items              = "items"
	Languages          = "languages"
	Likes              = "likes"
	List               = "list"
	Lists              = "lists"
	Lookup             = "lookup"
	Movie              = "movie"
	Movies             = "movies"
	MyDvd              = "my-dvd"
	MyFinales          = "my-finales"
	MyMovies           = "my-movies"
	MyNewShows         = "my-new-shows"
	MySeasonPremieres  = "my-season-premieres"
	MyShows            = "my-shows"
	Networks           = "networks"
	NewShows           = "new_shows"
	Notes              = "notes"
	People             = "people"
	Played             = "played"
	Popular            = "popular"
	Query              = "query"
	Ratings            = "ratings"
	Recommendations    = "recommendations"
	Related            = "related"
	Releases           = "releases"
	Replies            = "replies"
	SavedFilters       = "saved_filters"
	Scrobble           = "scrobble"
	Search             = "search"
	SeasonPremieres    = "season_premieres"
	Settings           = "settings"
	Shows              = "shows"
	ShowEpisode        = "show_episode"
	Stats              = "stats"
	Studios            = "studios"
	Summary            = "summary"
	TextQuery          = "text-query"
	TmdbFormat         = "tmdb"
	TmdbIDFormat       = "Tmdb"
	Translations       = "translations"
	Trending           = "trending"
	TvdbFormat         = "tvdb"
	TvdbIDFormat       = "Tvdb"
	UpdatedIDs         = "updated_ids"
	Updates            = "updates"
	Users              = "users"
	Videos             = "videos"
	Watched            = "watched"
	Watching           = "watching"
	Watchlist          = "watchlist"
)

usage strings

View Source
const (
	BaseInt               = 10
	BitSize               = 64
	DefaultExitCode       = 0
	DefaultPage           = 1
	DefaultPerPage        = 100
	DefaultProgress       = 0.00
	EmptyBuildInfoLen     = 0
	FirstArgElement       = 0
	ImdbVotesRangeMax     = 3000000
	ImdbVotesRangeMin     = 0
	MaxAcceptedStatus     = 299
	MinSeasonNumberLength = 3
	NextPageStep          = 1
	OneValue              = 1
	PagesLimit            = 2
	PerPage               = 50
	RatingRageMin         = 0
	RatingRageMinFloat    = 0.00
	RatingRangeMax        = 100
	RatingRangeMaxFloat   = 100.00
	SleepNumberOfSeconds  = 2
	TmdbRatingRangeMax    = 10.00
	TmdbRatingRangeMin    = 0.00
	TwoValue              = 2
	VotesRangeMax         = 100000
	VotesRangeMin         = 0
	X644                  = 0644
	X755                  = 0755
	ZeroValue             = 0
	ZeroValueFloat        = float64(0)
)

usage strings

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL