Closed andyrooger closed 11 years ago
Appears to be because we need to completely close the stream in totem after we close it with os.close. Streaming will be done before programmes finish playing. Don't think we get an event to signal play completion, so can't close at the correct time. Maybe better not to close the stream at all?
Above is incorrect. In fact, there is a race condition in the code from #29 that means playing a stream whilst anything else is already playing will result in the new stream being closed (we are supposed to close the stream running before this)
Try to play a programme when not connected to the net. You should see an error appear about not able to get pid. You should also see one about no data in stream.
From here on, until you restart totem, every programme you play will give the no data in stream error.