Go to advanced search

by RDS
Thu Dec 19, 2019 9:51 pm
Forum: Python
Topic: assign datetime string to a file name
Replies: 16
Views: 406

Re: assign datetime string to a file name

I think we have already tried that Gordon. He obviously wants to file in a random type of order! :D
by RDS
Thu Dec 19, 2019 7:37 pm
Forum: Python
Topic: assign datetime string to a file name
Replies: 16
Views: 406

Re: assign datetime string to a file name

If you want to keep them in Chronological Order, use numbers for Year, Month, Day in that order, for example 20191219. Using letters will jumble your files up.
by RDS
Wed Dec 04, 2019 4:38 pm
Forum: Python
Topic: MP3 player
Replies: 35
Views: 1775

Re: MP3 player

Sound all working now.
Thanks again.
by RDS
Wed Dec 04, 2019 4:23 pm
Forum: Python
Topic: MP3 player
Replies: 35
Views: 1775

Re: MP3 player

Progress!
2019-12-04-161653_1280x720_scrot.png
2019-12-04-161653_1280x720_scrot.png (80.98 KiB) Viewed 209 times
Thank you very much for your patience and help.

I will plug something into the audio socket soon to try it out.
by RDS
Wed Dec 04, 2019 3:50 pm
Forum: Python
Topic: MP3 player
Replies: 35
Views: 1775

Re: MP3 player

This is my file structure
2019-12-04-154211_1280x720_scrot.png
2019-12-04-154211_1280x720_scrot.png (48.54 KiB) Viewed 219 times
by RDS
Wed Dec 04, 2019 3:10 pm
Forum: Python
Topic: MP3 player
Replies: 35
Views: 1775

Re: MP3 player

