inzomnyac / xbmc-addons

Automatically exported from code.google.com/p/xbmc-addons
0 stars 1 forks source link

Weather Plus video selector picks wrong slot #91

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to Weather Plus Settings, General tab
2. Choose, "Run Video Selector (Only for US)"
3. Choose, "Video #1"
4. Make any selection

What is the expected output? What do you see instead?

The selection is added to Slot #2 instead of Slot #1

What version of XBMC are you using? On what operating system?  What version
of the addon are you using?

XBMC (11.0-BETA3 Git:20120207-1fef727), Platform: Windows 7, 64-bit (WoW) 
Service Pack 1 build 7601. Built on Feb  8 2012 (compiler 1600)

FIX:

To fix it edit video_selector.py line #24 from "slot = video_num + 1" to "slot 
= video_num"

Original issue reported on code.google.com by thecryst...@sbcglobal.net on 11 Feb 2012 at 4:45