Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dusk-Labs/dim
/ functions
Functions
773 in github.com/Dusk-Labs/dim
⨍
Functions
773
◇
Types & classes
221
↓ 159 callers
Method
into
(self)
dim-database/src/media.rs:322
↓ 139 callers
Method
clone
(&self)
dim-core/src/stream_tracking.rs:351
↓ 98 callers
Method
to_string
(&self)
dim-events/src/lib.rs:20
↓ 76 callers
Function
write_tx
( lock: &mut OwnedMutexGuard<SqliteConnection>, )
dim-database/src/rw_pool.rs:39
↓ 72 callers
Method
writer
(&self)
dim-database/src/rw_pool.rs:30
↓ 50 callers
Function
get_conn_memory
()
dim-database/src/lib.rs:94
↓ 38 callers
Method
into_response
(self)
dim-web/src/routes/auth.rs:54
↓ 34 callers
Function
create_test_library
(conn: &mut crate::Transaction<'_>)
dim-database/src/tests/library_tests.rs:8
↓ 34 callers
Method
inspect_err
(self, f: impl FnOnce(&E))
dim-core/src/inspect.rs:6
↓ 34 callers
Method
read
(&self)
dim-database/src/rw_pool.rs:26
↓ 33 callers
Method
insert
Method inserts a value in the current entry by recursively scanning it based on the keys supplied. The supplied value will be associated with the last
dim-core/src/tree.rs:54
↓ 32 callers
Method
insert
Method consumes a InsertableUser object and inserts the values under it into database table as a new user
dim-database/src/user.rs:383
↓ 31 callers
Function
updateVideo
(data)
ui/src/actions/video.js:41
↓ 26 callers
Method
clone
(&self)
dim-extern-api/src/tmdb/metadata_provider.rs:50
↓ 25 callers
Method
get
( conn: &mut crate::Transaction<'_>, username: &str, )
dim-database/src/user.rs:231
↓ 22 callers
Method
to_string
(&self)
dim-core/src/streaming/mod.rs:96
↓ 20 callers
Method
insert
Method inserts a value in the current entry by recursively scanning it based on the keys supplied. The supplied value will be associated with the last
dim-web/src/tree.rs:54
↓ 19 callers
Function
delete
# DELETE `/api/v1/user` Method deletes the currently logged in account. # Request This method accepts a JSON body with the following schema: ```no_co
dim-web/src/routes/user.rs:145
↓ 14 callers
Function
insert_media
(conn: &mut crate::Transaction<'_>)
dim-database/src/tests/media_tests.rs:9
↓ 14 callers
Method
match_to_result
( &self, tx: &mut Transaction<'life0>, file: MediaFile, provided: ExternalMedi
dim-core/src/scanner/movie.rs:79
↓ 11 callers
Method
update
( &self, conn: &mut crate::Transaction<'_>, user: UserID, )
dim-database/src/user.rs:414
↓ 10 callers
Method
match_to_result
( &self, tx: &mut Transaction<'life0>, file: MediaFile, result: (ExternalMedia
dim-core/src/scanner/tv_show.rs:86
↓ 9 callers
Function
authenticate
(username, password)
ui/src/actions/auth.js:25
↓ 9 callers
Method
into_episode
(self, media: Media)
dim-database/src/episode.rs:391
↓ 8 callers
Function
create_library
(conn: &mut dim_database::DbConnection)
dim-core/src/scanner/tests/mediafile.rs:24
↓ 8 callers
Method
find_by_type
(&self, codec_type: &str)
dim-core/src/streaming/ffprobe.rs:259
↓ 8 callers
Method
get_primary
(&self, codec_type: &str)
dim-core/src/streaming/ffprobe.rs:213
↓ 8 callers
Method
set
( conn: &mut crate::Transaction<'_>, delta: i64, uid: UserID, mid: i64, )
dim-database/src/progress.rs:19
↓ 8 callers
Method
tv_shows
(&self)
dim-extern-api/src/tmdb/metadata_provider.rs:98
↓ 8 callers
Function
updateTrack
(track, data)
ui/src/actions/video.js:33
↓ 7 callers
Function
insert_mediafile
(conn: &mut crate::Transaction<'_>)
dim-database/src/tests/mediafile_tests.rs:7
↓ 7 callers
Function
insert_user
(conn: &mut crate::Transaction<'_>)
dim-database/src/tests/user_tests.rs:11
↓ 6 callers
Function
asset_from_url
(url: &str)
dim-core/src/scanner/movie.rs:60
↓ 6 callers
Method
coalesce_request
perform request coalescing; when two futures are made with the same key the duplicates wait for the original to broadcast the results.
dim-extern-api/src/tmdb/metadata_provider.rs:156
↓ 6 callers
Method
get_language
(&self)
dim-core/src/streaming/ffprobe.rs:69
↓ 6 callers
Method
has_role
(&self, role: &str)
dim-database/src/user.rs:362
↓ 6 callers
Function
updateGlobalSettings
(data)
ui/src/actions/settings.js:138
↓ 6 callers
Function
updateUserSettings
(data)
ui/src/actions/settings.js:86
↓ 5 callers
Method
delete
Method deletes a entry from the table users and returns the number of rows deleted. NOTE: Return should always be 1 # Arguments `uname` - username we
dim-database/src/user.rs:300
↓ 5 callers
Method
exists
Method checks if a mediafile with the the target file exists in the database.
dim-database/src/mediafile.rs:278
↓ 5 callers
Function
formatHHMMSS
(secs: number)
ui/src/Helpers/utils.ts:2
↓ 5 callers
Method
make_request
( &self, args: A, path: String, )
dim-extern-api/src/tmdb/raw_client.rs:231
↓ 5 callers
Method
movies
(&self)
dim-extern-api/src/tmdb/metadata_provider.rs:107
↓ 5 callers
Function
parse_filenames
( files: impl Iterator<Item = impl AsRef<Path>>, )
dim-core/src/scanner/mod.rs:92
↓ 5 callers
Method
search
( &self, media_type: MediaSearchType, title: &str, year: Option<i32>, )
dim-extern-api/src/tmdb/raw_client.rs:304
↓ 5 callers
Function
useAppDispatch
()
ui/src/hooks/store.ts:5
↓ 4 callers
Function
fetchUserSettings
()
ui/src/actions/settings.js:14
↓ 4 callers
Function
ffpath
(bin: impl AsRef<str>)
dim-utils/src/lib.rs:404
↓ 4 callers
Method
get_bitrate
(&self)
dim-core/src/streaming/ffprobe.rs:61
↓ 4 callers
Method
get_next_episode
Function will query for the episode after the episode passed in.
dim-database/src/episode.rs:227
↓ 4 callers
Method
insert_batch
( &mut self, batch: impl Iterator<Item = &'a InsertableMediaFile>, )
dim-core/src/scanner/mediafile.rs:197
↓ 4 callers
Method
insert_blind
Method blindly inserts `self` into the database without checking whether a similar entry exists. This is especially useful for tv shows as they usuall
dim-database/src/media.rs:411
↓ 4 callers
Function
insert_genre
(conn: &mut crate::Transaction<'_>, name: String)
dim-database/src/tests/genre_tests.rs:9
↓ 4 callers
Method
into_response
(self)
dim-web/src/routes/media.rs:66
↓ 4 callers
Function
logout
()
ui/src/actions/auth.js:77
↓ 4 callers
Method
mem_size
(&self)
dim-extern-api/src/tmdb/cache_control.rs:65
↓ 4 callers
Function
reply_with_file
(file: String, header: (&str, &str))
dim-web/src/routes/stream.rs:735
↓ 4 callers
Function
run_migrations
Function runs all migrations embedded to make sure the database works as expected. # Arguments `conn` - diesel connection
dim-database/src/lib.rs:55
↓ 4 callers
Method
search_by_id
(&self, _: &str)
dim-extern-api/src/mock.rs:18
↓ 4 callers
Method
seasons_for_id
(&self, external_id: &str)
dim-extern-api/src/tmdb/metadata_provider.rs:538
↓ 4 callers
Method
set_bandwidth
(mut self, bandwidth: u64)
dim-core/src/stream_tracking.rs:100
↓ 4 callers
Method
set_codecs
(mut self, codecs: impl Into<String>)
dim-core/src/stream_tracking.rs:95
↓ 4 callers
Method
set_is_default
(mut self, is_default: bool)
dim-core/src/stream_tracking.rs:121
↓ 4 callers
Method
set_label
(mut self, label: String)
dim-core/src/stream_tracking.rs:126
↓ 4 callers
Method
set_mime
(mut self, mime: impl Into<String>)
dim-core/src/stream_tracking.rs:90
↓ 4 callers
Function
timeout_segment
Repeatedly invoke a nightfall routine until a timeout occurs waiting for a chunk to be "ready". `tick_dur` will the the duration amount that gets pas
dim-web/src/routes/stream.rs:524
↓ 4 callers
Function
useWebSocket
()
ui/src/hooks/ws.ts:5
↓ 3 callers
Method
construct_mediafile
( &self, file: PathBuf, metadata: Metadata, )
dim-core/src/scanner/mediafile.rs:111
↓ 3 callers
Method
episodes_for_season
( &self, external_id: &str, season_number: u64, )
dim-extern-api/src/tmdb/metadata_provider.rs:546
↓ 3 callers
Function
fetchInvites
()
ui/src/actions/auth.js:326
↓ 3 callers
Function
generate_key
()
dim-auth/src/lib.rs:22
↓ 3 callers
Function
get_all_invites
# GET `/api/v1/auth/invites` Method will retrieve and return all invite tokens in the database. # Authorization This route requires a valid authentic
dim-web/src/routes/auth.rs:112
↓ 3 callers
Method
get_container_bitrate
(&self)
dim-core/src/streaming/ffprobe.rs:193
↓ 3 callers
Method
get_duration
(&self)
dim-core/src/streaming/ffprobe.rs:239
↓ 3 callers
Method
get_for_gid
(&self, gid: &Uuid)
dim-core/src/stream_tracking.rs:284
↓ 3 callers
Function
get_global_settings
()
dim-core/src/settings.rs:74
↓ 3 callers
Function
get_global_settings
()
dim-web/src/routes/settings.rs:46
↓ 3 callers
Function
hash
(salt: String, s: String)
dim-database/src/user.rs:532
↓ 3 callers
Function
insert_many
(conn: &mut crate::Transaction<'_>, n: usize)
dim-database/src/tests/user_tests.rs:24
↓ 3 callers
Function
insert_many
(conn: &mut crate::Transaction<'_>, n: usize)
dim-database/src/tests/media_tests.rs:25
↓ 3 callers
Method
into_response
(self)
dim-web/src/routes/search.rs:32
↓ 3 callers
Method
invite_token_valid
Will return whether the token is valid and hasnt been claimed yet.
dim-database/src/user.rs:443
↓ 3 callers
Method
read_ref
(&self)
dim-database/src/rw_pool.rs:34
↓ 3 callers
Function
setManifestState
(state)
ui/src/actions/video.js:19
↓ 3 callers
Method
set_args
( mut self, args: impl IntoIterator<Item = (impl ToString, impl ToString)>, )
dim-core/src/stream_tracking.rs:110
↓ 3 callers
Function
set_global_settings
(settings: GlobalSettings)
dim-core/src/settings.rs:97
↓ 3 callers
Function
updateLogo
(color: boolean)
ui/src/Controllers/Favicon.tsx:8
↓ 3 callers
Function
wsConnect
(onNewSocket: OnNewSocket)
ui/src/actions/ws.ts:17
↓ 2 callers
Method
batch_match
( &self, tx: &mut Transaction<'_>, provider: Arc<dyn ExternalQueryIntoShow>, w
dim-core/src/scanner/movie.rs:220
↓ 2 callers
Function
channels_pretty
(ch: i64)
dim-utils/src/lib.rs:424
↓ 2 callers
Function
checkAdminExists
()
ui/src/actions/auth.js:223
↓ 2 callers
Function
codec_pretty
(codec: &str)
dim-utils/src/lib.rs:417
↓ 2 callers
Method
compile
(&self, w: &mut XmlWriter, start_num: u64)
dim-core/src/stream_tracking.rs:146
↓ 2 callers
Method
compress
Changes the root to the first folder that has children.
dim-core/src/tree.rs:95
↓ 2 callers
Method
compress
Changes the root to the first folder that has children.
dim-web/src/tree.rs:95
↓ 2 callers
Method
data
get the data out of the value, if it is still pending, wait for it and turn errors into None.
dim-extern-api/src/tmdb/cache_control.rs:53
↓ 2 callers
Method
evict
(&self)
dim-extern-api/src/tmdb/cache_control.rs:117
↓ 2 callers
Function
fetchGlobalSettings
()
ui/src/actions/settings.js:49
↓ 2 callers
Function
fetchUser
()
ui/src/actions/user.js:17
↓ 2 callers
Function
ffpath
(bin: impl AsRef<str>)
dim-database/src/utils.rs:21
next →
1–100 of 773, ranked by callers