Assemble Your Content

A good deal of thought needs to go into the content you will provide. People need variety. Sometimes a movie, sometimes a documentary, sometimes relaxing music, sometimes upbeat music etc. etc.

Firstly consider the categories that you want and then make folders for them. e.g. documentaries in folder ‘documentaries’, background music in folder ‘background-music’, family photos in ‘family-photos’ etc. etc. All folders need to be made inside ‘/home/pi/pp_home/media’.

Sourcing appropriate content is up to you. Digitizing family photos etc. is usually no problem but videos and music may have licensing issues that are your concern. This guide is built using free, publicly available content from tv.jw.org and jw.org. Of course you can use any media that is at your disposal.

Occasionally you may find that a file does not play. The most likely cause is the filename. For reliability change any filenames that contain punctuation, international characters(ie. language specific accents à é î õ ü etc.) and any other characters other than a-z, A-Z, 0-9, – and _. It is a Linux system and as such spaces in filenames can cause issues. Therefore, I replace any spaces with either underscore ‘_’ or hyphen ‘-‘.

Sometimes you may need to zip or unzip files and manipulate audio files.

Examples

All folders created below reside in ‘/home/pi/pp_home/media’

‘monthly-broadcasts’

  1. Create folder ‘monthly-broadcasts’.
  2. Browse to ‘https://tv.jw.org/#en/video/VODStudio’
  3. Select the month you want and Left click the Download button.
  4. Right click the resolution you require and left click ‘Copy Link’ from the menu. e.g. ‘720p (xxx MB)’
  5. Open a text editor and paste to a new line. Do this for every video that you want from that category.
  6. You should now have a list with lines like this:
    files
  7. Use search and replace all ‘https’ with ‘wget https’
  8. Lines should now look similar to this:
    files-wget
  9. Select and copy all the lines to the clipboard in one go.
  10. In a terminal window and in the ‘monthly-broadcasts’ folder paste the clipboard contents.
  11. The Raspberry Pi will progressively download all the files leaving you free to other things. Don’t close the window till it’s done.

The above method can be used for any download from tv.jw.org or jw.org.

‘choral_mp3’

  1. Create folder ‘choral_mp3’
  2. Browse to: ‘https://www.jw.org/en/publications/music-songs/’
  3. Click mp3 icon for ‘Sing to Jehovah—Chorus’
  4. Right click the download icon and select ‘Copy Link’
  5. Repeat from step 5 ‘monthly-broadcasts’ above but use folder ‘choral-mp3’

‘sing-joyfully’

  1. Create folder ‘sing-joyfully’
  2. In a terminal and in folder ‘sing-joyfully’ paste this ‘wget https://download-a.akamaihd.net/files/media_music/7f/sjjm_E.mp3’
  3. Type this: ‘sudo unzip sjjm_E.mp3’ and all the files will be unzipped.
  4. Type ‘rm sjjm_E.mp3’ to remove the zip file

‘music-videos’

  1. Create folder ‘music-videos’
  2. Browse https://tv.jw.org for any music videos. Original songs and the choir singing etc.
  3. Use the same procedure from ‘monthly-broadcasts’ above but use folder ‘music-videos’

‘illustrations’

  1. Illustrations are drawings etc. from publications to be used when playing some audio files. This may include The Gospels, Bible Stories etc. Later publications have suitable files but earlier ones are not so good.
  2. From jw.org download the required publication in epub format. For example ‘Jesus – The Way The Truth The Life’.
  3. Change the extension from epub to zip
  4. Extract the zip file and browse inside the folder searching for a folder of images.
  5. Copy the images that you want to the RPi /home/pi/pp_home/media/illustrations folder.
  6. Do this for some other publications as well.

‘backgrounds’

  1. Backgrounds are beautiful and varied images to be used when playing some audio files. This could include general music and songs, magazine issues etc.
  2. Copy images from your own collection.
  3. Search for free images on-line. For example click this for google.
  4. Save them to ‘backgrounds’. Make sure the resolution is close to the monitor you will use.

‘gospels’

  1. Download mp3 files of the Bible books required. I use just the Gospels from jw.org.
  2. Put all the files in the same folder. Do not use sub-folders.

‘magazines’

  1. Magazines includes Watchtower and Awake issues of your choice. I use only Public issues. As each issue is a collection of mp3 files. I join them into one file per issue and put them all in one folder. This allows random playing of an issue not just an article. This is a long process but worth it for some.
  2. Use methods already discussed and download the magazine as a zip and extract to a folder per issue by issue name.
  3. For example in a Terminal and in magazines folder:
  4. wget https://download-a.akamaihd.net/files/media_magazines/ff/g_E_201610.mp3.zip
  5. Follow this convention: sudo unzip issue-name.zip -d issue-name
  6. sudo unzip g_E_201610.mp3.zip -d g_E_201610
  7. Do this for each issue, Watchtower and Awake naming each folder by issue name.
  8. When all files have been unpacked rm *.zip to remove the zip files.
  9. Mp3 files must be joined correctly or they do not play in PiPresents. Now we join them.
  10. Follow this convention: sox issue-name/*.mp3 issue-name.mp3
  11. For example: sox g_E_201610/*.mp3 g_E_201610.mp3 creates a joined mp3 in magazines called g_E_201610.mp3.
  12. It will take a little while for the file to be made. Afterward delete the folder: rm -r g_E_201610
  13. There are ways to automate this but not in the scope of this article.
  14. Now you have a folder of magazines to be randomly played.

‘relaxing’

  1. Relaxing is a folder of beautiful scenic and nature video files. These include documentaries and relaxing videos that are beautiful without their own audio playing. Sometimes you can find this type of video but the music is zen or some other type that is not acceptable. We can still use them as background video for our own music and songs.

‘books_mp3’

  1. I have sub-folders for books i.e. a folder ‘bible-stories’ for that book. Books such as Bible Stories have short chapters therefore my practice is to combine them into groups of four using a similar method as magazines.
  2. Other books have their own folder.

‘feature_length’

  1. As the name says, feature length videos from jw.org

‘animations’

  1. Animations of Caleb and Sophia. Any song animations as well. All from jw.org.

‘movies’

  1. There are many musicals and beautiful old movies that are suitable viewing.
  2. How you get them etc. is your own concern.
  3. You could buy titles, many are available on DVD at very low cost now. There are various methods to format shift so that they can be used for this purpose. While this may not be the best way, it is as close as I could do to conform to regulations. Again, this is not an endorsement, do so at your own discretion.
  4. The same applies to documentaries.

‘Frequently_Asked_Questions’

  1. This is a useful category. It contains the Ministry Tool videos from jw.org.
  2. By playing one of these occasionally, nursing home staff etc. may get a witness.

You might make other folders as well. Such as animations, bethel-experiences, Conventions, dramas-readings, family-photos, JWB_Talks, our_activities, documentaries, movies etc.

Now that we have our content we can Build A Show