Can't play file with XBMC after AMC process...

Any questions? Need some help?
Post Reply
lebaguette
Posts: 16
Joined: 26 Nov 2013, 11:02

Can't play file with XBMC after AMC process...

Post by lebaguette »

Hi,

I just experienced the strangest error with FileBot AMC and XBMC.

My setup is a desktop computer which downloads torrents and runs the AMC script. The script also updates the local XBMC library which is shared via MySQL with a Raspberry Pi running Raspbmc. Everything has been running fine up until a couple of days ago, when I noticed that any file processed via the AMC can not be played by XBMC on the Raspberry. However, the file seems to process alright, and the file is playable on the desktop computer via XBMC or any other media player. Also, any file NOT processed by the AMC script plays fine on either machine.

I've included my AMC output log (which I think looks ok, besides the extract path being absolutely bonkers), but also the XBMC log from the Raspberry Pi. Please note that XBMC on one occation states:

Code: Select all

22:35:32 T:2747241536    INFO: FileSmb->Open: Unable to open file : 'smb://DESKTOP/TV%20Shows/How%20I%20Met%20Your%20Mother/Season%2009/How%20I%20Met%20Your%20Mother%20-%20S09E22%20-%20The%20End%20of%20the%20Aisle.mkv'
                                            unix_err:'2' error : 'No such file or directory'
I would think this indicates network/samba error, but then again the only files that fail to play are the ones that have been processed by the AMC script. I'm thinking the AMC script may be causing a permissions issue or something similar. I realize I may have to give you more information, but I have no idea where to start, so any pointers in the right direction would be much appreciated.

AMC log:

Code: Select all

Parameter: xbmc = 192.168.0.16
Parameter: clean = y
Parameter: music = n
Parameter: subtitles = en
Parameter: artwork = y
Parameter: excludeList = Downloads\amc-input.txt
Parameter: ut_dir = D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE
Parameter: ut_file = Sample\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.sample.mkv
Parameter: ut_kind = multi
Parameter: ut_title = How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE
Parameter: ut_label = tv
Parameter: ut_state = 5
Read archive [how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.rar] and extract to [D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE]
Extracting files [D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE.mkv]
Input: D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE.mkv
Exclude: D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.nfo
Exclude: D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.r00
Exclude: D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.r01
Exclude: D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.r02
Exclude: D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.r03
Exclude: D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.r04
Exclude: D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.r05
Exclude: D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.r06
Exclude: D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.r07
Exclude: D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.r08
Exclude: D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.r09
Exclude: D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.r10
Exclude: D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.r11
Exclude: D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.r12
Exclude: D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.r13
Exclude: D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.sfv
Exclude: D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\Sample\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable.sample.mkv
Group: [tvs:how i met your mother] => [How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE.mkv]
Get [English] subtitles for 1 files
Looking up subtitles by filehash via OpenSubtitles
Matched [How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE.mkv] to [How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE-eng] via filehash
Fetching [How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE-eng.srt]
Export [How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE-eng.srt] as: SubRip / UTF-8
Writing [How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE-eng.srt] to [How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE.eng.srt]
Rename episodes using [TheTVDB]
Auto-detected query: [How I Met Your Mother]
Fetching episode data for [How I Met Your Mother]
Auto-detected query: [How I Met Your Mother]
Fetching episode data for [How I Met Your Mother]
[COPY] Rename [D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE.eng.srt] to [D:\TV Shows\How I Met Your Mother\Season 09\How I Met Your Mother - S09E22 - The End of the Aisle.eng.srt]
[COPY] Rename [D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE.mkv] to [D:\TV Shows\How I Met Your Mother\Season 09\How I Met Your Mother - S09E22 - The End of the Aisle.mkv]
Processed 2 files
Fetching series artwork for [How I Met Your Mother] to [D:\TV Shows\How I Met Your Mother\Season 09]
Banner already exists: D:\TV Shows\How I Met Your Mother\poster.jpg
Banner already exists: D:\TV Shows\How I Met Your Mother\banner.jpg
Banner already exists: D:\TV Shows\How I Met Your Mother\fanart.jpg
Banner already exists: D:\TV Shows\How I Met Your Mother\Season 09\poster.jpg
Banner not found: D:\TV Shows\How I Met Your Mother\Season 09\banner.jpg / season:seasonwide
Fanart already exists: D:\TV Shows\How I Met Your Mother\clearart.png
Fanart already exists: D:\TV Shows\How I Met Your Mother\logo.png
Fanart already exists: D:\TV Shows\How I Met Your Mother\landscape.jpg
Fanart already exists: D:\TV Shows\How I Met Your Mother\Season 09\landscape.jpg
Notify XBMC: 192.168.0.16
Saving report as C:\Users\lebaguette\AppData\Roaming\FileBot\reports\AMC [2014-03-25 08h22m] How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARK.html
Clean temporary extracted files
Delete D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE.eng.srt
Delete D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE.mkv
Delete D:\Downloads\Complete\How.I.Met.Your.Mother.S09E22.720p.HDTV.x264-REMARKABLE\how.i.met.your.mother.s09e22.720p.hdtv.x264-remarkable
Done ヾ(@⌒ー⌒@)ノ
XBMC log from the Raspberry Pi:

