MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Video player -> would someone like to help me to write a program?

    Scheduled Pinned Locked Moved General Discussion
    18 Posts 3 Posters 5.6k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      Goldjunge_Chriz @sdetweil
      last edited by

      @sdetweil

      The whole thing should not run on the Magicmirror, but as a completely independent solution. A completely new Pi (preferably the Zero WH) that only fulfills the above-mentioned function, nothing else. I don’t need any buttons either, you don’t have to switch anything, pause, etc., I don’t need any of that ;)

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Goldjunge_Chriz
        last edited by

        @Goldjunge_Chriz ok, thx. this forum is for magic mirror related work.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          Goldjunge_Chriz @sdetweil
          last edited by

          @sdetweil

          I know 😅 that’s why I posted it in general discussions. I’ve been an active member here for years and I was just hoping someone with programming experience could help me, even if it’s not a magicmirror project.

          1 Reply Last reply Reply Quote 0
          • A Offline
            ashishtank Module Developer
            last edited by

            May be you can check https://github.com/osmc/osmc ? this is open source media player, you can modify the source code to support your feature ?

            G 1 Reply Last reply Reply Quote 0
            • G Offline
              Goldjunge_Chriz @ashishtank
              last edited by Goldjunge_Chriz

              @ashishtank said in Video player -> would someone like to help me to write a program?:

              May be you can check https://github.com/osmc/osmc ? this is open source media player, you can modify the source code to support your feature ?

              many thanks :) I know this player. Unfortunately it is and remains just a player. Here too… some script has to be created to implement my wishes. And here is the problem again …

              1 Reply Last reply Reply Quote 0
              • G Offline
                Goldjunge_Chriz
                last edited by Goldjunge_Chriz

                I need something simple that works according to the following example scheme:

                Start loop
                Select random Video from Folder “placeholder 1”
                IF GPIO “XY” ist true
                THAN Select random Video from Folder “placeholder 2”
                ELSE Loop previous selected Video from Folder “placeholder 1”
                IF selected random Video from Folder “placeholder 2” is over
                THAN select random Video from Folder “placeholder 3”
                IF selected random Video from Folder “placeholder 3” is over
                THAN go Back to start
                End Loop

                1 Reply Last reply Reply Quote 0
                • A Offline
                  ashishtank Module Developer
                  last edited by

                  @Goldjunge_Chriz got it… will check if i can help you with it. Is it fine that background script is starting and stopping the player based on GPIO input ?

                  G 1 Reply Last reply Reply Quote 0
                  • G Offline
                    Goldjunge_Chriz @ashishtank
                    last edited by

                    @ashishtank said in Video player -> would someone like to help me to write a program?:

                    @Goldjunge_Chriz got it… will check if i can help you with it. Is it fine that background script is starting and stopping the player based on GPIO input ?

                    the player should actually always run automatically. So boot up and automatically play the first random video from “placeholder 1”. once all steps have been processed, he should simply play a video from “placeholder 1” again until the button is pressed. And so on in a loop, until you shut down the raspberry. I would like to avoid one or more actions.

                    Thank you in advance, I think it’s great that you want to help :)

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      ashishtank Module Developer
                      last edited by

                      Yes, i can help. infect i have also seen few open source scripts/players where one or more things are controlled by GPIO. I have limited time so i can not commit any time line for this yet.

                      G 1 Reply Last reply Reply Quote 0
                      • G Offline
                        Goldjunge_Chriz @ashishtank
                        last edited by

                        @ashishtank

                        OK. I had actually hoped for relatively quick help, but if it doesn’t work sooner I’ll have to live with it :) I’m happy if someone supports me at all :)

                        S A 2 Replies Last reply Reply Quote 0
                        • S Offline
                          sdetweil @Goldjunge_Chriz
                          last edited by

                          @Goldjunge_Chriz could you two take this to email or chat. thanks

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            ashishtank Module Developer @Goldjunge_Chriz
                            last edited by

                            Hi @Goldjunge_Chriz you can check below post this have mostly similar feature. few changes and it should work for you. I am replying here so if some one have different opinion or better solution then can suggest, if you have any query for the below then do send me chat.

                            https://www.instructables.com/id/Raspberry-Pi-video-player-for-Children/

                            G 1 Reply Last reply Reply Quote 0
                            • G Offline
                              Goldjunge_Chriz @ashishtank
                              last edited by

                              @ashishtank

                              that looks very, very interesting.

                              Can you help adapt the code for my needs? :) that with the playlists seems like a really interesting approach.

                              1 Reply Last reply Reply Quote 0
                              • G Offline
                                Goldjunge_Chriz
                                last edited by

                                No other ideas or help ? 😟

                                1 Reply Last reply Reply Quote 0

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • 1 / 1
                                • First post
                                  Last post
                                Enjoying MagicMirror? Please consider a donation!
                                MagicMirror created by Michael Teeuw.
                                Forum managed by Sam, technical setup by Karsten.
                                This forum is using NodeBB as its core | Contributors
                                Contact | Privacy Policy