Go to advanced search

by Philly
Mon Mar 04, 2013 10:07 pm
Forum: Graphics, sound and multimedia
Topic: Playing,pause and change wav via remote pc
Replies: 1
Views: 520

Re: Playing,pause and change wav via remote pc

Hi again all

Think I need to elaborate a bit.

Does anyone have any bash scripts that will control moc via a command line.

e.g I can issue a command line to pause moc, or change to "this song" etc.

I might be going at this the wrong way so any input is greatly appriciated.

Cheers
Phil
by Philly
Sun Mar 03, 2013 9:03 pm
Forum: Python
Topic: pygame
Replies: 16
Views: 1910

Re: pygame

whoops typo should have been

http://wiki.python.org/moin/BeginnersGuide

soz :)
by Philly
Sun Mar 03, 2013 8:59 pm
Forum: Python
Topic: pygame
Replies: 16
Views: 1910

Re: pygame

I too am a complete novice, I got the book Raspberry PI User Guide by Eben Upton and Gareth Halfacree which I have found very usefull. Part of it explains some basic python code that prints "Hello World" plus making a simple calculator, making a snake game and a program to monitor users connected to...
by Philly
Sat Mar 02, 2013 9:08 pm
Forum: Python
Topic: AttributeError with rasberrySnake
Replies: 5
Views: 1150

Re: AttributeError with rasberrySnake

All working now

I had missed a line of code out that read raspberryPosition = [300,300]

Thanks for the help

Phil
by Philly
Sat Mar 02, 2013 8:19 pm
Forum: Python
Topic: AttributeError with rasberrySnake
Replies: 5
Views: 1150

Re: AttributeError with rasberrySnake

New error is Traceback (most recent call last): File "/home/pi/raspberrysnake.py", line 60, in <module> if snakePosition[0] == raspberryPosition[0] and snakePosition[1] == raspberryPosition[1]: TypeError: 'int' object has no attribute '__getitem__' I cant see any typo's, Any further help is apprecia...
by Philly
Sat Mar 02, 2013 7:41 pm
Forum: Python
Topic: AttributeError with rasberrySnake
Replies: 5
Views: 1150

Re: AttributeError with rasberrySnake

You are right :D

Thank you for your help, have got another error now but will recheck my code for capital mistakes.

Phil
by Philly
Sat Mar 02, 2013 7:24 pm
Forum: Python
Topic: AttributeError with rasberrySnake
Replies: 5
Views: 1150

AttributeError with rasberrySnake

Hi all I am a total novice to programming so please bear with me. I am working through the book, Raspberry Pi User guide by Eben Upton and Gareth Halfacree but have hit a problem with the RaspberrySnake. When I try and run the script I receive this error Python 2.7.3 (default, Jan 13 2013, 11:20:46)...
by Philly
Thu Feb 28, 2013 9:35 pm
Forum: Graphics, sound and multimedia
Topic: Playing,pause and change wav via remote pc
Replies: 1
Views: 520

Playing,pause and change wav via remote pc

Hi all,
I am a total novice to programming etc bit am enjoying learning with the RPi.

What I am trying to do is contol a RPi to choose, play and pause a wav file using batch files.

The batch files will then be controlled by a remote pc running xp.

Thanks for reading

Phil

Go to advanced search