Code: Select all

ExecuteXBMCAction : To PlayMedia("smb://DESKTOP/TV Shows/How I Met Your Mother/Season 09/How I Met Your Mother - S09E22 - The End of the Aisle.mkv")
22:35:31 T:3040182272   DEBUG: CAnnouncementManager - Announcement: OnClear from xbmc
22:35:31 T:3040182272   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnClear
22:35:32 T:3040182272   DEBUG: CPlayerCoreFactory::GetPlayers(smb://DESKTOP/TV Shows/How I Met Your Mother/Season 09/How I Met Your Mother - S09E22 - The End of the Aisle.mkv)
22:35:32 T:3040182272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
22:35:32 T:3040182272   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
22:35:32 T:3040182272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
22:35:32 T:3040182272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/mms/udp
22:35:32 T:3040182272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
22:35:32 T:3040182272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
22:35:32 T:3040182272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
22:35:32 T:3040182272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
22:35:32 T:3040182272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
22:35:32 T:3040182272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
22:35:32 T:3040182272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
22:35:32 T:3040182272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
22:35:32 T:3040182272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
22:35:32 T:3040182272   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
22:35:32 T:3040182272   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (4)
22:35:32 T:3040182272   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
22:35:32 T:3040182272   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
22:35:32 T:3040182272   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
22:35:32 T:3040182272   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: OMXPlayer (4)
22:35:32 T:3040182272   DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
22:35:32 T:3040182272  NOTICE: COMXPlayer: Opening: smb://DESKTOP/TV Shows/How I Met Your Mother/Season 09/How I Met Your Mother - S09E22 - The End of the Aisle.mkv
22:35:32 T:3040182272 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:35:32 T:3040182272   DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
22:35:32 T:3040182272   DEBUG: LinuxRendererGL: Cleaning up GL resources
22:35:32 T:2747241536  NOTICE: Thread COMXPlayer start, auto delete: false
22:35:32 T:2747241536  NOTICE: Creating InputStream
22:35:32 T:2747241536   DEBUG: CSmbFile::Open - opened TV Shows/How I Met Your Mother/Season 09/How I Met Your Mother - S09E22 - The End of the Aisle.mkv, fd=-1
22:35:32 T:2747241536    INFO: FileSmb->Open: Unable to open file : 'smb://DESKTOP/TV%20Shows/How%20I%20Met%20Your%20Mother/Season%2009/How%20I%20Met%20Your%20Mother%20-%20S09E22%20-%20The%20End%20of%20the%20Aisle.mkv'
                                            unix_err:'2' error : 'No such file or directory'
22:35:32 T:2747241536   ERROR: COMXPlayer::OpenInputStream - error opening [smb://DESKTOP/TV Shows/How I Met Your Mother/Season 09/How I Met Your Mother - S09E22 - The End of the Aisle.mkv]
22:35:32 T:2747241536  NOTICE: COMXPlayer::OnExit()
22:35:32 T:2747241536  NOTICE: COMXPlayer::OnExit() deleting input stream
22:35:32 T:3040182272   DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
22:35:32 T:3040182272   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
22:35:32 T:3040182272   ERROR: XBMC.PlayMedia could not play media: smb://DESKTOP/TV Shows/How I Met Your Mother/Season 09/How I Met Your Mother - S09E22 - The End of the Aisle.mkv
22:35:32 T:2747241536   DEBUG: Thread COMXPlayer 2747241536 terminating
22:35:32 T:3040182272  NOTICE: COMXPlayer::CloseFile
22:35:32 T:3040182272 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:35:32 T:3040182272  NOTICE: COMXPlayer: waiting for threads to exit
22:35:32 T:3040182272  NOTICE: DVDPlayer: finished waiting
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Can't play file with XBMC after AMC process...

Post by rednoah »

I'm pretty sure it's a Unix permissions / owner issue:
http://www.filebot.net/forums/viewtopic ... 1441#p8647
:idea: Please read the FAQ and How to Request Help.
lebaguette
Posts: 16
Joined: 26 Nov 2013, 11:02

Re: Can't play file with XBMC after AMC process...

Post by lebaguette »

Thanks!

As I am not at all familiar with how this works, could you elaborate a bit on how I should apply

Code: Select all

"exec=chmod 775 '{folder}/' ; chown owner:group '{folder}/'"
OR

Code: Select all

"exec=chmod 775 '{file}' ; chown owner:group '{file}'"
Should I add it to the script command line? Or to the script itself? If yes, then how so?

Script command line for reference

Code: Select all

filebot.launcher.exe -script fn:amc --output "D:" --log-file amc.log --action copy --conflict override -non-strict --def xbmc=192.168.0.16 --def clean=y --def music=n subtitles=en artwork=y --def excludeList=Downloads\amc-input.txt "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Can't play file with XBMC after AMC process...

Post by rednoah »

It's a normal AMC script parameter:

Code: Select all

--def "exec=chmod 775 '{folder}/' ; chown owner:group '{folder}/'"
If you don't know what chmod you really need to look that up first since it's one of the most basic Linux commands. Same for chown. Obviously owner:group needs to be changed to your samba/plex user and group.

chmod ... change permissions
chown ... change owner

If the Plex/Samba user is also the owner of the files, and permissions are set correctly, then it can't not work.
:idea: Please read the FAQ and How to Request Help.
lebaguette
Posts: 16
Joined: 26 Nov 2013, 11:02

Re: Can't play file with XBMC after AMC process...

Post by lebaguette »

Thanks! I'm off to work, will try this tonight.
lebaguette
Posts: 16
Joined: 26 Nov 2013, 11:02

Re: Can't play file with XBMC after AMC process...

Post by lebaguette »

1.
I think I got a basic hang of chmod and chown, but I can't seem to figure out the username and group for the Samba server running on the Raspberry Pi. I'm guessing it's a default value, and the only thing I can think of is pi and workgroup respectively ("pi" because that's the username I use when logging in through WinSCP, and "workgroup" because of what it says in smb.conf). But "workgroup" doesn't feel right and I can't find any info on it. Any ideas?

smb.conf for reference

Code: Select all

[global]
	preferred master = no
	local master = no
	domain master = no
	client lanman auth = yes
	lanman auth = yes
	socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
	lock directory = /home/pi/.smb/
	name resolve order = bcast host
	workgroup = WORKGROUP
2.
As for chmod 775, is there anything speaking against using chmod 777? Granting maximum permissions to any potential user feels like it has the potential to save me a lot of grief further down the road.

As always, your time and effort is much appreciated.
lebaguette
Posts: 16
Joined: 26 Nov 2013, 11:02

Re: Can't play file with XBMC after AMC process...

Post by lebaguette »

Just stumbled across this when looking into the file properties of smb.conf

http://postimg.org/image/mumd7i3bp/

Would this indicate that the user:group is actually pi:pi, also with regards to samba?
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Can't play file with XBMC after AMC process...

Post by rednoah »

Just try first and see what you have to do to make things accessible when you do chmod/chown manually. If you're lucky it'll work right away after chmod and you may not need chown.

Also you can probably use chown things for the pi user, and just leave the group whatever it may be => group is optional => http://en.wikipedia.org/wiki/Chown
:idea: Please read the FAQ and How to Request Help.
User avatar
bonelifer
Power User
Posts: 81
Joined: 23 Mar 2013, 18:27

Re: Can't play file with XBMC after AMC process...

Post by bonelifer »

Assuming I read the first post right. If you are using SMB, you could also do something like this:

Code: Select all

[Storage]
	comment = Storage
	path = /media/Storage
	public = yes
	writable = yes
	create mask = 0777
	directory mask = 0777
	force user = william
	force group = william
Forcing the file/folder permissions to 0777 and the user/group(must be real user/group on the host system).
lebaguette
Posts: 16
Joined: 26 Nov 2013, 11:02

Re: Can't play file with XBMC after AMC process...

Post by lebaguette »

Thank you both for your replies.

I have never worked with Linux before. How do I go about "manually" executing a linux command like chmod in a Windows environment? I guess I need a shell/terminal? Is this a viable option? http://www.cygwin.com/

bonelifer: If I understand you correctly the parameters under "Storage" forces 777 and a specific user+group as owner on all files added to the samba share? Does it work recursively?
lebaguette
Posts: 16
Joined: 26 Nov 2013, 11:02

Re: Can't play file with XBMC after AMC process...

Post by lebaguette »

I experimented with CYGWIN and chmod and somehow got the share playing on the Pi again. I think it was as simple as "chmod 775 -R ." after I cd:ed into the TV-shows directory (does that seem reasonable?), but since I was struggling with it I'm unsure if it was that particular command or some other variant of it. Strangely enough, when I ls -l it it still shows very limited permissions. Any ideas?

As all the previously processed files are now working, I will wait a bit and see what happens to the ones that are processed by the AMC-script from this point forward. Would you mind explaining a bit which of the two suggestions would be best, the one involving the smb.conf or the one that runs chmod in the script? Or both?
lebaguette
Posts: 16
Joined: 26 Nov 2013, 11:02

Re: Can't play file with XBMC after AMC process...

Post by lebaguette »

After a lot of experimenting, I finally fixed it.

Executing

Code: Select all

cd 'd:/tv shows/'
and then

Code: Select all

"chmod 775 -R ."
through the CYGWIN terminal window made any files previously processed by AMC playable on the Pi.

Adding

Code: Select all

--def "exec=chmod 775 -R '/cygdrive/d/tv shows'"
to the script command line fixed the issue for any coming files.

Thanks for your help!
lebaguette
Posts: 16
Joined: 26 Nov 2013, 11:02

Re: Can't play file with XBMC after AMC process...

Post by lebaguette »

Coming back to this, I realized that I need to do a similar operation for my movies library as well. I tried just pasting in another

Code: Select all

--def "exec=chmod 775 -R '/cygdrive/d/tv shows'"


into the command line of the script (but switching the path to the movies directory instead), but ended up with a log looking something like this:

Code: Select all

Parameter: xbmc = 192.168.0.16
Parameter: clean = y
Parameter: music = n
Parameter: subtitles = en
Parameter: artwork = y
Parameter: excludeList = Downloads\amc-input.txt
Parameter: exec = chmod 775 -R '/cygdrive/d/tv shows'
Parameter: exec = chmod 775 -R '/cygdrive/d/movies'
Parameter: ut_dir = D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS
Parameter: ut_file = Proof\her.2013.720p.bluray.x264-sparks.proof.jpg
Parameter: ut_kind = multi
Parameter: ut_title = Her.2013.720p.BluRay.x264-SPARKS
Parameter: ut_label = 
Parameter: ut_state = 20
Read archive [her.2013.720p.bluray.x264-sparks.rar] and extract to [D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks\Her.2013.720p.BluRay.x264-SPARKS]
Extracting files [D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks\Her.2013.720p.BluRay.x264-SPARKS\Her.2013.720p.BluRay.x264-SPARKS.mkv]
Read archive [her.2013.720p.bluray.x264-sparks.subs.rar] and extract to [D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\Subs\her.2013.720p.bluray.x264-sparks.subs\Subs]
Extracting files [D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\Subs\her.2013.720p.bluray.x264-sparks.subs\Subs\her.2013.720p.bluray.x264-sparks.rar, D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\Subs\her.2013.720p.bluray.x264-sparks.subs\Subs\Her.2013.720p.BluRay.x264-SPARKS.idx]
Read archive [her.2013.720p.bluray.x264-sparks.rar] and extract to [D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\Subs\her.2013.720p.bluray.x264-sparks.subs\Subs\her.2013.720p.bluray.x264-sparks\Subs]
Input: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks\Her.2013.720p.BluRay.x264-SPARKS\Her.2013.720p.BluRay.x264-SPARKS.mkv
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.nfo
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r00
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r01
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r02
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r03
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r04
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r05
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r06
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r07
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r08
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r09
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r10
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r11
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r12
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r13
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r14
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r15
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r16
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r17
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r18
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r19
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r20
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r21
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r22
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r23
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r24
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r25
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r26
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r27
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r28
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r29
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r30
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r31
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r32
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r33
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r34
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r35
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r36
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r37
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r38
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r39
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r40
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r41
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r42
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r43
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r44
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r45
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r46
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r47
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r48
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r49
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r50
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r51
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r52
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r53
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r54
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r55
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r56
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.r57
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks.sfv
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\Proof\her.2013.720p.bluray.x264-sparks.proof.jpg
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\Sample\her.2013.720p.bluray.x264-sparks.sample.mkv
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\Subs\her.2013.720p.bluray.x264-sparks.subs\Subs\Her.2013.720p.BluRay.x264-SPARKS.idx
Exclude: D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\Subs\her.2013.720p.bluray.x264-sparks.subs.sfv
Her.2013.720p.BluRay.x264-SPARKS.mkv [series: null, movie: Her (2013)]
Group: [tvs:null, mov:her 2013, anime:null] => [Her.2013.720p.BluRay.x264-SPARKS.mkv]
Get [English] subtitles for 1 files
Looking up subtitles by filehash via OpenSubtitles
Matched [Her.2013.720p.BluRay.x264-SPARKS.mkv] to [Her.2013.720p.BluRay.x264-SPARKS-HI] via filehash
Fetching [Her.2013.720p.BluRay.x264-SPARKS-HI.srt]
Export [Her.2013.720p.BluRay.x264-SPARKS-HI.srt] as: SubRip / UTF-8
Writing [Her.2013.720p.BluRay.x264-SPARKS-HI.srt] to [Her.2013.720p.BluRay.x264-SPARKS.eng.srt]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks\Her.2013.720p.BluRay.x264-SPARKS\Her.2013.720p.BluRay.x264-SPARKS.mkv]
[COPY] Rename [D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks\Her.2013.720p.BluRay.x264-SPARKS\Her.2013.720p.BluRay.x264-SPARKS.mkv] to [D:\Movies\Her (2013)\Her (2013).mkv]
[COPY] Rename [D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks\Her.2013.720p.BluRay.x264-SPARKS\Her.2013.720p.BluRay.x264-SPARKS.eng.srt] to [D:\Movies\Her (2013)\Her (2013).eng.srt]
Processed 2 files
Fetching movie artwork for [Her (2013)] to [D:\Movies\Her (2013)]
Fetching D:\Movies\Her (2013)\poster.jpg => {category: posters, width: 1400, height: 2100, language: en, url: http://image.tmdb.org/t/p/original/8f8Hisd36IN8jN1OpKxsxRu8i57.jpg}
Fetching D:\Movies\Her (2013)\fanart.jpg => {category: backdrops, width: 1920, height: 1080, language: null, url: http://image.tmdb.org/t/p/original/jVZ4maQNOaiPVtVK7QvoBImIOU2.jpg}
Fanart not found: D:\Movies\Her (2013)\clearart.png / movieart
Fanart not found: D:\Movies\Her (2013)\logo.png / movielogo
Fanart not found: D:\Movies\Her (2013)\disc.png / moviedisc
Fanart not found: D:\Movies\Her (2013)\disc.png / moviedisc
Fanart not found: D:\Movies\Her (2013)\disc.png / moviedisc
Execute: chmod 775 -R '/cygdrive/d/movies'
Execute: chmod 775 -R '/cygdrive/d/movies'
Notify XBMC: 192.168.0.16
Clean temporary extracted files
Delete D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks\Her.2013.720p.BluRay.x264-SPARKS\Her.2013.720p.BluRay.x264-SPARKS.eng.srt
Delete D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks\Her.2013.720p.BluRay.x264-SPARKS\Her.2013.720p.BluRay.x264-SPARKS.mkv
Delete D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\Subs\her.2013.720p.bluray.x264-sparks.subs\Subs\Her.2013.720p.BluRay.x264-SPARKS.idx
Delete D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\Subs\her.2013.720p.bluray.x264-sparks.subs\Subs\her.2013.720p.bluray.x264-sparks.rar
Delete D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\Subs\her.2013.720p.bluray.x264-sparks.subs
Delete D:\Downloads\Complete\Her.2013.720p.BluRay.x264-SPARKS\her.2013.720p.bluray.x264-sparks
Done ヾ(@⌒ー⌒@)ノ
What baffles me the most is the "execute"-lines towards the end. Why 2 chmods of the movies-library and none of the tv-shows-library?!

All I need is an easy way to execute the chmod twice - once for each directory. Could you please help me with a proper syntax for it?

Thanks!
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Can't play file with XBMC after AMC process...

Post by rednoah »

Can't pass the same option multiple times... be smarter with your exec command

Pass multiple arguments?

Code: Select all

chmod 775 -R '/movies' '/series' '/other' ...
&& two commands?

Code: Select all

chmod 775 -R '/movies' && chmod 775 -R '/series' ...
:idea: Please read the FAQ and How to Request Help.
lebaguette
Posts: 16
Joined: 26 Nov 2013, 11:02

Re: Can't play file with XBMC after AMC process...

Post by lebaguette »

I used the second suggestion (the &&) and it now appears to be working OK.

Thanks!
Post Reply