xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
 
Reply to this topicStart new topic
> Play Videos In Background
incognegro
post Jun 15 2006, 01:51 PM
Post #1


X-S Hacker
******

Group: XS-BANNED
Posts: 2519
Joined: 23-August 04
Member No.: 141039
Xbox Version: v1.0
360 version: unknown



ok so I usually have my box startup with a music video in the background and this looks great on PM3. Since I decided to make this my default skin I was wondering if there is anyway to make the blades transparent enough to see the video properly while its playing in the back. that would be great. Currently I can hardly see it . Maybe a theme or something? Any of you MC360 modding gurus can help me out?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ma5tEr5hAkE
post Jun 15 2006, 05:22 PM
Post #2


X-S Enthusiast


Group: Members
Posts: 27
Joined: 9-May 06
Member No.: 281818



For some reason in the new release it is a lot harder to see. I have decided to stick with the .9666 build because it has a more translucent background making it easier to see the videos...using a gray background looks best. If you have a way of starting up videos with XBMC other than AutoStartManager1.5 please let me know...as this way is kind of buggy...and i'd like to do this myself
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
incognegro
post Jun 15 2006, 07:09 PM
Post #3


X-S Hacker
******

Group: XS-BANNED
Posts: 2519
Joined: 23-August 04
Member No.: 141039
Xbox Version: v1.0
360 version: unknown



QUOTE
''' vim: ts=8 sw=4 noexpandtab
By: aNtiBiOteK ver: 0.1
Original Script by Rune Hammersland ver: 0.3

This script is for those of you who love to turn on your xbox and watch music
vidoes in the morning. It will take a playlist or a music video directory,
randomize all the videos, and play them. Be sure to modify your autoexec.py
to start it up!

'''

import xbmc
import os

# ---------------------------------------- #
# "Configuration"
# ---------------------------------------- #

# Change this to your playlist(s).
# Written like this: ['path\\to\\plist1', 'to\\plist2', 'plist\\3']
playlist_files= ['E:\\Media\\Music\\playlist.m3u', 'F:\\all.m3u']
# Dirs(s) to traverse if playlist does not exist. NB: No trailing slash.
# Written like this: ['path\\to\\dir1', 'to\\dir2', 'dir\\3']
musicvideos_dirs = ['E:\\Media\\MusicVideos', 'F:\\Media\\MusicVideos']
# Shuffle playlist if this var equals 1.
shuffle_files = 1


# ---------------------------------------- #
# Code
# ---------------------------------------- #

# Function for adding files to playlist
def add_files(pl, dirname, names):
for filename in names:
if (os.path.isfile(dirname + "\\" + filename)):
add = 0

# Check extension of file.
if (filename[-4:] == ".avi"): add = 1
if (filename[-4:] == ".mpg"): add = 1
if (filename[-4:] == ".wmv"): add = 1
if (filename[-4:] == ".asf"): add = 1
if (filename[-4:] == ".m2v"): add = 1

# If file is to be added, do it.
if (add == 1): pl.add(dirname + "\\" + filename)
elif (os.path.isdir(dirname + "\\" + filename)):
os.path.walk(dirname + "\\" + filename, add_files, pl)

# Get music playlist from XBMC
plist = xbmc.PlayList(0)
plist.clear()

# Load playlist if it exists
for playlist_file in playlist_files:
if (os.path.isfile(playlist_file)):
plist.load(playlist_file)
# Else, find all available music videos
else:
for musicvideos_dir in musicvideos_dirs:
os.path.walk(musicvideos_dir, add_files, plist)

# Do the shuffle!
if (shuffle_files == 1): plist.shuffle()

xbmc.Player().play(plist)


This is the startup video directory script. i added xbmc.executebuiltin('XBMC.ActivateWindow(home)') at the end so that it plays in the background on start up, the only problem is that when it swtches videos it comes back in foreground which is quite annoying. If anyone knows python maybe they can help... meanwhile if any body knows I can get the background to be more transparent in MC360?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 22nd May 2013 - 10:04 PM