Sponsored Content
The Lounge What is on Your Mind? Video Playlist for New Users with Under 5 Posts Post 303040111 by Neo on Wednesday 23rd of October 2019 08:56:03 AM
Old 10-23-2019
And just updated for the following logic for showing this player:

Code:
Posts < 5

OR

Infractions > 0

OR

Warnings > 0

So, if a user has 100 posts and does not use code tags and a mod issues an infraction or warning, they will also see the video player Smilie
These 2 Users Gave Thanks to Neo For This Post:
 

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

a playlist for ffmpeg streamer

Hi, I hope I am posting in the right place. I use to stream to justin tv using ffmpeg with that command ffmpeg -re -i "path/to/input.avi" -vcodec libx264 -preset fast -crf 30 -acodec libfaac -ab 128k -ar 44100 -f flv rtmp://live.justin.tv/app/xxxxxxxxxxx I would like to know if a bash... (2 Replies)
Discussion started by: undercash
2 Replies

2. Shell Programming and Scripting

Help with Playlist creation script

Hello. I am hoping to have an automated way to create Playlist files from Genre txt files I'll be making with my music collection. This is for use with my WD Live player, and is so that certain albums / artists can live in multiple genre directories when I browse to them from my WD Live player. ... (4 Replies)
Discussion started by: Davinator
4 Replies

3. Shell Programming and Scripting

Music Playlist parse/grep

Hi. Please help with a single line bash that will match field 3, and field 2 , if not then echo "Not Found". Original Music List name; Musiclists.m3u Format: \Music\The Rolling Stones - Angel.mp3 \Music\Maroon 5\Moves Like Jagger.mp3 Make a groomed playlist variable... $... (0 Replies)
Discussion started by: DSommers
0 Replies

4. What is on Your Mind?

Purge of Inactive Users with Zero Posts and Other Anti-spam Measures

In order to keep the site "clean, safe and warm", I have recently purged all accounts at UNIX.COM which meet the ALL of the following 3 criteria: No user activity in 2018 No posts (zero post count) Link in user profile. In addition, I purged all users who registered but never confirmed... (6 Replies)
Discussion started by: Neo
6 Replies
pods::SDL::VideoInfo(3pm)				User Contributed Perl Documentation				 pods::SDL::VideoInfo(3pm)

NAME
SDL::VideoInfo - Video Target Information CATEGORY Core, Video, Structure SYNOPSIS
my $video_info = SDL::Video::get_video_info(); VideoInfo is only accessible "SDL::Video::get_video_info". This module only provides getters to the struct "SDL_VideoInfo". DESCRIPTION
This object is a read-only structure and is returned by "SDL::Video::get_video_info". It contains information on either the best available mode if called before "SDL::Video::set_video_mode" or the current video mode if called after "SDL::Video::set_video_mode". METHODS
hw_available $video_info->hw_available() # 1 if Hardware Accelerated Surfaces available Is it possible to create hardware surfaces ? wm_available $video_info->wm_available() # 1 if Window Manager available Is there a window manager available ? blit_hw $video_info->blit_hw() Are hardware to hardware blits accelerated ? blit_hw_CC $video_info->blit_hw_CC() Are hardware to hardware colorkey blits accelerated ? blit_hw_A $video_info->blit_hw_A() Are hardware to hardware alpha blits accelerated ? blit_sw $video_info->blit_sw() Are software to hardware blits accelerated ? blit_sw_CC $video_info->blit_sw_CC() Are software to hardware colorkey blits accelerated ? blit_sw_A $video_info->blit_sw_A() Are software to hardware alpha blits accelerated ? blit_fill $video_info->blit_fill() Are color fills accelerated ? video_mem my $video_mem = $video_info->video_mem(); Total amount of video memory in Kilobytes, should be accessed only if hw_available == 1, otherwise it is equal to 0 vfmt my $vd_pixel_format = $video_info->vfmt(); "SDL::PixelFormat" of the video device current_w, current_h $video_info->current_w(); $video_info->current_h(); Width and height of the current video mode, or of the desktop mode if "SDL_GetVideoInfo" was called before "SDL::Video::set_video_mode" (available since SDL 1.2.10) SEE ALSO
SDL::Video, SDL::PixelFormat AUTHORS
See "AUTHORS" in SDL. perl v5.14.2 2012-05-28 pods::SDL::VideoInfo(3pm)
All times are GMT -4. The time now is 08:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy