Expose the device name/hostname to integrate.js
#684
Labels
type: enhancement
A new feature or an improvement of already present feature.
integrate.js
#684
Is your feature request related to a problem? Please describe:
As I mentioned in #683, I need to register device information with the service I'm integrating into Nuvola. I'd like to get the device hostname to use as the "device name" in the service. Although a human-readable name (e.g.
AJ's laptop
vsajs-laptop
) would be better - I'm not sure if GNOME/other DEs distinguish between these?Describe the solution you'd like:
The hostname or human-readable name (or both) should be exposed to
integrate.js
somewhere on theNuvola
object (or something like that).Describe alternatives you've considered:
None, yet. The integration API for this service is kind of an all-or-nothing kind of deal, so I have to provide this information. I could hardcode it to something like "Linux device" or something like that but that seems... very unideal.
Additional context:
https://github.com/strugee/nuvola-app-jellyfin, https://jellyfin.org/
The text was updated successfully, but these errors were encountered: