Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boreq/eggplant
/ functions
Functions
1,634 in github.com/boreq/eggplant
⨍
Functions
1,634
◇
Types & classes
529
↓ 1 callers
Function
parentsAsString
(parents []AlbumId)
backend/domain/music/id.go:41
↓ 1 callers
Function
parseAttrList
(s string)
backend/domain/music/hls/parser.go:186
↓ 1 callers
Function
parseAuthToken
(s string)
backend/entrypoints/http/remote.go:526
↓ 1 callers
Function
parseExtinf
(value string)
backend/domain/music/hls/parser.go:156
↓ 1 callers
Function
parseMapURI
(value string)
backend/domain/music/hls/parser.go:174
↓ 1 callers
Function
playlistRequest
(t *testing.T)
backend/entrypoints/http/stream_playlist_test.go:38
↓ 1 callers
Function
readDirNames
(dirname string)
backend/adapters/music/scanner/symwalk/walk.go:84
↓ 1 callers
Function
receiverTypeName
(expr ast.Expr)
backend/internal/cmd/genhandlers/main.go:203
↓ 1 callers
Method
record
(id remotedomain.RemoteInstanceID, status remotedomain.HealthcheckStatus)
backend/application/remote/handler_check_remotes.go:59
↓ 1 callers
Method
redirectAwayIfNeeded
()
frontend/src/views/Setup.ts:81
↓ 1 callers
Method
redirectToSetupIfNeeded
()
frontend/src/App.ts:71
↓ 1 callers
Function
remoteInstanceFromDTO
(dto remoteInstanceDTO)
backend/adapters/remote/repository_remote_instances.go:165
↓ 1 callers
Function
removeEmptyAlbums
(root *album)
backend/adapters/music/scanner/scanner.go:286
↓ 1 callers
Method
removeLeftoverStreamDirectories
()
backend/adapters/music/tracks/converter.go:504
↓ 1 callers
Method
removeOldInvitations
(b *bolt.Bucket)
backend/adapters/auth/repository_invitations.go:93
↓ 1 callers
Function
removeOldSessions
(sessions []sessionDTO)
backend/adapters/auth/repository_users.go:201
↓ 1 callers
Method
removeSessionTokens
(sessions []authdomain.Session)
backend/adapters/auth/repository_users.go:180
↓ 1 callers
Method
removeStreamDirectory
(id musicdomain.StreamId)
backend/adapters/music/tracks/converter.go:436
↓ 1 callers
Function
render
(pkgName, loggerImport, loggerType, loggerKey string, handlers []handler)
backend/internal/cmd/genhandlers/main.go:245
↓ 1 callers
Function
resultDecls
(rs []param)
backend/internal/cmd/genhandlers/main.go:396
↓ 1 callers
Method
runConversion
(s *stream)
backend/adapters/music/tracks/converter.go:345
↓ 1 callers
Method
runFFmpeg
(ctx context.Context, s *stream)
backend/adapters/music/tracks/converter.go:450
↓ 1 callers
Function
saveInstanceWithAuthToken
(t *testing.T, tp appremote.TransactionProvider, address string)
backend/adapters/remote/remote_stream_proxy_test.go:66
↓ 1 callers
Method
scheduleConversion
(ctx context.Context, id string)
backend/adapters/music/thumbnails/store.go:190
↓ 1 callers
Method
scheduleTimeout
()
frontend/src/components/Search.ts:141
↓ 1 callers
Method
search
(query: string)
frontend/src/services/ApiService.ts:56
↓ 1 callers
Function
searchAlbums
(b *searchBuilder, albums []Album, parentInheritedDist *int, parentVis Visibility, query string, ctx AccessCon
backend/domain/music/library/search.go:28
↓ 1 callers
Method
seekPosition
(cmd StartStreaming)
backend/application/music/handler_start_streaming.go:56
↓ 1 callers
Method
setAccessFile
(root *album, file music.FilePath)
backend/adapters/music/scanner/scanner.go:195
↓ 1 callers
Method
setRemotePairingToken
(id: string, peerToken: string)
frontend/src/services/ApiService.ts:215
↓ 1 callers
Method
setThumbnailFile
(root *album, file music.FilePath, size int64)
backend/adapters/music/scanner/scanner.go:174
↓ 1 callers
Function
sortTracks
(tracks []Track)
backend/domain/music/tracks.go:22
↓ 1 callers
Function
sourceFiles
(pkg *packages.Package)
backend/internal/cmd/genhandlers/main.go:152
↓ 1 callers
Function
splitTag
(line string)
backend/domain/music/hls/parser.go:220
↓ 1 callers
Method
startCleanupWorker
(ctx context.Context)
backend/adapters/music/thumbnails/store.go:218
↓ 1 callers
Method
startConversionWorkers
(ctx context.Context)
backend/adapters/music/thumbnails/store.go:212
↓ 1 callers
Method
storeToken
(token: string)
frontend/src/services/AuthService.ts:7
↓ 1 callers
Method
streamPlaylistUrl
(track: Track, streamId: string)
frontend/src/services/ApiService.ts:101
↓ 1 callers
Method
streamsStats
()
backend/adapters/music/tracks/converter.go:302
↓ 1 callers
Method
syncSessionTokens
(username authdomain.Username, prior []authdomain.Session, current []sessionDTO)
backend/adapters/auth/repository_users.go:151
↓ 1 callers
Method
targetByID
(id remotedomain.RemoteInstanceID)
backend/adapters/remote/remote_stream_proxy.go:57
↓ 1 callers
Function
testDirectory
(name string)
backend/adapters/music/scanner/scanner_test.go:317
↓ 1 callers
Function
testPlaylist
(t *testing.T)
backend/entrypoints/http/stream_playlist_test.go:89
↓ 1 callers
Method
thumbnailUrl
()
frontend/src/components/Thumbnail.ts:30
↓ 1 callers
Function
toAlbumSearchResults
(hits []library.FoundAlbum)
backend/entrypoints/http/dto.go:17
↓ 1 callers
Function
toFoundAlbums
(src map[music.AlbumTitle]*album)
backend/adapters/music/scanner/scanner.go:304
↓ 1 callers
Function
toFoundRootAlbum
(root *album)
backend/adapters/music/scanner/scanner.go:296
↓ 1 callers
Function
toReadUserResponses
(users []authdomain.User)
backend/entrypoints/http/handler.go:660
↓ 1 callers
Function
toRemoteAlbum
(a openapi.Album, instanceID remotedomain.RemoteInstanceID)
backend/adapters/remote/remote_library.go:301
↓ 1 callers
Function
toRemoteInstance
(instance *remotedomain.RemoteInstance)
backend/entrypoints/http/remote.go:78
↓ 1 callers
Function
toRemoteInstanceDTO
(instance *remotedomain.RemoteInstance)
backend/adapters/remote/repository_remote_instances.go:133
↓ 1 callers
Function
toRemoteInstanceStatus
(status remotedomain.RemoteInstanceStatus)
backend/entrypoints/http/remote.go:101
↓ 1 callers
Function
toRootAlbum
(a music.RootAlbum)
backend/entrypoints/http/dto.go:92
↓ 1 callers
Function
toSearchResults
(result library.SearchResults)
backend/entrypoints/http/dto.go:10
↓ 1 callers
Function
toThumbnailStems
(values []string)
backend/internal/wire/inject_music.go:105
↓ 1 callers
Function
toTrackWithAlbum
(h library.FoundTrack)
backend/entrypoints/http/dto.go:36
↓ 1 callers
Function
toTrackWithAlbums
(hits []library.FoundTrack)
backend/entrypoints/http/dto.go:28
↓ 1 callers
Function
toUserList
(users []authdomain.User)
backend/cmd/eggplant/commands/users/users.go:71
↓ 1 callers
Function
trackStoreItem
(t *testing.T, fileId musicdomain.FileId, path string)
backend/adapters/music/tracks/durations_test.go:96
↓ 1 callers
Function
tryAddingTrackNumbers
tryAddingTrackNumbers only annotates tracks when every track in the album yields a parsed number, so we can reliably tell that the user most likely wa
backend/application/music/handler_load_library.go:166
↓ 1 callers
Function
tryCreatingNumberAndTitle
(numStr, titleStr string)
backend/domain/music/titleparser/titleparser.go:55
↓ 1 callers
Function
tryParse
(s string)
backend/domain/music/titleparser/titleparser.go:40
↓ 1 callers
Method
unregisterIdleStreams
()
backend/adapters/music/tracks/converter.go:94
↓ 1 callers
Method
updateLastAccess
()
backend/adapters/music/tracks/converter.go:545
↓ 1 callers
Function
userFromDTO
(dto userDTO)
backend/adapters/auth/repository_users.go:246
↓ 1 callers
Function
userToDTO
(u authdomain.User)
backend/adapters/auth/repository_users.go:225
↓ 1 callers
Function
validTrack
(t *testing.T)
backend/domain/music/album_test.go:68
↓ 1 callers
Function
validateConfig
validateConfig makes sure that the specific directories exist early on to avoid confusing the user with a ton of error messages being printed by the p
backend/cmd/eggplant/commands/run.go:65
↓ 1 callers
Method
waitForReadiness
(ctx context.Context, s *stream, ffmpegResult <-chan error)
backend/adapters/music/tracks/converter.go:398
↓ 1 callers
Method
waitOrDrain
(ctx context.Context, d time.Duration)
backend/entrypoints/filesystem/listener.go:59
↓ 1 callers
Function
walk
(path string, info os.FileInfo, walkFn WalkFunc)
backend/adapters/music/scanner/symwalk/walk.go:30
↓ 1 callers
Method
worker
(ctx context.Context)
backend/adapters/music/tracks/durations.go:117
↓ 1 callers
Function
writeFixtureLibrary
writeFixtureLibrary synthesises one album (one track + thumbnail) with ffmpeg.
backend/internal/componenttest/service_test.go:363
↓ 1 callers
Function
writeHandler
(w *bytes.Buffer, h handler, loggerType, loggerKey string)
backend/internal/cmd/genhandlers/main.go:294
↓ 1 callers
Function
writeToFile
(t *testing.T, path string, data []byte)
backend/adapters/music/library/access_test.go:94
Method
AccessFile
()
backend/domain/music/scanner/scanner.go:39
Method
AddEvents
(source remotedomain.EventSource)
backend/adapters/outbox.go:35
Method
AddHandler
(name, topic string, fn message.NoPublishHandlerFunc)
backend/adapters/pubsub/pubsub.go:45
Method
AddRemote
(ctx context.Context, body AddRemoteJSONRequestBody, reqEditors ...RequestEditorFn)
backend/adapters/openapi/openapi.gen.go:762
Method
AddRemoteWithBody
(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn)
backend/adapters/openapi/openapi.gen.go:750
Method
AddRemoteWithBodyWithResponse
AddRemoteWithBodyWithResponse request with any body
backend/adapters/openapi/openapi.gen.go:2350
Method
AddRemoteWithBodyWithResponse
AddRemoteWithBodyWithResponse request with arbitrary body returning *AddRemoteResponse
backend/adapters/openapi/openapi.gen.go:3552
Method
AddRemoteWithResponse
(ctx context.Context, body AddRemoteJSONRequestBody, reqEditors ...RequestEditorFn)
backend/adapters/openapi/openapi.gen.go:3560
Function
AdminAccessContext
()
backend/internal/fixture/access_context.go:18
Method
Albums
()
backend/domain/music/album.go:31
Method
Albums
()
backend/domain/music/library/search.go:82
Method
Albums
()
backend/domain/music/library/library.go:171
Method
Albums
()
backend/domain/music/scanner/scanner.go:43
Method
Albums
()
backend/domain/music/scanner/scanner.go:89
Function
AllTopics
()
backend/adapters/outbox.go:17
Function
AuthTransactionProvider
(t *testing.T)
backend/internal/fixture/transaction_provider.go:14
Method
Browse
(ctx context.Context, reqEditors ...RequestEditorFn)
backend/adapters/openapi/openapi.gen.go:702
Method
BrowseAlbum
(ctx context.Context, id AlbumId, reqEditors ...RequestEditorFn)
backend/adapters/openapi/openapi.gen.go:714
Method
BrowseAlbumWithResponse
BrowseAlbumWithResponse request returning *BrowseAlbumResponse
backend/adapters/openapi/openapi.gen.go:3525
Method
BrowseWithResponse
BrowseWithResponse request returning *BrowseResponse
backend/adapters/openapi/openapi.gen.go:3516
Function
BuildAuth
(conf *config.Config)
backend/internal/wire/wire_gen.go:90
Function
BuildAuth
(conf *config.Config)
backend/internal/wire/wire.go:42
Function
BuildAuthForTest
(db *bbolt.DB)
backend/internal/wire/wire_gen.go:60
Function
BuildAuthForTest
(db *bolt.DB)
backend/internal/wire/wire.go:34
Function
BuildService
(ctx context.Context, conf *config.Config)
backend/internal/wire/wire_gen.go:140
← previous
next →
601–700 of 1,634, ranked by callers