9 ms·
Spongebob-CLI – Watch classic spongebob from the terminal
- hathym 5y agoMPV is the secret sauce: https://ubunlog.com/en/mpv-reproductor-video-terminal/ https://ubunlog.com/en/mpv-reproductor-video-terminal/
- nannal 5y agoI'd argue megacartoons.net is the secret sauce as that's where it's fetching the video to put into mpv.
- exciteabletom 5y agoAwesome tool but what is the legality of this? Where is it sourcing the episodes from?
- capableweb 5y ago> Awesome tool but what is the legality of this? It's a client, none of the copyrighted work is stored in the software, it merely facilitates the user to load it in a media player. > Where is it sourcing the episodes from? The answer is in the source: https://github.com/trakBan/spongebob-cli/blob/eac7eded094a483495ac855cebadf1e168ee5b78/spongebob-cli#L80 https://github.com/trakBan/spongebob-cli/blob/eac7eded094a48... TLDR: seems to be fetched from a source called "megacartoons".
- exciteabletom 5y agoThanks
- Closi 5y agoI don’t think that necessarily makes it legal - they might be liable for "contributory copyright infringement”, which occurs if you deliberately and knowingly link to copyrighted materials and encourage/enable others to infringe. See http://www.law.cornell.edu/supct/html/04-480.ZO.html http://www.law.cornell.edu/supct/html/04-480.ZO.html (Eg torrent sites are also illegal in many countries despite merely linking to copyrighted materials)
- capableweb 5y agoNot sure why you link to some website talking about some US court's decision, the author of the spongebob-cli obviously doesn't live in the US.
- Closi 5y agoTo be honest I didn't see where the author was and wanted to provide a detailed example (I'm in the UK, but could post similar case results here, but this site has lots of US readers so thought that would clarify the legality for most people) The main reason for the post is that your original post which implied that just because it didn't host the copyrighted content itself made it OK from a legal perspective - this is probably untrue. One similar ruling for the ECJ is below, which again demonstrates that this would likely be illegal in Croatia: https://www.wipo.int/wipo_magazine/en/2016/06/article_0007.html https://www.wipo.int/wipo_magazine/en/2016/06/article_0007.h... As a further note, not only is the application itself probably illegal to develop / release, it is almost certainly illegal to use. It's unlikely to be the subject of enforcement action though for the users (Although I would be surprised if Viacom was cool with this).
- AlexSW 5y agoI had a quick look at the code to see how it worked and I feel like I'm being daft; where is line 28 getting the variable `soup` from? https://github.com/trakBan/spongebob-cli/blob/eac7eded094a483495ac855cebadf1e168ee5b78/spongebob-cli#L28 https://github.com/trakBan/spongebob-cli/blob/eac7eded094a48...
- bobowzki 5y agoIt's introduced into the global scope on line 82. Too me this seems a bit obfuscated.
- AlexSW 5y agoAh good spot, thanks! I'd agree with you there...
- wilj 5y agohttps://github.com/trakBan/spongebob-cli/blob/eac7eded094a483495ac855cebadf1e168ee5b78/spongebob-cli#L45 https://github.com/trakBan/spongebob-cli/blob/eac7eded094a48...
- AlexSW 5y agoThat's a local variable
- proxycon 5y agobit dissapointing that it doesn't actually render video into the terminal, just launches a video player
- ginko 5y agoAdding "--vo=tct" after "mpv" in the argument list in line 55 of spongebob-cli should do the trick (haven't tested it myself). https://github.com/trakBan/spongebob-cli/blob/main/spongebob-cli#L55 https://github.com/trakBan/spongebob-cli/blob/main/spongebob... edit: yep, works. You might also want to add "--quiet" to get rid of artifacts.
- factorymoo 5y agoLinux n00b over here... apologies for the silly question but I can't seem to make this work I enter spongebob-cli Then when it prompts me to enter an episode number, I can't seem to get it to play from within the terminal itself let's say I want to play episode 1: 1 --mpv --vo=tct --quiet Doesn't seem to work. Any help to get past this would be greatly appreciated
- ginko 5y agoDid you add them as separate strings like this? subprocess.run(["mpv", "--vo=tct", "--quiet", DirectLink]) Otherwise your terminal may be missing true-color terminal mode or the mpv in your distro doesn't have that output plugin. (You can check with "mpv --vo=help")
- kkirsche 5y agoIf, like me, you forget where to split the command and arguments, shlex.split in the standard library can split the raw string for you.
- Doxin 5y agoRule of thumb is every space, except ones you'd normally put between quotes. so e.g. foo quix-quiz "bar baz" turns into ["foo", "quix-quiz", "bar baz"] Though do note that you don't get an extra set of quotes on "bar baz" which is slightly confusing, but makes sense once you think about it a bit.
- swayvil 5y agoFirst and second season, great. Third season, good and bad. After that, poo. And how many seasons is it? 10?
- yissp 5y agoThe original creator (Stephen Hillenburg) left after the third season. As I understand it, he wanted to end the series there, but of course Nickelodeon couldn't resist milking the cash cow.
- midwestemo 5y agoThe first spongebob movie was supposed to be the finale, which was released after the three seasons.
- lostgame 5y agoAs cool as this is; I’m a bit surprised that this is trending here with its questionable legality. I get that it’s not hosting any illegal material, but it’s linking to it, so it’s still pretty sketch. Neat tool, though…
- capableweb 5y agoI'm not surprised. Hackers tend to gravitate towards "interesting" or "curious" things no matter the legal status. Sci-Hub, ThePirateBay or Swartz downloading documents from JSTOR are all interesting subjects which most hackers would find interesting enough to upvote if it shows up here. If the whole "Encryption is munition" thing would have happened when HN existed, I would have expected that to circulate the frontpage weekly, if not daily.
- hatware 5y ago> If the whole "Encryption is munition" thing This never went away, now they're saying encryption is only used by drug traffickers and pedophiles. Sigh, I was mentored briefly by the lawyer who represented Zimmerman in that case. Was surprised he got away from the crypto space, but I'm sure he was burnt out.
- echelon 5y agoIn ten years we'll be generating new SpongeBob cartoons from the terminal. We can already replicate his voice: https://fakeyou.com/tts/TM:jn4amf60mk58 https://fakeyou.com/tts/TM:jn4amf60mk58 TTS has lots of room for improvement, but the technology is already widely accessible and easy to deploy. We'll soon have voice conversion with dynamic control of tempo, pitch, timbre, etc. We have GANs that can generate stills. (this{person,cat,waifu,furry,etc.}doesnotexist.com) It won't be long before we can generate animated sequences, maintain temporal coherence, and correct for pose and posture. Animation is going to be wild. Anybody else working in this space? (Anybody want to be working in this space? Message me!)