Go to advanced search

by cazz
Thu Jun 13, 2019 5:28 pm
Forum: Networking and servers
Topic: Printer i CUPS just disappers?
Replies: 0
Views: 106

Printer i CUPS just disappers?

Hi I have install CUPS and Samba and after that config the samba I did follow this guide https://pimylifeup.com/raspberry-pi-print-server/ I can add a printer and it CUPS can find it but when I have done add the printer and after that "Set default options" It say it was successful and then show the ...
by cazz
Thu May 30, 2019 9:36 pm
Forum: Media centres
Topic: tvheadend and DVB-T does not find TV card
Replies: 0
Views: 180

tvheadend and DVB-T does not find TV card

Hi After some Days trying to connect my TV card to a Linux it now looks like it works with raspberry Pi. lsusb Bus 001 Device 004: ID 0b48:3015 TechnoTrend AG dmesg |egrep "firmware|dvb|frontend|usb" [ 3.641827] usb 1-1.1.2: dvb_usb_v2: found a 'TechnoTrend TT-connect CT2-4650 CI v1.1' in warm state...
by cazz
Wed Apr 24, 2019 1:59 pm
Forum: Graphics, sound and multimedia
Topic: Stop and Play music with omxplayer
Replies: 0
Views: 171

Stop and Play music with omxplayer

Hi I have make two bash file and a textfile to control my music on a Raspberry Pi start.sh #!/bin/sh cd /home/pi/ while true; do for v in ./sommar/*; do omxplayer -o hdmi $v; done; done & pid=$!; echo $pid > pid.txt; stop.sh #!/bin/sh cd /home/pi/ value=`cat pid.txt` echo "$value"; kill $value; it w...
by cazz
Fri Apr 05, 2019 6:20 pm
Forum: Gaming
Topic: Raspberry Pi and analog joystick and Space invader
Replies: 4
Views: 587

Re: Raspberry Pi and analog joystick and Space invader

ohh sorry it was very late and I was very tired when I did write this (Is not a good idea to write when you are tired)

it is a joystick with micro switches
by cazz
Thu Apr 04, 2019 9:23 pm
Forum: Gaming
Topic: Raspberry Pi and analog joystick and Space invader
Replies: 4
Views: 587

Raspberry Pi and analog joystick and Space invader

Hi I have create and build a Arcade machine with RetroPi and USB joystick and button that I did buy on ebay. Everything works fine but it was a little to easy ;) The building of the acrade case did take the most of the time and not the retropie but it was fun. But I have a very old atari/c64) joysti...
by cazz
Wed Mar 13, 2019 6:02 am
Forum: Other programming languages
Topic: Play music with bash
Replies: 5
Views: 491

Re: Play music with bash

mm yes I know, just try it now a little.
Right now is only music player that running bash on this raspberry pi
by cazz
Tue Mar 12, 2019 2:46 pm
Forum: Other programming languages
Topic: Play music with bash
Replies: 5
Views: 491

Re: Play music with bash

Thanks for the replay

I think I have got it to work now and is

Code: Select all

kill $(pgrep bash)
and it stop playing the after the song is finnish
by cazz
Tue Mar 12, 2019 1:29 pm
Forum: Other programming languages
Topic: Play music with bash
Replies: 5
Views: 491

Play music with bash

