[{"data":1,"prerenderedAt":406},["ShallowReactive",2],{"project-24528479":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":35,"aspects":36,"strip":39,"post_text":43,"what":44,"said":95,"maker_in_thread":177,"shape":184,"grid":187,"attempts":367,"same_week":368,"maker_shows":32,"maker_hidden":398,"reader_version":399,"card":400},"24528479","chromecast_mpris","Control Chromecasts from Linux","title","Show HN: Control Chromecasts from Linux","https:\u002F\u002Fgithub.com\u002Falexdelorenzo\u002Fchromecast_mpris","github.com","this_machine",1600532236,2020,222,71,230,3028,8,"notable","dev_tools","media control bridge","cli",[24,25,26,27,28],"chromecast","mpris","linux","dbus","media control","curious",0.042,{"positive":32,"neutral":33,"mixed":34,"critical":32},2,7,0,11,{"idea":37,"docs":38},{"positive":34,"critical":34},{"positive":34,"critical":32},[34,40,41,34,34,34,40,34,34,34,34,41,34,42,34,34,34,34,34,34,34,42,34,34,34,34,34,34,34,40,34,34,40,40,34,34,34,34,40,34],3,1,5,null,{"problem":45,"audience":55,"pricing":43,"motivation":63,"time_to_build":43,"stack":68,"openness":93,"stage":94,"team_size":94},{"value":46,"source":47,"evidence":48},"Controlling Chromecast playback from Linux desktops via standard media controls","inferred",[49,52],{"id":50,"by":11,"text":51},"24538254","I do something similar with chromecast_mpris. I have my media keys mapped to Plasma's Media Controller, which uses MPRIS in the background. Works well for me, and you don't have…",{"id":53,"by":11,"text":54},"24538400","While you have chromecast_mpris running, you can use an MPRIS client to issue the OpenUri method[1]. Here's an example: ``` $ export…",{"value":56,"source":47,"evidence":57},"Linux users who cast media to Chromecast",[58,62],{"id":59,"by":60,"text":61},"24528904","axaxs","Thanks for this, I can't wait to test it out. Are there other ways to control chromecasts from Linux? I used to be able to cast straight from Chromium, but that hasn't worked for…",{"id":50,"by":11,"text":51},{"value":64,"source":65,"evidence":66},"Control Chromecast via Plasma media keys without waiting for catt","maker",[67],{"id":50,"by":11,"text":51},[69,79,85,89],{"value":70,"source":47,"evidence":71},"Python",[72,76],{"id":73,"by":74,"text":75},"24529431","balloob","Author of pychromecast here, the underlying library that this project uses to control the Chromecast. I wrote this lib initially for use in Home Assistant,…",{"id":77,"by":11,"text":78},"24538429","> How would this work on macOS? Theoretically it should work if you're able to get D-Bus working on macOS. D-Bus is usually a Linux thing, but it's been ported to other…",{"value":80,"source":65,"evidence":81},"pychromecast",[82],{"id":83,"by":11,"text":84},"24538146","Thanks for your work on pychromecast, I've looked and it's the best supported library for working with Chromecasts out there. It was also pleasant to integrate into this project.…",{"value":86,"source":65,"evidence":87},"D-Bus",[88],{"id":77,"by":11,"text":78},{"value":90,"source":65,"evidence":91},"PyGObject",[92],{"id":77,"by":11,"text":78},"open_source","unknown",{"praise":96,"objections":111,"requests":126,"questions":138,"alternatives":150},[97,103],{"value":98,"source":99,"evidence":100},"Thanks to pychromecast author; library well supported","commenter",[101,102],{"id":83,"by":11,"text":84},{"id":73,"by":74,"text":75},{"value":104,"source":99,"evidence":105},"Useful for mapping media keys",[106,110],{"id":107,"by":108,"text":109},"24529760","StavrosK","This is nice, I've been using catt mapped to the media keys via the native window manager shortcuts, but this seems easier to set up.",{"id":50,"by":11,"text":51},[112,119],{"value":113,"source":99,"evidence":114},"README lacks explanation of how to play media",[115],{"id":116,"by":117,"text":118},"24528851","ebg13","I can't tell from this project's readme how to actually play things. It has an instruction for connecting to your chromecast...ok, and then what? In the past I've used…",{"value":120,"source":99,"evidence":121},"No attribution to pychromecast in readme",[122],{"id":123,"by":124,"text":125},"24530571","kingosticks","Thank you for pychromecast, balloob. I know there's no real requirement but I wish projects like this would give attribution where it's due. This project benefits hugely from…",[127,131],{"value":128,"source":65,"evidence":129},"Document how to cast URLs (OpenUri)",[130],{"id":53,"by":11,"text":54},{"value":132,"source":99,"evidence":133},"Clarify macOS support",[134],{"id":135,"by":136,"text":137},"24529921","hansjorg","Title says 'from Linux', but the README says 'Linux \u002F *BSD \u002F macOS' under 'Requirements'. How would this work on macOS?",[139,143],{"value":140,"source":99,"evidence":141},"Does it work on macOS?",[142],{"id":135,"by":136,"text":137},{"value":144,"source":99,"evidence":145},"Can it cast arbitrary media?",[146],{"id":147,"by":148,"text":149},"24528823","jowsie","Does this also allow you to cast arbitrary media to the Chromecast? I couldn't tell from the readme.",[151,159,163,170],{"value":152,"source":99,"evidence":153},"catt",[154,158],{"id":155,"by":156,"text":157},"24528927","input_sh","I've been using catt (https:\u002F\u002Fgithub.com\u002Fskorokithakis\u002Fcatt) for years for that purpose. Basically: ``` pip3 install catt ``` And then: ``` catt cast \u003Cany image\u002Fsong\u002Fvideo\u002FURL…",{"id":53,"by":11,"text":54},{"value":160,"source":99,"evidence":161},"gnomecast",[162],{"id":116,"by":117,"text":118},{"value":164,"source":99,"evidence":165},"VLC native Chromecast client",[166],{"id":167,"by":168,"text":169},"24528924","ce4","VLC has a native client afaik. Edit: included since v3.0 https:\u002F\u002Fwww.videolan.org\u002Fdevelopers\u002Fvlc-branch\u002FNEWS",{"value":171,"source":99,"evidence":172},"bubbleupnp",[173],{"id":174,"by":175,"text":176},"24530237","emayljames","If on Android, bubbleupnp. It is a solid and well maintained app.",{"comments":42,"answered":32,"key":178},[179,180,181],{"id":83,"text":84},{"id":53,"text":54},{"id":182,"text":183},"24538184","I opened a bug report[1] regarding this issue a few days ago if you'd like to leave a comment. [1] https:\u002F\u002Ftrac.videolan.org\u002Fvlc\u002Fticket\u002F25116",{"commenters":185,"max_depth":42,"maker_replies":42,"first_comment_mins":186,"lifespan_hours":185},49,44,[188,190,194,197,200,202,205,208,210,214,215,218,221,224,227,230,232,235,238,241,243,244,245,247,250,251,253,255,258,261,264,266,268,271,274,276,277,280,283,284,286,290,293,295,298,300,303,305,308,311,314,316,318,321,324,327,329,332,334,336,337,340,343,345,349,352,355,357,359,361,365],[73,34,34,189,74,34],"commenter\u002Fneutral\u002Fnone",[191,34,40,192,193,34],"24529949","project\u002Fneutral\u002Fidea","atomi",[195,34,34,189,196,34],"24531195","msla",[198,34,34,189,199,34],"24530203","Inversechi",[123,34,41,201,124,34],"project\u002Fcritical\u002Fdocs",[203,34,34,189,204,34],"24531851","qwertygnu",[206,34,34,189,207,34],"24532234","andrewshadura",[209,34,34,189,207,34],"24532242",[211,34,34,212,213,34],"24532663","other\u002Fneutral\u002Fnone","1vuio0pswjnm7",[83,34,34,189,11,41],[216,41,40,192,217,34],"24529279","liability",[219,41,40,192,220,34],"24529938","comboy",[222,41,34,189,223,34],"24529942","miccah",[225,41,34,189,226,34],"24530247","MayeulC",[228,41,34,189,229,34],"24531025","angrais",[231,41,34,189,217,34],"24531239",[233,32,34,212,234,34],"24533103","gala8y",[236,32,34,212,237,34],"24533321","swebs",[239,32,34,212,240,34],"24534605","Falling3",[242,32,34,189,234,34],"24546186",[116,40,41,201,117,34],[174,40,34,212,175,34],[53,40,34,246,11,41],"project\u002Fneutral\u002Fdocs",[59,248,42,249,60,34],4,"project\u002Fpositive\u002Fnone",[167,248,34,212,168,34],[252,248,34,212,60,34],"24528942",[254,248,34,189,168,34],"24528984",[256,248,34,189,257,34],"24529036","Thaxll",[259,248,34,212,260,34],"24529797","londons_explore",[262,248,34,212,263,34],"24530909","mijoharas",[265,248,34,212,117,34],"24529721",[267,248,34,212,260,34],"24529773",[269,248,34,189,270,34],"24530801","kelnos",[272,248,34,189,273,34],"24531097","mholt",[275,248,34,189,260,34],"24532490",[182,248,34,189,11,41],[278,248,34,212,279,34],"24529769","psanford",[281,248,34,212,282,34],"24532129","facesonflags",[107,42,42,249,108,34],[50,42,34,285,11,41],"project\u002Fneutral\u002Fnone",[287,288,34,212,289,34],"24530800",6,"markbnj",[291,288,34,189,292,34],"24530837","mav3rick",[294,288,34,212,289,34],"24544303",[296,288,34,212,297,34],"24530877","ekianjo",[299,288,34,189,289,34],"24545162",[301,288,34,212,302,34],"24530989","gibolt",[304,288,34,212,289,34],"24544312",[306,288,34,212,307,34],"24531014","_ZeD_",[309,288,34,212,310,34],"24531583","throwaways885",[312,288,34,212,313,34],"24532084","pmontra",[315,288,34,189,289,34],"24544327",[317,33,34,212,263,34],"24530921",[319,18,40,285,320,34],"24528955","baby-yoda",[322,18,34,212,323,34],"24529610","m-p-3",[325,18,34,212,326,34],"24529943","fragmede",[328,18,34,189,323,34],"24529960",[330,18,34,212,331,34],"24530792","Rebelgecko",[333,18,40,285,270,34],"24530812",[147,335,40,192,148,34],9,[155,335,34,212,156,34],[338,335,34,212,339,34],"24529751","SyncOnGreen",[341,335,34,212,342,34],"24529831","geitir",[344,335,34,212,175,34],"24530220",[346,347,34,212,348,34],"24530079",10,"29athrowaway",[350,35,34,212,351,34],"24529203","zerop",[353,35,34,212,354,34],"24529338","chris_engel",[356,35,34,212,323,34],"24529628",[358,35,34,212,260,34],"24529812",[135,360,40,285,136,34],12,[362,360,34,363,364,34],"24530290","commenter\u002Fneutral\u002Fdocs","hugg",[77,360,34,366,11,41],"maker\u002Fneutral\u002Fdocs",[],[369,374,379,384,388,393],{"id":370,"name":371,"points":372,"category":373},"24564684","Mono Icons",333,"creative",{"id":375,"name":376,"points":377,"category":378},"24517925","ugit",309,"learning_science",{"id":380,"name":381,"points":382,"category":383},"24572449","Open-Source Memex",188,"productivity",{"id":385,"name":386,"points":387,"category":383},"24544183","Annotate.tv",154,{"id":389,"name":390,"points":391,"category":392},"24538977","rubyspeed",153,"languages",{"id":394,"name":395,"points":396,"category":397},"24525995","Visual Mind",111,"ai",false,"v2",{"id":401,"name":5,"line":6,"ai":398,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":402,"top":18,"kw":403,"maker":11,"domain":10,"tier":19,"attempts":34,"strip":404,"url":9,"mix":405,"praise":98,"objection":113,"sub":21},24528479,0.04,[24,25,26,27,28],"0310003000010500000005000000030033000030",[32,33,34,32],1794036596140]