Git Product home page Git Product logo

Comments (14)

MeoMix avatar MeoMix commented on June 20, 2024

This rebranding is indeed going to be happening to some extent.

It's a bit unfortunate because the word "Streamus" stands for "Stream music", but yeah, am aware it would help improve their perception of me. Still a lot of coding stuff to go, though, too.

from streamuschromeextension.

LNFWebsite avatar LNFWebsite commented on June 20, 2024

Sean, could you distribute my new project to your listeners. It's far from perfection, but I think they could use it until you go back online. I appreciate it! https://github.com/LNFWebsite/Streamly

from streamuschromeextension.

LNFWebsite avatar LNFWebsite commented on June 20, 2024

Sorry, forgot to tell you I changed my username HelpingHand1 => LNFWebsite

from streamuschromeextension.

MeoMix avatar MeoMix commented on June 20, 2024

I responded to you on Reddit. As stated, simply interacting with YouTube's content will make you liable to play by their set of rules. Simply trying to skirt around not using their API is insufficient... :/

from streamuschromeextension.

LNFWebsite avatar LNFWebsite commented on June 20, 2024

Yeah... But as far as I can tell, I'm not breaking any rules... Also, without using their API, Streamly is essentially invisible to them. It can be put on any web server.

from streamuschromeextension.

MeoMix avatar MeoMix commented on June 20, 2024

Not invisible to lawyers :p If I'm going to spend my time developing something I want it to be able to be a legitimate music service. We'll see where that takes me.

from streamuschromeextension.

LNFWebsite avatar LNFWebsite commented on June 20, 2024

And all the best luck to you. Streamly does not break any laws. There is no server side code and never will be with Streamly. It is more of a fallback for when other services cannot be found.

I have seen that Streamus has its own dedicated server. That's where things get smelly in the legal realm.

from streamuschromeextension.

MeoMix avatar MeoMix commented on June 20, 2024

Streamus server is not even part of the equation regarding my issues with YouTube's legal department. It has never been brought up in any of our talks.

from streamuschromeextension.

LNFWebsite avatar LNFWebsite commented on June 20, 2024

It kinda makes me wonder why... What does the server do?

from streamuschromeextension.

MeoMix avatar MeoMix commented on June 20, 2024

localStorage is wiped whenever a Chrome extension is uninstalled and chrome.storage.sync is an incredibly small pipe for syncing data across PCs which can be easily filled.

The server stores a user's G+ ID associated with their playlists and songs so that their data is more persistent across machines / PC reformats / reinstalls. Additionally, it allows for sharing of playlists via streamus.com/share by offering an end-point for the URLs. Without this, you'd have to encode all the information into a URL which simply isn't realistic.

from streamuschromeextension.

MeoMix avatar MeoMix commented on June 20, 2024

You can see all the table mappings here: https://github.com/MeoMix/StreamusServer/tree/development/Streamus/Dao/Mappings

from streamuschromeextension.

LNFWebsite avatar LNFWebsite commented on June 20, 2024

Additionally, it allows for sharing of playlists via streamus.com/share by offering an end-point for the URLs. Without this, you'd have to encode all the information into a URL which simply isn't realistic.

Why isn't this realistic? Encode the playlist in JSON format and run it through as base64.

Check out how this works: http://jbt.github.io/markdown-editor/

from streamuschromeextension.

MeoMix avatar MeoMix commented on June 20, 2024

Well, doing the math a bit it looks like it might be realistic, but still is just a horrible way to go about doing things. The maximum limit of a URL in Chrome is 2MB. Anything above that will start to crash the browser and, presumably, for weaker machines a lower value would be needed.

Base64 encoding size is: 4 * Math.ceil(string.length / 3) or 1500000 characters roughly for 2MB.

Stripping out everything except for the bare minimum needed a song would be on average around 100 characters. That gives us an upper limit of songs of 15,000. Streamus itself handles that just fine, and people do have 2k+ song playlists already, but it's something to consider. Additionally, if I ever need to represent more data... like whether a song is YouTube or some other API, then the # of songs able to be shared continues to go down.

Other stuff:

  • All shareable URLs would break whenever I make back-end changes for storing data or my back-end would need to be backwards compatible for all types of URLs.
  • It's pretty bad UX to try and share something that long with a friend. Just because you can paste it into your URL bar doesn't mean you can paste it into a Facebook post, Reddit post, etc... those all have maximum character lengths which would start to come into play.
  • Collaborative playlists are (were?) on the to do list. You cant' really collaborate with others on a playlist if the URL is static.

from streamuschromeextension.

LNFWebsite avatar LNFWebsite commented on June 20, 2024

I didn't know about the 2MB limit on Chrome. Otherwise, every URL shortener could do away with the length troubles... But for the playlist collaboration, you would need the server side stuff.

from streamuschromeextension.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.