nicmr / fidelitas

Rust network audio player and web client using actix and crossbeam multithreading, websockets, libvlc, and an Elm frontend.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switch track IDs to strings

nicmr opened this issue · comments

commented

To avoid having to deal with integer bounds etc. we should aim to replace the trackid with a string in

  • the protocol (currently Number)
  • the server (currently u64)
  • the client (currently Elm Int)
commented

The issue is actually just with Elm, where the maximum ID is a relatively low 2^32/2-1, as opposed to the rust code, where the maximum ID is 2^64-1