Hi I have this code to play mp3 files on the TV from a folder. while true; do for v in ./mymusic/*; do omxplayer -o hdmi $v; done; done I run this code manual But now I want to use crontab to start and stop the music. but when I trying with kill $(pgrep omxplayer) it just stop the music that playing...
by cazz
Fri Dec 14, 2018 7:43 pm
Forum: Python
Topic: MQTT and Python
Replies: 4
Views: 281

Re: MQTT and Python

Hmm ok
by cazz
Fri Dec 14, 2018 7:14 pm
Forum: Python
Topic: MQTT and Python
Replies: 4
Views: 281

Re: MQTT and Python

hmm ok but for me the sender (A) is just a client and the reciver (B) is server (broker)

Does that mean that B also have to need to run a client?
by cazz
Fri Dec 14, 2018 3:40 pm
Forum: Python
Topic: MQTT and Python
Replies: 4
Views: 281

MQTT and Python

Hi I send from another raspberry ON/OFF info to the raspberry that I have install paho-mqtt and it going to play radio with omxplayer but I have to ask becurse it feel a little strange that I reading The raspberry I sending is that the client or the server?? I have work a little with python but neve...
by cazz
Thu Nov 15, 2018 10:18 pm
Forum: Graphics, sound and multimedia
Topic: show image and movie from the terminal
Replies: 1
Views: 2569

show image and movie from the terminal

Hi. I have use fbi to make a slideshow to show image on a screen. I have also use omxplayer to do the same thing. Now I going to help someone to see if I can do both, the omxplayer does not have support for show image so I was thinking about to try this. Make a script that run fbi and show all the i...
by cazz
Fri Nov 02, 2018 9:28 am
Forum: Graphics, sound and multimedia
Topic: PiTesting for Multimedia system
Replies: 0
Views: 195

PiTesting for Multimedia system

Hi Right now I have build with a old raspberry pi (I think it is the first generation) a a PiTesting system. It is very easy build. with batch script and some video clip I have build so it it start a first clip to see the color and some other visual effect of the TV/Projector that is connect to the ...
by cazz
Thu Nov 01, 2018 10:38 am
Forum: Troubleshooting
Topic: cannot connect Raspberry with hostname
Replies: 6
Views: 270

Re: cannot connect Raspberry with hostname

Well no I do not edit HOST file, have not need to do that Well yes it have Apple iTunes on my computer. /etc/resolv.conf # Generated by resolvconf domain domain.se nameserver x.x.x.x nameserver x.x.x.x /etc/dhcpcd.conf # Inform the DHCP server of our hostname for DDNS. thehostnameoftheraspberry # Ex...
by cazz
Thu Nov 01, 2018 6:59 am
Forum: Troubleshooting
Topic: cannot connect Raspberry with hostname
Replies: 6
Views: 270

cannot connect Raspberry with hostname

Hi I have a the latest version of Raspian on a Raspberry Pi, I have also activate SSH and only way for me to connect from my windows computer with Putty to the Raspberry Pi is to use the IP address. I have some older Raspberry Pi that running a very older Raspian and there I have no problem to use t...
by cazz
Sat Oct 06, 2018 10:57 am
Forum: Other programming languages
Topic: Control a kiosk mode screen with bash and python
Replies: 2
Views: 3796

Re: Control a kiosk mode screen with bash and python

Thanks for the replay
I Think I try first to use one HTML page with Javascript that I can use to change page in a DIV to start with.
by cazz
Thu Oct 04, 2018 9:39 pm
Forum: Other programming languages
Topic: Control a kiosk mode screen with bash and python
Replies: 2
Views: 3796

Control a kiosk mode screen with bash and python

Hi I have a raspberry running on a screen and Chromium in kiosk mode. It work greate and now I have even add 3 other tab of webpage that I like to Control with a tiny keyboard that have 6 button on. When I press "1" it show a in the terminal, "2" show b …….. I have think about use javascript and use...
by cazz
Sat Sep 29, 2018 9:50 pm
Forum: Beginners
Topic: kiosk mode for vivaldi?
Replies: 0
Views: 211

kiosk mode for vivaldi?

Is it possible to start Vivaldi browser in kioskmode?
by cazz
Sat Sep 29, 2018 9:02 pm
Forum: Advanced users
Topic: run command and script from SSH to desktop
Replies: 2
Views: 298

Re: run command and script from SSH to desktop

ahh thanks alot :)
by cazz
Sat Sep 29, 2018 6:54 pm
Forum: Advanced users
Topic: run command and script from SSH to desktop
Replies: 2
Views: 298

run command and script from SSH to desktop

Hi Sometime when I work with script and command it have happend it does not like when I run it from SSH and I have to then run it from the "real" keyboard and monitor. It make it hard sometime to easy work with the script and command. For example, right now I work with python and pynput to simulate ...
by cazz
Fri Sep 28, 2018 10:55 pm
Forum: Python
Topic: use Python to change website
Replies: 2
Views: 317

use Python to change website

Hi I know how to make it to show a webpage import webbrowser webbrowser.open('http://example.com') But can I use the same if I want to change the webpage and show fullscreen? I do not want to open another browser because after a while I going to have alot of browser. I maybe can close it or use "kil...
by cazz
Tue Sep 25, 2018 6:22 pm
Forum: Advanced users
Topic: Control a raspberry pi
Replies: 0
Views: 335

Control a raspberry pi

HI I know I can Control a raspberry Pi with SSH and also VNC But is that something more? I was thinking to connect a Raspberry Pi to a monitor that is on a wall behind my default monitor that I connect to my workstation. But I like easy open web browser or other nice things from my workstation on th...
by cazz
Thu Jun 28, 2018 3:47 pm
Forum: Graphics, sound and multimedia
Topic: use omxplayer to streaming youtube
Replies: 7
Views: 2715

Re: use omxplayer to streaming youtube

Ahhh it try to download the file :D
I just want to stream it, not download it but that is ok I did take a webcam source instead.
by cazz
Thu Jun 28, 2018 10:57 am
Forum: Graphics, sound and multimedia
Topic: use omxplayer to streaming youtube
Replies: 7
Views: 2715

Re: use omxplayer to streaming youtube

Thanks for the replay

Is same thing it play 2 sec then freeze 1 sec and then stop

I trying to stream this video to a Raspberry Pi
https://www.youtube.com/watch?v=RtU_mdL2vBM
by cazz
Thu Jun 28, 2018 9:27 am
Forum: Graphics, sound and multimedia
Topic: use omxplayer to streaming youtube
Replies: 7
Views: 2715

use omxplayer to streaming youtube

Hi
I have install omxplayer and also use youtube-dl to get the address.
When I run

Code: Select all

omxplayer -s -o local "<address>"
it start to stream but just for some second, after that is exit the omxplayer

Is it some easy way from terminal to show youtube streaming.

Go to advanced search