Sorry, still exactly the same. Does the program search down through folders from the starting point looking for mp3 files, because it comes up with that error message as soon as the Tkinter window loads, or do I need to press anything else to iniatialise. (having said that, I have pressed all the bu...
by RDS
Wed Dec 04, 2019 1:29 pm
Forum: Python
Topic: MP3 player
Replies: 35
Views: 1775

Re: MP3 player

The layout now works perfectly. Thank you. I have not managed to run any mp3's though yet as it keeps advising me 'NO TRACKS FOUND !' I have changed the following line: self.tunes_dir = "/media/pi/" # where .mp3s are stored under to self.tunes_dir = "/home/pi/Music/" # where .mp3s are stored under a...
by RDS
Tue Dec 03, 2019 7:36 pm
Forum: Python
Topic: MP3 player
Replies: 35
Views: 1775

Re: MP3 player

Your Tkinter display uses about 60% width and 80% height of my overall VNC screen (If that is what you mean).

I always operate my Pi's using VNC, as none of them are near monitor, keyboard etc.

4 out of 5 (VNC limit) of my Pi's are showing at 1280 x 720 and the 5th one is 1360x 720.
by RDS
Tue Dec 03, 2019 7:18 pm
Forum: Python
Topic: MP3 player
Replies: 35
Views: 1775

Re: MP3 player

Please, no extra work on my behalf.
What is the resolution recommended?
by RDS
Tue Dec 03, 2019 7:08 pm
Forum: Python
Topic: MP3 player
Replies: 35
Views: 1775

Re: MP3 player

2019-12-03-174811_1280x720_scrot.png
2019-12-03-174811_1280x720_scrot.png (79.92 KiB) Viewed 504 times
I am not sure about the screen resolution unless of course that is it, contained in the filename.
by RDS
Tue Dec 03, 2019 4:44 pm
Forum: Python
Topic: MP3 player
Replies: 35
Views: 1775

Re: MP3 player

@gordon77 No, on this Pi, I am using Stretch, V9. I have not upgraded all my Pi's to Buster. Anyway, your alternative solution has worked and I now have a Tkinter window display (some of the boxes in the Tkinter window are overlapping each other but still usable and not a problem) I will now load so...
by RDS
Tue Dec 03, 2019 2:52 pm
Forum: Python
Topic: MP3 player
Replies: 35
Views: 1775

Re: MP3 player

Hi Just tried again, same result. Unable to locate package python3-alsaaudio I think my previous attempt when it just reported: Unable to locate package alsaaudio was because I had tried it without the 'python3-' part. Could it be that my SD card image needs updating, because I have been using the s...
by RDS
Mon Dec 02, 2019 10:57 pm
Forum: Python
Topic: MP3 player
Replies: 35
Views: 1775

Re: MP3 player

Hi I am very interested in an mp3 player but after loading the program, I get the following error in Terminal when trying to follow the installation instructions: sudo apt-get install python3-alsaaudio Unable to locate package python3-alsaaudio I followed the remaining items and all the other packag...
by RDS
Tue Nov 26, 2019 10:05 pm
Forum: Camera board
Topic: which raspberry pi is better to make surveillance camera?
Replies: 17
Views: 1018

Re: which raspberry pi is better to make surveillance camera?

@alphanumeric
Thanks, I will try that.
by RDS
Tue Nov 26, 2019 8:05 pm
Forum: Camera board
Topic: which raspberry pi is better to make surveillance camera?
Replies: 17
Views: 1018

Re: which raspberry pi is better to make surveillance camera?

@alphanumeric Could I ask how you run MotionEye. I have tried running it as an Operating System (I hope that is the correct term) and as part of a Python Program, without any success at all with either. I liked the fact that it could run multiple cameras. Even using a Pi3B, I have been unable to get...
by RDS
Thu Nov 21, 2019 11:09 pm
Forum: Camera board
Topic: which raspberry pi is better to make surveillance camera?
Replies: 17
Views: 1018

Re: which raspberry pi is better to make surveillance camera?

@HermannSW
Thank you for a very prompt reply.
I will try lowering the shutter speed.
by RDS
Thu Nov 21, 2019 10:37 pm
Forum: Camera board
Topic: which raspberry pi is better to make surveillance camera?
Replies: 17
Views: 1018

Re: which raspberry pi is better to make surveillance camera?

@HermannSW I have just tried the code from your post above but my results come out as quite a jerky picture, using a standard pi camera. Could I ask if you were using a different camera for your video from the RC plane. raspivid -md 1 -w 1920 -h 1080 -p 22,50,960,540 -pts tst.pts -o tst.h264 -t 6000...
by RDS
Mon Nov 11, 2019 1:01 pm
Forum: Beginners
Topic: Is it possible to view a Pi username & password
Replies: 7
Views: 368

Re: Is it possible to view a Pi username & password

Excellent. Thank you very much.
All sorted now.
by RDS
Mon Nov 11, 2019 12:24 pm
Forum: Beginners
Topic: Is it possible to view a Pi username & password
Replies: 7
Views: 368

Re: Is it possible to view a Pi username & password

@HawaiianPi
Thank you, I now have the u/n (it is still pi)

@RaTTus
Thank you. I typed your line into terminal and received the following response:
passwd: password expiry information changed

Is this what is expected?
Please advise what I need to do now.
by RDS
Mon Nov 11, 2019 11:50 am
Forum: Beginners
Topic: Is it possible to view a Pi username & password
Replies: 7
Views: 368

Is it possible to view a Pi username & password

I have connected a Pi Zero to a Monitor, Keyboard and Mouse. It has an SD card in that I have used previously and contains a lot of my programs. All works well and it boots up to a Desktop, without having to enter any details such as Username or Password. I am now trying to add this Pi to my VNC acc...
by RDS
Wed Oct 09, 2019 2:32 pm
Forum: Python
Topic: Unable to locate package libmariadb3
Replies: 9
Views: 1118

Re: Unable to locate package libmariadb3

@rpdom
Thank you. It had not registered with me that Buster was a replacement for Stretch, as I thought that Stretch was the latest.
I will try what you suggest.
by RDS
Wed Oct 09, 2019 1:04 pm
Forum: Python
Topic: Unable to locate package libmariadb3
Replies: 9
Views: 1118

Re: Unable to locate package libmariadb3

@gkreidl Thank you but I have tried your suggestion, unfortunately is still gives the same error. pi@raspberrypi:~ $ sudo apt-get update Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB] Get:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB] Get:3 http://ras...
by RDS
Wed Oct 09, 2019 10:12 am
Forum: Python
Topic: Unable to locate package libmariadb3
Replies: 9
Views: 1118

Re: Unable to locate package libmariadb3

@fruitoftheloom
Yes, your link is the same one that I used.
by RDS
Wed Oct 09, 2019 10:09 am
Forum: Python
Topic: Unable to locate package libmariadb3
Replies: 9
Views: 1118

Re: Unable to locate package libmariadb3

@DirkS I read about the Python3 comment on another Q&A board (I don't know why I bothered with that one as this Forum has always served me very well!) The instructions I was trying to follow, were the ones linked to by fruitoftheloom in the post above. I started by entering the following line into t...
by RDS
Tue Oct 08, 2019 9:41 pm
Forum: Python
Topic: Unable to locate package libmariadb3
Replies: 9
Views: 1118

Unable to locate package libmariadb3

I am trying to load MotionEye to use for CCTV but I am getting the above error.
I have read that this may be because my Python 3 image is outdated as libmariadb3 has been added recently.

Could someone advise if this is likely and if so, how to get around the problem.
Thank you

Go to advanced search