def homesharing_service(service_name, atv_name, address, hsgid):
<EOL>props = {<EOL>b'<STR_LIT>': b'<STR_LIT:2>', b'<STR_LIT>': b'<STR_LIT>', b'<STR_LIT>': hsgid, b'<STR_LIT:Name>': atv_name,<EOL>b'<STR_LIT>': b'<STR_LIT:1>', b'<STR_LIT>': b'<STR_LIT>', b'<STR_LIT>': b'<STR_LIT>',<EOL>b'<STR_LIT>': b'<STR_LIT:1>', b'<STR_LIT>': b'<STR_LIT:2>', b'<STR_LIT>': b'<STR_LIT>'<EOL>}<EOL>return ServiceInfo('<STR_LIT>',<EOL>service_name + '<STR_LIT>',<EOL>address=address, port=<NUM_LIT>,<EOL>properties=props)<EOL>
Create a new home sharing service simulating an Apple TV.