-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sean, just an idea on YouTube shutting Streamus down... #611
Comments
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. |
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 |
Sorry, forgot to tell you I changed my username HelpingHand1 => LNFWebsite |
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... :/ |
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. |
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. |
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. |
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. |
It kinda makes me wonder why... What does the server do? |
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. |
You can see all the table mappings here: https://github.com/MeoMix/StreamusServer/tree/development/Streamus/Dao/Mappings |
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/ |
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:
|
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. |
I know that you've worked tremendously hard on this project and sincerely appreciate your work.
Instead of letting YouTube shut Streamus down because of its nature to be able to hide the video, market it AS a video player...
For instance, you currently have the ability to open streamus in a tab. Make this the ONLY functionality available to users and constantly have the streaming video open within this tab.
Users may then cause the tab to go to the background of their own doing, letting them listen to streaming music without the video.
Market streamus as a YouTube enhancer that allows users to create a "Rolling playlist" of videos. It would then be seen as none other than another YouTube video player.
You would keep Streamus going, and would be conforming to YouTube's standards.
Just an idea...
The text was updated successfully, but these errors were encountered: