tangled
alpha
login
or
join now
stream.place
/
streamplace
Live video on the AT Protocol
74
fork
atom
overview
issues
1
pulls
pipelines
director: streams are indexed by URI now, not CID
Eli Mallon
5 months ago
22e14c99
269298a0
+2
-2
2 changed files
expand all
collapse all
unified
split
pkg
director
stream_session.go
model
model.go
+1
-1
pkg/director/stream_session.go
···
276
276
return fmt.Errorf("could not convert livestream to streamplace livestream: %w", err)
277
277
}
278
278
279
279
-
post, err := ss.mod.GetFeedPost(ls.PostCID)
279
279
+
post, err := ss.mod.GetFeedPost(ls.PostURI)
280
280
if err != nil {
281
281
return fmt.Errorf("could not get feed post: %w", err)
282
282
}
+1
-1
pkg/model/model.go
···
62
62
CreateFeedPost(ctx context.Context, post *FeedPost) error
63
63
ListFeedPosts() ([]FeedPost, error)
64
64
ListFeedPostsByType(feedType string, limit int, after int64) ([]FeedPost, error)
65
65
-
GetFeedPost(cid string) (*FeedPost, error)
65
65
+
GetFeedPost(uri string) (*FeedPost, error)
66
66
GetReplies(repoDID string) ([]*bsky.FeedDefs_PostView, error)
67
67
68
68
CreateLivestream(ctx context.Context, ls *Livestream) error